ASCII code is what, the ASCII comparison table

Source: Internet
Author: User
Tags character set comparison comparison table control characters

ASCII (American Standard Code for Information Interchange, American Information Interchange standard codes) is a computer coding system based on the Latin alphabet. It is mainly used to display modern English and other Western European languages. It is the most common single byte coding system today, and is equivalent to international standard ISO/IEC 646. The following is the ASCII code table, I hope to help you Oh!

The most widely used character set and its code in the current computer is the ASCII code (American Standard Code for Information Interchange, American Standard Information Interchange Code) developed by the U.S. National Standards Office (ANSI). It has been set by the International Organization for Standardization (ISO) as a standard, known as ISO 646. Applicable to all Latin letters, ASCII code has 7-bit and 8-bit code in two forms.

Because a 1-bit binary number can represent (21=) 2 states: 0, 1, and a 2-bit binary number can represent (22) = 4 states: 00, 01, 10, 11; In turn, the 7-bit binary number can represent (27=) 128 states, each of which is uniquely compiled into a 7-bit binary code, Corresponds to a character (or control code) that can be arranged into a decimal ordinal 0~127. Therefore, the 7-bit ASCII code is encoded with a seven-bit binary number and can represent 128 characters.

Number No. 0 to 32nd and number 127th (a total of 34) are control characters or communication-specific characters, such as the control character: LF (line), CR (Enter), FF (Change page), DEL (delete), BEL (ringing), etc. special characters: SOH (text head), EOT (text tail), ACK (confirm), etc.

Number 33rd to 126th (a total of 94) is a character, of which 48th to 57th is 0~9 10 Arabic numerals, 65~90 number 26 uppercase English letters, 97~122 number 26 lowercase English letters, the rest are some punctuation marks, operation symbols and so on.

Note: In the computer's storage unit, an ASCII value occupies one byte (8 bits), and its highest bit (B7) is used as a parity bit. The so-called parity, refers to the code in the process of transmission to verify that there are errors in a method, generally divided into odd and even check two. Parity rule: The correct code 1 of the number of bytes must be odd, if not odd, in the highest bit B7 Tim 1; parity stipulates: The correct code the number of 1 in a byte must be even, if not even, add 1 to the highest bit B7.

Report:

  ASCII table

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.