Currently, the most widely used character set and Its Encoding in computers are American Standard Code for Information Interchange (American Standard Code for Information Interchange) developed by the National Bureau of Standards (ANSI ), it has been set as an international standard by the International Organization for Standardization (ISO), known as the ISO 646 standard. Applies to all Latin letters,
ASCII code can be in the form of a 7-digit code or an 8-digit code.
Because the number of one-bit binary data can be expressed as (21 =) two states: 0 and 1, while the number of two-bit binary data can be expressed as (22) = four states: 00, 01, 10, 11, and so on. A 7-bit binary number can represent (27 =) 128 States. Each State is uniquely encoded as a 7-bit binary code, corresponds to one character (or control code), which can be arranged into a decimal number ranging from 0 ~ 127. Therefore, the 7-bit ASCII code is encoded using the seven-bit binary number, which can represent 128 characters.
0th ~ 32 and 127th (34 in total) are control characters or communication special characters, such as control characters: LF (line feed), CR (Press ENTER), FF (page feed), DEL (delete) BS, BEL, and other special characters for communications: SOH, EOT, and ACK;
33rd ~ 126 (94 in total) is a character, of which 48th ~ Number 57 is 0 ~ 9. 10 Arabic numerals; 65 ~ The 90 is 26 uppercase English letters, 97 ~ There are 26 lower-case English letters, and the remaining are some punctuation marks and operator numbers.
Note: In a computer's storage unit, an ASCII code value occupies one byte (eight binary digits), and its highest bit (b7) is used as the parity bit. The so-called parity check refers to a method used to check whether an error occurs during code transfer. It is generally divided into two types: Odd checksum and even verification. Odd check rules: correct code must contain an odd number of 1 bytes. If the number is not an odd number, 1 is added to the highest bit b7. Even check rules: correct code: the number of 1 in a byte must be an even number. If the number is not an even number, 1 is added to the highest bit of b7.
Top 128 |
Post-Extension |
0 00 € NUL 1 01 € SOH 2 02 € STX 3 03 € ETX 4 04 € EOT 5 05 € ENQ 6 06 € ACK 7 07 € BEL 8 08 € BS 9 09 € HT 10 0A € LF 11 0B € VT 12 0C € FF 13 0D € CR 14 0E € SO 15 0F € SI 16 10 € lupus 17 11 € CS1 18 12 € DC2 19 13 € DC3 20 14 € DC4 21 15 € NAK 22 16 € SYN 23 17 € ETB 24 18 € CAN 25 19 € EM 26 1A € SIB 27 1B € ESC 28 1C € FS 29 1D € GS 30 1E RS 31 1F € US 32 20 (space) 33 21! 34 22" 35 23 # 36 24 $ 37 25% 38 26 & 39 27' 40 28 ( 41 29) 42 2A * 43 2B + 44 2C, 45 2D- 46 2E. 47 2F/ 48 30 0 49 31 1 50 32 2 51 33 3 52 34 4 53 35 5 54 36 6 55 37 7 56 38 8 57 39 9 58 3A: 59 3B; 60 3C < 61 3D = 62 3E> 63 3F? 64 40 @ 65 41 66 42 B 67 43 C 68 44 D 69 45 E 70 46 F 71 47G 72 48 H 73 49 I 74 4A J 75 4B K 76 4C L 77 4D M 78 4E N 79 4F O 80 50 P 81 51 Q 82 52 R 83 53 S 84 54 T 85 55 U 86 56 V 87 57 W 88 58 X 89 59 Y 90 5A Z 91 5B [ 92 5C/ 93 5D] 94 5E ^ 95 5F _ 96 60' 97 61 98 62 B 99 63 c 100 64 d 101 65 e 102 f 103 67g 104 68 h 105 69 I 106 6A j 107 6B k 108 6C l 109 6D m 110 6E n 111 6F o 112 70 p 113 72 q 114 72 r 115 73 s 116 74 TB 117 75 u 118 76 V 119 77 W 120 78 X 121 79 y 122 7A Z 123 7b { 124 7C | 125 7d} 126 7E ~ 127 7f 128 80 € |
129 81? 130*82? 131*83? 132*84? 133*85? 134*86? 135*87? 136*88? 137*89? 138 * 8A? 139 * 8B? 140 * 8C? 141 8d? 142 8e? 143 8f? 144 90? 145 91 146 92 147*93 148*94 149*95 150*96 151*97 152*98? 153*99? 154 * 9A? 155 * 9B? 156 * 9C? 157 9d? 158 9e? 159 * 9f? 160 A0 161 A1? 162 A2? 163 A3? 164 A4? 165 A5? 166 A6? 167 A7? 168 A8? 169 A9? 170 AA? 171 AB? 172 AC? 173 ad? 174 AE? 175 af? 176 B0? 177 B1? 178 B2? 179 B3? 180 B4? 181 B5? 182 B6? 183 B7? 184 B8? 185 B9? 186 Ba? 187 BB? 188 BC? 189 BD? 190 be? 191 BF? 192 C0? 193 C1? 194 C2? 195 C3? 196 C4? 197 C5? 198 C6? 199 C7? 200 C8? 201 C9? 202 CA? 203 CB? 204 CC? 205 CD? 206 CE? 207 CF? 208 D0? 209 D1? 210 D2? 211 D3? 212 D4? 213 D5? 214 D6? 215 D7? 216 D8? 217 D9? 218 DA? 219 DB? 220 DC? 221 DD? 222 DE? 223 DF? 224 E0? 225 E1? 226 E2? 227 E3? 228 E4? 229 E5? 230 E6? 231 E7? 232 E8? 233 E9? 234 EA? 235 EB? 236 EC? 237 ED? 238 EE? 239 EF? 240 F0? 241 F1? 242 F2? 243 F3? 244 F4? 245 F5? 246 F6? 247 F7? 248 F8? 249 F9? 250 FA? 251 FB? 252 FC? 253 FD? 254 FE? 255 FF |