Common ASCII code Comparison table

Source: Internet
Author: User
Tags character set chr comparison comparison table control characters
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.
In order to facilitate the query, the following ASCII code table: common ASCII code comparison
128th to No. 255 is an extended character (not commonly used), if needed please download: full 8-bit ASCII character chart

ASCII keyboard ASCII keyboard ASCII code keyboard ASCII key
ESC 33! 34 "
$% &
39 ' 40 (41) 42 *
43 + 44 ' 45-46.
47/48 0 49 1 50 2
51 3 52 4 53 5 54 6
55 7 56 8 57 9 58:
59; < = + >
63? A B
C, D, E F
G-H-I-J
K-L-M-N
O P Bayi Q-R
S. T-U V
W-X-Y-Z
91 [92 \ 93] 94 ^
"A" b
C-D-E 102 F
G-H I-j
K 108 L 109 m n
o 112 p 113 Q 114 r
116 T 117 u 118 v
119 W x 121 y 122 Z
123 {124 | 125} 126 ~




CHR ("32") CHR ("33") ! Chr ("34")  "Chr (" 35 ") # Chr (" 36 ") $ Chr (" 37 ") %
CHR ("37") % Chr ("38") & Chr ("39")  ' Chr ("40")  (Chr ("41") ) Chr ("42") *
CHR ("42") * Chr ("43") + Chr ("44") , Chr ("45") -Chr ("46") . CHR ("47") /
CHR ("47") /Chr ("48") 0 Chr ("49") 1 Chr ("50") 2 Chr ("51") 3 Chr ("52") 4
Chr ("52") 4 Chr ("53") 5 Chr ("54") 6 Chr ("55") 7 Chr ("56") 8 Chr ("57") 9
CHR ("57") 9 Chr ("58") : Chr ("59") ; CHR ("60") < Chr ("61") = Chr ("62") >
Chr ("62") > Chr ("63") ? CHR ("64") @ Chr ("65") a Chr ("66") b Chr ("67") c
CHR ("67") c Chr ("68") d Chr ("69") e Chr ("70") f Chr ("71") g Chr ("72") h
CHR ("72") h Chr ("73") i Chr ("74") j Chr ("75") k Chr ("76") l Chr ("77") m
CHR ("77") m Chr ("78") n Chr ("79") o Chr ("80") p Chr ("81") q Chr ("82") r
CHR ("82") r Chr ("83") s Chr ("84") t Chr ("85") u CHR ("86") v Chr ("87") w
CHR ("87") w CHR ("88") x Chr ("89") y Chr ("90") z Chr ("91") [Chr ("92") \
CHR ("92") \ CHR ("93") ] Chr ("94") ^ CHR ("95") _ Chr ("96")  ' Chr ("97") a
CHR ("97") a CHR ("98") b CHR ("99") c Chr ("100") d Chr ("101") e Chr ("102") f
CHR ("102") f CHR ("103") g Chr ("104") h Chr ("105") i Chr ("106") j Chr ("107") k
CHR ("107") k Chr ("108") l Chr ("109") m C

[1] [2] Next page



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.