Standard ASCII Character Set | |||||||
---|---|---|---|---|---|---|---|
DEC | HEX | OCT | GLYPH | DESC | KEY | HTML 2.0+ | HTML 3.2+ |
0 | 0x0 | 00 | (nul) | null | Ctrl-@ | � | |
1 | 0x1 | 01 | (soh) | start-of-heading | Ctrl-A |  | |
2 | 0x2 | 02 | (stx) | start-of-text | Ctrl-B |  | |
3 | 0x3 | 03 | (etx) | end-of-text | Ctrl-C |  | |
4 | 0x4 | 04 | (eot) | end-of-transmit | Ctrl-D |  | |
5 | 0x5 | 05 | (enq) | enquiry | Ctrl-E |  | |
6 | 0x6 | 06 | (ack) | acknowledge | Ctrl-F |  | |
7 | 0x7 | 07 | (bel) | bell | Ctrl-G |  | |
8 | 0x8 | 010 | (bs) | back-space | Ctrl-H |  | |
9 | 0x9 | 011 | (ht) | horizontal-tab | Ctrl-I | 	 | |
10 | 0xa | 012 | (lf) or (nl) | line-feed or new-line |
Ctrl-J or Ctrl-Enter | | |
11 | 0xb | 013 | (vt) | vertical-tab | Ctrl-K |  | |
12 | 0xc | 014 | (np) | form-feed | Ctrl-L |  | |
13 | 0xd | 015 | (cr) | carriage-return | Ctrl-M | | |
14 | 0xe | 016 | (so) | shift-out | Ctrl-N |  | |
15 | 0xf | 017 | (si) | shift-in | Ctrl-O |  | |
16 | 0x10 | 020 | (dle) | data-link-escape | Ctrl-P |  | |
17 | 0x11 | 021 | (dc1) | device-control-1 | Ctrl-Q |  | |
18 | 0x12 | 022 | (dc2) | device-control-2 | Ctrl-R |  | |
19 | 0x13 | 023 | (dc3) | device-control-3 | Ctrl-S |  | |
20 | 0x14 | 024 | (dc4) | device-control-4 | Ctrl-T |  | |
21 | 0x15 | 025 | (nak) | negative-ack | Ctrl-U |  | |
22 | 0x16 | 026 | (syn) | synchronous-idle | Ctrl-V |  | |
23 | 0x17 | 027 | (etb) | end-trans-block | Ctrl-W |  | |
24 | 0x18 | 030 | (can) | cancel | Ctrl-X |  | |
25 | 0x19 | 031 | (em) | end-medium | Ctrl-Y |  | |
26 | 0x1a | 032 | (sub) or (eof) | substitute or end-of-file |
Ctrl-Z |  | |
27 | 0x1b | 033 | (esc) | escape | Ctrl-[ |  | |
28 | 0x1c | 034 | (fs) | file-separator | Ctrl-\ |  | |
29 | 0x1d | 035 | (gs) | group-separator | Ctrl-] |  | |
30 | 0x1e | 036 | (rs) | record-separator | Ctrl-^ |  | |
31 | 0x1f | 037 | (us) | unit-separator | Ctrl-_ |  | |
32 | 0x20 | 040 | (sp) | blank-space | Spacebar |   | &sp; |
33 | 0x21 | 041 | ! | ! | ! | ! | |
34 | 0x22 | 042 | " | " | " or " |
" | |
35 | 0x23 | 043 | # | # | # | # | |
36 | 0x24 | 044 | $ | $ | $ | $ | |
37 | 0x25 | 045 | % | % | % | % | |
38 | 0x26 | 046 | & | & | & or & |
& | |
39 | 0x27 | 047 | ' | ' | ' | ' | |
40 | 0x28 | 050 | ( | ( | ( | ( | |
41 | 0x29 | 051 | ) | ) | ) | ) | |
42 | 0x2a | 052 | * | * | * | * | |
43 | 0x2b | 053 | + | + | + | + | |
44 | 0x2c | 054 | , | , | , | , | |
45 | 0x2d | 055 | - | - | - | ‐ or − | |
46 | 0x2e | 056 | . | . | . | . | |
47 | 0x2f | 057 | / | / | / | / | |
48 | 0x30 | 060 | 0 | 0 | 0 | ||
49 | 0x31 | 061 | 1 | 1 | 1 | ||
50 | 0x32 | 062 | 2 | 2 | 2 | ||
51 | 0x33 | 063 | 3 | 3 | 3 | ||
52 | 0x34 | 064 | 4 | 4 | 4 | ||
53 | 0x35 | 065 | 5 | 5 | 5 | ||
54 | 0x36 | 066 | 6 | 6 | 6 | ||
55 | 0x37 | 067 | 7 | 7 | 7 | ||
56 | 0x38 | 070 | 8 | 8 | 8 | ||
57 | 0x39 | 071 | 9 | 9 | 9 | ||
58 | 0x3a | 072 | : | : | : | : | |
59 | 0x3b | 073 | ; | ; | ; | ; | |
60 | 0x3c | 074 | < | < | < or < |
< | |
61 | 0x3d | 075 | = | = | = | = | |
62 | 0x3e | 076 | > | > | > or > |
> | |
63 | 0x3f | 077 | ? | ? | ? | ? | |
64 | 0x40 | 0100 | @ | @ | @ | @ | |
65 | 0x41 | 0101 | A | A | A | ||
66 | 0x42 | 0102 | B | B | B | ||
67 | 0x43 | 0103 | C | C | C | ||
68 | 0x44 | 0104 | D | D | D | ||
69 | 0x45 | 0105 | E | E | E | ||
70 | 0x46 | 0106 | F | F | F | ||
71 | 0x47 | 0107 | G | G | G | ||
72 | 0x48 | 0110 | H | H | H | ||
73 | 0x49 | 0111 | I | I | I | ||
74 | 0x4a | 0112 | J | J | J | ||
75 | 0x4b | 0113 | K | K | K | ||
76 | 0x4c | 0114 | L | L | L | ||
77 | 0x4d | 0115 | M | M | M | ||
78 | 0x4e | 0116 | N | N | N | ||
79 | 0x4f | 0117 | O | O | O | ||
80 | 0x50 | 0120 | P | P | P | ||
81 | 0x51 | 0121 | Q | Q | Q | ||
82 | 0x52 | 0122 | R | R | R | ||
83 | 0x53 | 0123 | S | S | S | ||
84 | 0x54 | 0124 | T | T | T | ||
85 | 0x55 | 0125 | U | U | U | ||
86 | 0x56 | 0126 | V | V | V | ||
87 | 0x57 | 0127 | W | W | W | ||
88 | 0x58 | 0130 | X | X | X | ||
89 | 0x59 | 0131 | Y | Y | Y | ||
90 | 0x5a | 0132 | Z | Z | Z | ||
91 | 0x5b | 0133 | [ | [ | [ | [ | |
92 | 0x5c | 0134 | \ | \ | \ | \ | |
93 | 0x5d | 0135 | ] | ] | ] | ] | |
94 | 0x5e | 0136 | ^ | ^ | ^ | ˆ | |
95 | 0x5f | 0137 | _ | _ | _ | _ or ― | |
96 | 0x60 | 0140 | ` | ` | ` | ` | |
97 | 0x61 | 0141 | a | a | a | ||
98 | 0x62 | 0142 | b | b | b | ||
99 | 0x63 | 0143 | c | c | c | ||
100 | 0x64 | 0144 | d | d | d | ||
101 | 0x65 | 0145 | e | e | e | ||
102 | 0x66 | 0146 | f | f | f | ||
103 | 0x67 | 0147 | g | g | g | ||
104 | 0x68 | 0150 | h | h | h | ||
105 | 0x69 | 0151 | i | i | i | ||
106 | 0x6a | 0152 | j | j | j | ||
107 | 0x6b | 0153 | k | k | k | ||
108 | 0x6c | 0154 | l | l | l | ||
109 | 0x6d | 0155 | m | m | m | ||
110 | 0x6e | 0156 | n | n | n | ||
111 | 0x6f | 0157 | o | o | o | ||
112 | 0x70 | 0160 | p | p | p | ||
113 | 0x71 | 0161 | q | q | q | ||
114 | 0x72 | 0162 | r | r | r | ||
115 | 0x73 | 0163 | s | s | s | ||
116 | 0x74 | 0164 | t | t | t | ||
117 | 0x75 | 0165 | u | u | u | ||
118 | 0x76 | 0166 | v | v | v | ||
119 | 0x77 | 0167 | w | w | w | ||
120 | 0x78 | 0170 | x | x | x | ||
121 | 0x79 | 0171 | y | y | y | ||
122 | 0x7a | 0172 | z | z | z | ||
123 | 0x7b | 0173 | { | { | { | { | |
124 | 0x7c | 0174 | | | | | | | | | |
125 | 0x7d | 0175 | } | } | } | } | |
126 | 0x7e | 0176 | ~ | ~ | ~ | ˜ | |
127 | 0x7f | 0177 | (del) | delete | Ctrl-? |  |
Characters Added By ISO Latin-1 (ISO-8859-1) | |||||||
---|---|---|---|---|---|---|---|
DEC | HEX | OCT | GLYPH | DESC | KEY | HTML 2.0+ | HTML 3.2+ |
128 | 0x80 | 0200 | | | € | ||
129 | 0x81 | 0201 | | |  | ||
130 | 0x82 | 0202 | | | ‚ | ‚ | |
131 | 0x83 | 0203 | | | ƒ | ƒ | |
132 | 0x84 | 0204 | | | „ | &dbquo; | |
133 | 0x85 | 0205 | … | … | |||
134 | 0x86 | 0206 | | | † | † | |
135 | 0x87 | 0207 | | | ‡ | ‡ | |
136 | 0x88 | 0210 | | | ˆ | ˆ | |
137 | 0x89 | 0211 | | | ‰ | ‰ | |
138 | 0x8a | 0212 | | | Š | Š | |
139 | 0x8b | 0213 | | | ‹ | ‹ | |
140 | 0x8c | 0214 | | | Œ | Œ | |
141 | 0x8d | 0215 | | |  | ||
142 | 0x8e | 0216 | | | Ž | ||
143 | 0x8f | 0217 | | |  | ||
144 | 0x90 | 0220 | | |  | ||
145 | 0x91 | 0221 | | | ‘ | ‘ or ’ | |
146 | 0x92 | 0222 | | | ’ | ’ | |
147 | 0x93 | 0223 | | | “ | “ or ” | |
148 | 0x94 | 0224 | | | ” | ” | |
149 | 0x95 | 0225 | | | • | • | |
150 | 0x96 | 0226 | | | – | – or &endash; | |
151 | 0x97 | 0227 | | | — | — or &emdash; | |
152 | 0x98 | 0230 | | | ˜ | ˜ | |
153 | 0x99 | 0231 | | | ™ | ™ | |
154 | 0x9a | 0232 | | | š | š | |
155 | 0x9b | 0233 | | | › | › | |
156 | 0x9c | 0234 | | | œ | œ | |
157 | 0x9d | 0235 | | |  | ||
158 | 0x9e | 0236 | | | ž | ||
159 | 0x9f | 0237 | | | Ÿ | Ÿ | |
160 | 0xa0 | 0240 |   | | |||
161 | 0xa1 | 0241 | ¡ | ¡ | ¡ | ¡ | |
162 | 0xa2 | 0242 | ¢ | ¢ | ¢ | ¢ | |
163 | 0xa3 | 0243 | £ | £ | £ | £ | |
164 | 0xa4 | 0244 | ¤ | ¤ | ¤ | ¤ | |
165 | 0xa5 | 0245 | ¥ | ¥ | ¥ | ¥ | |
166 | 0xa6 | 0246 | ¦ | ¦ | ¦ | ¦ | |
167 | 0xa7 | 0247 | § | § | § | § | |
168 | 0xa8 | 0250 | ¨ | ¨ | ¨ | ¨ | |
169 | 0xa9 | 0251 | © | © | © | © | |
170 | 0xaa | 0252 | ª | ª | ª | ª | |
171 | 0xab | 0253 | « | « | « | « | |
172 | 0xac | 0254 | ¬ | ¬ | ¬ | ¬ | |
173 | 0xad | 0255 | | | ­ | ­ | |
174 | 0xae | 0256 | ® | ® | ® | ® | |
175 | 0xaf | 0257 | ¯ | ¯ | ¯ | ¯ | |
176 | 0xb0 | 0260 | ° | ° | ° | ° | |
177 | 0xb1 | 0261 | ± | ± | ± | ± | |
178 | 0xb2 | 0262 | ² | ² | ² | ² | |
179 | 0xb3 | 0263 | ³ | ³ | ³ | ³ | |
180 | 0xb4 | 0264 | ´ | ´ | ´ | ´ | |
181 | 0xb5 | 0265 | µ | µ | µ | µ | |
182 | 0xb6 | 0266 | ¶ | ¶ | ¶ | ¶ | |
183 | 0xb7 | 0267 | · | · | · | · | |
184 | 0xb8 | 0270 | ¸ | ¸ | ¸ | ¸ | |
185 | 0xb9 | 0271 | ¹ | ¹ | ¹ | ¹ | |
186 | 0xba | 0272 | º | º | º | º | |
187 | 0xbb | 0273 | » | » | » | » | |
188 | 0xbc | 0274 | ¼ | ¼ | ¼ | ¼ | |
189 | 0xbd | 0275 | ½ | ½ | ½ | ½ | |
190 | 0xbe | 0276 | ¾ | ¾ | ¾ | ¾ | |
191 | 0xbf | 0277 | ¿ | ¿ | ¿ | ¿ | |
192 | 0xc0 | 0300 | À | À | À | À | |
193 | 0xc1 | 0301 | Á | Á | Á | Á | |
194 | 0xc2 | 0302 | Â | Â | Â | Â | |
195 | 0xc3 | 0303 | Ã | Ã | Ã | Ã | |
196 | 0xc4 | 0304 | Ä | Ä | Ä | Ä | |
197 | 0xc5 | 0305 | Å | Å | Å | Å | |
198 | 0xc6 | 0306 | Æ | Æ | Æ | Æ | |
199 | 0xc7 | 0307 | Ç | Ç | Ç | Ç | |
200 | 0xc8 | 0310 | È | È | È | È | |
201 | 0xc9 | 0311 | É | É | É | É | |
202 | 0xca | 0312 | Ê | Ê | Ê | Ê | |
203 | 0xcb | 0313 | Ë | Ë | Ë | Ë | |
204 | 0xcc | 0314 | Ì | Ì | Ì | Ì | |
205 | 0xcd | 0315 | Í | Í | Í | Í | |
206 | 0xce | 0316 | Î | Î | Î | Î | |
207 | 0xcf | 0317 | Ï | Ï | Ï | Ï | |
208 | 0xd0 | 0320 | Ð | Ð | Ð | Ð | |
209 | 0xd1 | 0321 | Ñ | Ñ | Ñ | Ñ | |
210 | 0xd2 | 0322 | Ò | Ò | Ò | Ò | |
211 | 0xd3 | 0323 | Ó | Ó | Ó | Ó | |
212 | 0xd4 | 0324 | Ô | Ô | Ô | Ô | |
213 | 0xd5 | 0325 | Õ | Õ | Õ | Õ | |
214 | 0xd6 | 0326 | Ö | Ö | Ö | Ö | |
215 | 0xd7 | 0327 | × | × | × | × | |
216 | 0xd8 | 0330 | Ø | Ø | Ø | Ø | |
217 | 0xd9 | 0331 | Ù | Ù | Ù | Ù | |
218 | 0xda | 0332 | Ú | Ú | Ú | Ú | |
219 | 0xdb | 0333 | Û | Û | Û | Û | |
220 | 0xdc | 0334 | Ü | Ü | Ü | Ü | |
221 | 0xdd | 0335 | Ý | Ý | Ý | Ý | |
222 | 0xde | 0336 | Þ | Þ | Þ | Þ | |
223 | 0xdf | 0337 | ß | ß | ß | ß | |
224 | 0xe0 | 0340 | à | à | à | à | |
225 | 0xe1 | 0341 | á | á | á | á | |
226 | 0xe2 | 0342 | â | â | â | â | |
227 | 0xe3 | 0343 | ã | ã | ã | ã | |
228 | 0xe4 | 0344 | ä | ä | ä | ä | |
229 | 0xe5 | 0345 | å | å | å | å | |
230 | 0xe6 | 0346 | æ | æ | æ | æ | |
231 | 0xe7 | 0347 | ç | ç | ç | ç | |
232 | 0xe8 | 0350 | è | è | è | è | |
233 | 0xe9 | 0351 | é | é | é | é | |
234 | 0xea | 0352 | ê | ê | ê | ê | |
235 | 0xeb | 0353 | ë | ë | ë | ë | |
236 | 0xec | 0354 | ì | ì | ì | ì | |
237 | 0xed | 0355 | í | í | í | í | |
238 | 0xee | 0356 | î | î | î | î | |
239 | 0xef | 0357 | ï | ï | ï | ï | |
240 | 0xf0 | 0360 | ð | ð | ð | ð | |
241 | 0xf1 | 0361 | ñ | ñ | ñ | ñ | |
242 | 0xf2 | 0362 | ò | ò | ò | ò | |
243 | 0xf3 | 0363 | ó | ó | ó | ó | |
244 | 0xf4 | 0364 | ô | ô | ô | ô | |
245 | 0xf5 | 0365 | õ | õ | õ | õ | |
246 | 0xf6 | 0366 | ö | ö | ö | ö | |
247 | 0xf7 | 0367 | ÷ | ÷ | ÷ | ÷ | |
248 | 0xf8 | 0370 | ø | ø | ø | ø | |
249 | 0xf9 | 0371 | ù | ù | ù | ù | |
250 | 0xfa | 0372 | ú | ú | ú | ú | |
251 | 0xfb | 0373 | û | û | û | û | |
252 | 0xfc | 0374 | ü | ü | ü | ü | |
253 | 0xfd | 0375 | ý | ý | ý | ý | |
254 | 0xfe | 0376 | þ | þ | þ | þ | |
255 | 0xff | 0377 | ÿ | ÿ | ÿ | ÿ |
MS-DOS uses the IBM PC Extended Character Set (ECS), often referred to as the Extended ASCII character set. The lower 128 values are the same as the ASCII character set, but values 128-255 map into the European characters differently from other character sets, including that used by Windows.
One odd thing about ECS is that codes 1-31 and 128-159, which are assigned to non-printing control functions such as Return and Line feed, are also assigned special graphics for use in contexts where control functions are not needed. That is how you get happy faces and arrows in ECS displays and line-drawing characters as well as European characters.
Windows 3.x (3.0, 3.1, and WFW 3.11) and Windows 9x (95, 98, and ME) use the ANSI character set (for US English, Microsoft code page 1252), which includes 256 characters, numbered 0 to 255. Values 0 to 127 are the same as in the ASCII character set. Values 128 to 255 are similar to the ISO Latin-1 character set, but, naturally, there are extensions and incompatibilities. You can enter any ANSI character into a Windows application. If you see it on the keyboard, just press it. Even if it isn't on your keyboard, you can still enter it using a special Alt-Num key sequence.
Unfortunately, this ANSI character set is incompatible with the ECS character set used by DOS. For example, the British pound symbol is code 163 in ANSI, but code 156 in ECS. Worse still, ANSI does not include many of the ECS symbols, particularly the line drawing characters. If you try to display a DOS document in Windows, Windows attempts to convert the ECS characters to ANSI. Any character that does not convert is replaced by an arbitrary graphic. Therefore a round-trip conversion from DOS to Windows and back will not re-create the original document.
Windows NT (NT 3.5, NT 4.0, 2000, XP, and 2003) uses the 16-bit Unicode character set (for US English, Microsoft code page 437). Unicode covers scripts in use by major living languages, including the Far East, as well as dead languages which are in widespread scholarly use. For backward compatibility, NT also supports ANSI. Unicode support can be added to Windows 9x by installing the Microsoft Layer for Unicode on Windows 9x Systems.