blob: 01c88044d8c1130e175a1b753045142f8592d5e2 [file] [log] [blame]
Thomas Woutersa9773292006-04-21 09:43:23 +00001""" Python Character Mapping Codec cp1026 generated from 'MAPPINGS/VENDORS/MICSFT/EBCDIC/CP1026.TXT' with gencodec.py.
Guido van Rossum0229bf62000-03-10 23:17:24 +00002
3"""#"
4
5import codecs
6
7### Codec APIs
8
9class Codec(codecs.Codec):
10
11 def encode(self,input,errors='strict'):
Guido van Rossum0229bf62000-03-10 23:17:24 +000012 return codecs.charmap_encode(input,errors,encoding_map)
Tim Peters469cdad2002-08-08 20:19:19 +000013
Guido van Rossum0229bf62000-03-10 23:17:24 +000014 def decode(self,input,errors='strict'):
Marc-André Lemburg0f00ba82005-10-21 14:35:35 +000015 return codecs.charmap_decode(input,errors,decoding_table)
Tim Peters536cf992005-12-25 23:18:31 +000016
Thomas Woutersa9773292006-04-21 09:43:23 +000017class IncrementalEncoder(codecs.IncrementalEncoder):
18 def encode(self, input, final=False):
19 return codecs.charmap_encode(input,self.errors,encoding_map)[0]
20
21class IncrementalDecoder(codecs.IncrementalDecoder):
22 def decode(self, input, final=False):
23 return codecs.charmap_decode(input,self.errors,decoding_table)[0]
24
Guido van Rossum0229bf62000-03-10 23:17:24 +000025class StreamWriter(Codec,codecs.StreamWriter):
26 pass
Tim Peters469cdad2002-08-08 20:19:19 +000027
Guido van Rossum0229bf62000-03-10 23:17:24 +000028class StreamReader(Codec,codecs.StreamReader):
29 pass
30
31### encodings module API
32
33def getregentry():
Thomas Woutersa9773292006-04-21 09:43:23 +000034 return codecs.CodecInfo(
35 name='cp1026',
36 encode=Codec().encode,
37 decode=Codec().decode,
38 incrementalencoder=IncrementalEncoder,
39 incrementaldecoder=IncrementalDecoder,
40 streamreader=StreamReader,
41 streamwriter=StreamWriter,
42 )
Guido van Rossum0229bf62000-03-10 23:17:24 +000043
Guido van Rossum0229bf62000-03-10 23:17:24 +000044
Marc-André Lemburg0f00ba82005-10-21 14:35:35 +000045### Decoding Table
46
47decoding_table = (
Tim Peters536cf992005-12-25 23:18:31 +000048 u'\x00' # 0x00 -> NULL
49 u'\x01' # 0x01 -> START OF HEADING
50 u'\x02' # 0x02 -> START OF TEXT
51 u'\x03' # 0x03 -> END OF TEXT
52 u'\x9c' # 0x04 -> CONTROL
53 u'\t' # 0x05 -> HORIZONTAL TABULATION
54 u'\x86' # 0x06 -> CONTROL
55 u'\x7f' # 0x07 -> DELETE
56 u'\x97' # 0x08 -> CONTROL
57 u'\x8d' # 0x09 -> CONTROL
58 u'\x8e' # 0x0A -> CONTROL
59 u'\x0b' # 0x0B -> VERTICAL TABULATION
60 u'\x0c' # 0x0C -> FORM FEED
61 u'\r' # 0x0D -> CARRIAGE RETURN
62 u'\x0e' # 0x0E -> SHIFT OUT
63 u'\x0f' # 0x0F -> SHIFT IN
64 u'\x10' # 0x10 -> DATA LINK ESCAPE
65 u'\x11' # 0x11 -> DEVICE CONTROL ONE
66 u'\x12' # 0x12 -> DEVICE CONTROL TWO
67 u'\x13' # 0x13 -> DEVICE CONTROL THREE
68 u'\x9d' # 0x14 -> CONTROL
69 u'\x85' # 0x15 -> CONTROL
70 u'\x08' # 0x16 -> BACKSPACE
71 u'\x87' # 0x17 -> CONTROL
72 u'\x18' # 0x18 -> CANCEL
73 u'\x19' # 0x19 -> END OF MEDIUM
74 u'\x92' # 0x1A -> CONTROL
75 u'\x8f' # 0x1B -> CONTROL
76 u'\x1c' # 0x1C -> FILE SEPARATOR
77 u'\x1d' # 0x1D -> GROUP SEPARATOR
78 u'\x1e' # 0x1E -> RECORD SEPARATOR
79 u'\x1f' # 0x1F -> UNIT SEPARATOR
80 u'\x80' # 0x20 -> CONTROL
81 u'\x81' # 0x21 -> CONTROL
82 u'\x82' # 0x22 -> CONTROL
83 u'\x83' # 0x23 -> CONTROL
84 u'\x84' # 0x24 -> CONTROL
85 u'\n' # 0x25 -> LINE FEED
86 u'\x17' # 0x26 -> END OF TRANSMISSION BLOCK
87 u'\x1b' # 0x27 -> ESCAPE
88 u'\x88' # 0x28 -> CONTROL
89 u'\x89' # 0x29 -> CONTROL
90 u'\x8a' # 0x2A -> CONTROL
91 u'\x8b' # 0x2B -> CONTROL
92 u'\x8c' # 0x2C -> CONTROL
93 u'\x05' # 0x2D -> ENQUIRY
94 u'\x06' # 0x2E -> ACKNOWLEDGE
95 u'\x07' # 0x2F -> BELL
96 u'\x90' # 0x30 -> CONTROL
97 u'\x91' # 0x31 -> CONTROL
98 u'\x16' # 0x32 -> SYNCHRONOUS IDLE
99 u'\x93' # 0x33 -> CONTROL
100 u'\x94' # 0x34 -> CONTROL
101 u'\x95' # 0x35 -> CONTROL
102 u'\x96' # 0x36 -> CONTROL
103 u'\x04' # 0x37 -> END OF TRANSMISSION
104 u'\x98' # 0x38 -> CONTROL
105 u'\x99' # 0x39 -> CONTROL
106 u'\x9a' # 0x3A -> CONTROL
107 u'\x9b' # 0x3B -> CONTROL
108 u'\x14' # 0x3C -> DEVICE CONTROL FOUR
109 u'\x15' # 0x3D -> NEGATIVE ACKNOWLEDGE
110 u'\x9e' # 0x3E -> CONTROL
111 u'\x1a' # 0x3F -> SUBSTITUTE
112 u' ' # 0x40 -> SPACE
113 u'\xa0' # 0x41 -> NO-BREAK SPACE
114 u'\xe2' # 0x42 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
115 u'\xe4' # 0x43 -> LATIN SMALL LETTER A WITH DIAERESIS
116 u'\xe0' # 0x44 -> LATIN SMALL LETTER A WITH GRAVE
117 u'\xe1' # 0x45 -> LATIN SMALL LETTER A WITH ACUTE
118 u'\xe3' # 0x46 -> LATIN SMALL LETTER A WITH TILDE
119 u'\xe5' # 0x47 -> LATIN SMALL LETTER A WITH RING ABOVE
120 u'{' # 0x48 -> LEFT CURLY BRACKET
121 u'\xf1' # 0x49 -> LATIN SMALL LETTER N WITH TILDE
122 u'\xc7' # 0x4A -> LATIN CAPITAL LETTER C WITH CEDILLA
123 u'.' # 0x4B -> FULL STOP
124 u'<' # 0x4C -> LESS-THAN SIGN
125 u'(' # 0x4D -> LEFT PARENTHESIS
126 u'+' # 0x4E -> PLUS SIGN
127 u'!' # 0x4F -> EXCLAMATION MARK
128 u'&' # 0x50 -> AMPERSAND
129 u'\xe9' # 0x51 -> LATIN SMALL LETTER E WITH ACUTE
130 u'\xea' # 0x52 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
131 u'\xeb' # 0x53 -> LATIN SMALL LETTER E WITH DIAERESIS
132 u'\xe8' # 0x54 -> LATIN SMALL LETTER E WITH GRAVE
133 u'\xed' # 0x55 -> LATIN SMALL LETTER I WITH ACUTE
134 u'\xee' # 0x56 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
135 u'\xef' # 0x57 -> LATIN SMALL LETTER I WITH DIAERESIS
136 u'\xec' # 0x58 -> LATIN SMALL LETTER I WITH GRAVE
137 u'\xdf' # 0x59 -> LATIN SMALL LETTER SHARP S (GERMAN)
138 u'\u011e' # 0x5A -> LATIN CAPITAL LETTER G WITH BREVE
139 u'\u0130' # 0x5B -> LATIN CAPITAL LETTER I WITH DOT ABOVE
140 u'*' # 0x5C -> ASTERISK
141 u')' # 0x5D -> RIGHT PARENTHESIS
142 u';' # 0x5E -> SEMICOLON
143 u'^' # 0x5F -> CIRCUMFLEX ACCENT
144 u'-' # 0x60 -> HYPHEN-MINUS
145 u'/' # 0x61 -> SOLIDUS
146 u'\xc2' # 0x62 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
147 u'\xc4' # 0x63 -> LATIN CAPITAL LETTER A WITH DIAERESIS
148 u'\xc0' # 0x64 -> LATIN CAPITAL LETTER A WITH GRAVE
149 u'\xc1' # 0x65 -> LATIN CAPITAL LETTER A WITH ACUTE
150 u'\xc3' # 0x66 -> LATIN CAPITAL LETTER A WITH TILDE
151 u'\xc5' # 0x67 -> LATIN CAPITAL LETTER A WITH RING ABOVE
152 u'[' # 0x68 -> LEFT SQUARE BRACKET
153 u'\xd1' # 0x69 -> LATIN CAPITAL LETTER N WITH TILDE
154 u'\u015f' # 0x6A -> LATIN SMALL LETTER S WITH CEDILLA
155 u',' # 0x6B -> COMMA
156 u'%' # 0x6C -> PERCENT SIGN
157 u'_' # 0x6D -> LOW LINE
158 u'>' # 0x6E -> GREATER-THAN SIGN
159 u'?' # 0x6F -> QUESTION MARK
160 u'\xf8' # 0x70 -> LATIN SMALL LETTER O WITH STROKE
161 u'\xc9' # 0x71 -> LATIN CAPITAL LETTER E WITH ACUTE
162 u'\xca' # 0x72 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
163 u'\xcb' # 0x73 -> LATIN CAPITAL LETTER E WITH DIAERESIS
164 u'\xc8' # 0x74 -> LATIN CAPITAL LETTER E WITH GRAVE
165 u'\xcd' # 0x75 -> LATIN CAPITAL LETTER I WITH ACUTE
166 u'\xce' # 0x76 -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
167 u'\xcf' # 0x77 -> LATIN CAPITAL LETTER I WITH DIAERESIS
168 u'\xcc' # 0x78 -> LATIN CAPITAL LETTER I WITH GRAVE
169 u'\u0131' # 0x79 -> LATIN SMALL LETTER DOTLESS I
170 u':' # 0x7A -> COLON
171 u'\xd6' # 0x7B -> LATIN CAPITAL LETTER O WITH DIAERESIS
172 u'\u015e' # 0x7C -> LATIN CAPITAL LETTER S WITH CEDILLA
173 u"'" # 0x7D -> APOSTROPHE
174 u'=' # 0x7E -> EQUALS SIGN
175 u'\xdc' # 0x7F -> LATIN CAPITAL LETTER U WITH DIAERESIS
176 u'\xd8' # 0x80 -> LATIN CAPITAL LETTER O WITH STROKE
177 u'a' # 0x81 -> LATIN SMALL LETTER A
178 u'b' # 0x82 -> LATIN SMALL LETTER B
179 u'c' # 0x83 -> LATIN SMALL LETTER C
180 u'd' # 0x84 -> LATIN SMALL LETTER D
181 u'e' # 0x85 -> LATIN SMALL LETTER E
182 u'f' # 0x86 -> LATIN SMALL LETTER F
183 u'g' # 0x87 -> LATIN SMALL LETTER G
184 u'h' # 0x88 -> LATIN SMALL LETTER H
185 u'i' # 0x89 -> LATIN SMALL LETTER I
186 u'\xab' # 0x8A -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
187 u'\xbb' # 0x8B -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
188 u'}' # 0x8C -> RIGHT CURLY BRACKET
189 u'`' # 0x8D -> GRAVE ACCENT
190 u'\xa6' # 0x8E -> BROKEN BAR
191 u'\xb1' # 0x8F -> PLUS-MINUS SIGN
192 u'\xb0' # 0x90 -> DEGREE SIGN
193 u'j' # 0x91 -> LATIN SMALL LETTER J
194 u'k' # 0x92 -> LATIN SMALL LETTER K
195 u'l' # 0x93 -> LATIN SMALL LETTER L
196 u'm' # 0x94 -> LATIN SMALL LETTER M
197 u'n' # 0x95 -> LATIN SMALL LETTER N
198 u'o' # 0x96 -> LATIN SMALL LETTER O
199 u'p' # 0x97 -> LATIN SMALL LETTER P
200 u'q' # 0x98 -> LATIN SMALL LETTER Q
201 u'r' # 0x99 -> LATIN SMALL LETTER R
202 u'\xaa' # 0x9A -> FEMININE ORDINAL INDICATOR
203 u'\xba' # 0x9B -> MASCULINE ORDINAL INDICATOR
204 u'\xe6' # 0x9C -> LATIN SMALL LIGATURE AE
205 u'\xb8' # 0x9D -> CEDILLA
206 u'\xc6' # 0x9E -> LATIN CAPITAL LIGATURE AE
207 u'\xa4' # 0x9F -> CURRENCY SIGN
208 u'\xb5' # 0xA0 -> MICRO SIGN
209 u'\xf6' # 0xA1 -> LATIN SMALL LETTER O WITH DIAERESIS
210 u's' # 0xA2 -> LATIN SMALL LETTER S
211 u't' # 0xA3 -> LATIN SMALL LETTER T
212 u'u' # 0xA4 -> LATIN SMALL LETTER U
213 u'v' # 0xA5 -> LATIN SMALL LETTER V
214 u'w' # 0xA6 -> LATIN SMALL LETTER W
215 u'x' # 0xA7 -> LATIN SMALL LETTER X
216 u'y' # 0xA8 -> LATIN SMALL LETTER Y
217 u'z' # 0xA9 -> LATIN SMALL LETTER Z
218 u'\xa1' # 0xAA -> INVERTED EXCLAMATION MARK
219 u'\xbf' # 0xAB -> INVERTED QUESTION MARK
220 u']' # 0xAC -> RIGHT SQUARE BRACKET
221 u'$' # 0xAD -> DOLLAR SIGN
222 u'@' # 0xAE -> COMMERCIAL AT
223 u'\xae' # 0xAF -> REGISTERED SIGN
224 u'\xa2' # 0xB0 -> CENT SIGN
225 u'\xa3' # 0xB1 -> POUND SIGN
226 u'\xa5' # 0xB2 -> YEN SIGN
227 u'\xb7' # 0xB3 -> MIDDLE DOT
228 u'\xa9' # 0xB4 -> COPYRIGHT SIGN
229 u'\xa7' # 0xB5 -> SECTION SIGN
230 u'\xb6' # 0xB6 -> PILCROW SIGN
231 u'\xbc' # 0xB7 -> VULGAR FRACTION ONE QUARTER
232 u'\xbd' # 0xB8 -> VULGAR FRACTION ONE HALF
233 u'\xbe' # 0xB9 -> VULGAR FRACTION THREE QUARTERS
234 u'\xac' # 0xBA -> NOT SIGN
235 u'|' # 0xBB -> VERTICAL LINE
236 u'\xaf' # 0xBC -> MACRON
237 u'\xa8' # 0xBD -> DIAERESIS
238 u'\xb4' # 0xBE -> ACUTE ACCENT
239 u'\xd7' # 0xBF -> MULTIPLICATION SIGN
240 u'\xe7' # 0xC0 -> LATIN SMALL LETTER C WITH CEDILLA
241 u'A' # 0xC1 -> LATIN CAPITAL LETTER A
242 u'B' # 0xC2 -> LATIN CAPITAL LETTER B
243 u'C' # 0xC3 -> LATIN CAPITAL LETTER C
244 u'D' # 0xC4 -> LATIN CAPITAL LETTER D
245 u'E' # 0xC5 -> LATIN CAPITAL LETTER E
246 u'F' # 0xC6 -> LATIN CAPITAL LETTER F
247 u'G' # 0xC7 -> LATIN CAPITAL LETTER G
248 u'H' # 0xC8 -> LATIN CAPITAL LETTER H
249 u'I' # 0xC9 -> LATIN CAPITAL LETTER I
250 u'\xad' # 0xCA -> SOFT HYPHEN
251 u'\xf4' # 0xCB -> LATIN SMALL LETTER O WITH CIRCUMFLEX
252 u'~' # 0xCC -> TILDE
253 u'\xf2' # 0xCD -> LATIN SMALL LETTER O WITH GRAVE
254 u'\xf3' # 0xCE -> LATIN SMALL LETTER O WITH ACUTE
255 u'\xf5' # 0xCF -> LATIN SMALL LETTER O WITH TILDE
256 u'\u011f' # 0xD0 -> LATIN SMALL LETTER G WITH BREVE
257 u'J' # 0xD1 -> LATIN CAPITAL LETTER J
258 u'K' # 0xD2 -> LATIN CAPITAL LETTER K
259 u'L' # 0xD3 -> LATIN CAPITAL LETTER L
260 u'M' # 0xD4 -> LATIN CAPITAL LETTER M
261 u'N' # 0xD5 -> LATIN CAPITAL LETTER N
262 u'O' # 0xD6 -> LATIN CAPITAL LETTER O
263 u'P' # 0xD7 -> LATIN CAPITAL LETTER P
264 u'Q' # 0xD8 -> LATIN CAPITAL LETTER Q
265 u'R' # 0xD9 -> LATIN CAPITAL LETTER R
266 u'\xb9' # 0xDA -> SUPERSCRIPT ONE
267 u'\xfb' # 0xDB -> LATIN SMALL LETTER U WITH CIRCUMFLEX
268 u'\\' # 0xDC -> REVERSE SOLIDUS
269 u'\xf9' # 0xDD -> LATIN SMALL LETTER U WITH GRAVE
270 u'\xfa' # 0xDE -> LATIN SMALL LETTER U WITH ACUTE
271 u'\xff' # 0xDF -> LATIN SMALL LETTER Y WITH DIAERESIS
272 u'\xfc' # 0xE0 -> LATIN SMALL LETTER U WITH DIAERESIS
273 u'\xf7' # 0xE1 -> DIVISION SIGN
274 u'S' # 0xE2 -> LATIN CAPITAL LETTER S
275 u'T' # 0xE3 -> LATIN CAPITAL LETTER T
276 u'U' # 0xE4 -> LATIN CAPITAL LETTER U
277 u'V' # 0xE5 -> LATIN CAPITAL LETTER V
278 u'W' # 0xE6 -> LATIN CAPITAL LETTER W
279 u'X' # 0xE7 -> LATIN CAPITAL LETTER X
280 u'Y' # 0xE8 -> LATIN CAPITAL LETTER Y
281 u'Z' # 0xE9 -> LATIN CAPITAL LETTER Z
282 u'\xb2' # 0xEA -> SUPERSCRIPT TWO
283 u'\xd4' # 0xEB -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
284 u'#' # 0xEC -> NUMBER SIGN
285 u'\xd2' # 0xED -> LATIN CAPITAL LETTER O WITH GRAVE
286 u'\xd3' # 0xEE -> LATIN CAPITAL LETTER O WITH ACUTE
287 u'\xd5' # 0xEF -> LATIN CAPITAL LETTER O WITH TILDE
288 u'0' # 0xF0 -> DIGIT ZERO
289 u'1' # 0xF1 -> DIGIT ONE
290 u'2' # 0xF2 -> DIGIT TWO
291 u'3' # 0xF3 -> DIGIT THREE
292 u'4' # 0xF4 -> DIGIT FOUR
293 u'5' # 0xF5 -> DIGIT FIVE
294 u'6' # 0xF6 -> DIGIT SIX
295 u'7' # 0xF7 -> DIGIT SEVEN
296 u'8' # 0xF8 -> DIGIT EIGHT
297 u'9' # 0xF9 -> DIGIT NINE
298 u'\xb3' # 0xFA -> SUPERSCRIPT THREE
299 u'\xdb' # 0xFB -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
300 u'"' # 0xFC -> QUOTATION MARK
301 u'\xd9' # 0xFD -> LATIN CAPITAL LETTER U WITH GRAVE
302 u'\xda' # 0xFE -> LATIN CAPITAL LETTER U WITH ACUTE
303 u'\x9f' # 0xFF -> CONTROL
Marc-André Lemburg0f00ba82005-10-21 14:35:35 +0000304)
305
Guido van Rossum0229bf62000-03-10 23:17:24 +0000306### Encoding Map
307
Marc-André Lemburg0f00ba82005-10-21 14:35:35 +0000308encoding_map = {
Tim Peters536cf992005-12-25 23:18:31 +0000309 0x0000: 0x00, # NULL
310 0x0001: 0x01, # START OF HEADING
311 0x0002: 0x02, # START OF TEXT
312 0x0003: 0x03, # END OF TEXT
313 0x0004: 0x37, # END OF TRANSMISSION
314 0x0005: 0x2D, # ENQUIRY
315 0x0006: 0x2E, # ACKNOWLEDGE
316 0x0007: 0x2F, # BELL
317 0x0008: 0x16, # BACKSPACE
318 0x0009: 0x05, # HORIZONTAL TABULATION
319 0x000A: 0x25, # LINE FEED
320 0x000B: 0x0B, # VERTICAL TABULATION
321 0x000C: 0x0C, # FORM FEED
322 0x000D: 0x0D, # CARRIAGE RETURN
323 0x000E: 0x0E, # SHIFT OUT
324 0x000F: 0x0F, # SHIFT IN
325 0x0010: 0x10, # DATA LINK ESCAPE
326 0x0011: 0x11, # DEVICE CONTROL ONE
327 0x0012: 0x12, # DEVICE CONTROL TWO
328 0x0013: 0x13, # DEVICE CONTROL THREE
329 0x0014: 0x3C, # DEVICE CONTROL FOUR
330 0x0015: 0x3D, # NEGATIVE ACKNOWLEDGE
331 0x0016: 0x32, # SYNCHRONOUS IDLE
332 0x0017: 0x26, # END OF TRANSMISSION BLOCK
333 0x0018: 0x18, # CANCEL
334 0x0019: 0x19, # END OF MEDIUM
335 0x001A: 0x3F, # SUBSTITUTE
336 0x001B: 0x27, # ESCAPE
337 0x001C: 0x1C, # FILE SEPARATOR
338 0x001D: 0x1D, # GROUP SEPARATOR
339 0x001E: 0x1E, # RECORD SEPARATOR
340 0x001F: 0x1F, # UNIT SEPARATOR
341 0x0020: 0x40, # SPACE
342 0x0021: 0x4F, # EXCLAMATION MARK
343 0x0022: 0xFC, # QUOTATION MARK
344 0x0023: 0xEC, # NUMBER SIGN
345 0x0024: 0xAD, # DOLLAR SIGN
346 0x0025: 0x6C, # PERCENT SIGN
347 0x0026: 0x50, # AMPERSAND
348 0x0027: 0x7D, # APOSTROPHE
349 0x0028: 0x4D, # LEFT PARENTHESIS
350 0x0029: 0x5D, # RIGHT PARENTHESIS
351 0x002A: 0x5C, # ASTERISK
352 0x002B: 0x4E, # PLUS SIGN
353 0x002C: 0x6B, # COMMA
354 0x002D: 0x60, # HYPHEN-MINUS
355 0x002E: 0x4B, # FULL STOP
356 0x002F: 0x61, # SOLIDUS
357 0x0030: 0xF0, # DIGIT ZERO
358 0x0031: 0xF1, # DIGIT ONE
359 0x0032: 0xF2, # DIGIT TWO
360 0x0033: 0xF3, # DIGIT THREE
361 0x0034: 0xF4, # DIGIT FOUR
362 0x0035: 0xF5, # DIGIT FIVE
363 0x0036: 0xF6, # DIGIT SIX
364 0x0037: 0xF7, # DIGIT SEVEN
365 0x0038: 0xF8, # DIGIT EIGHT
366 0x0039: 0xF9, # DIGIT NINE
367 0x003A: 0x7A, # COLON
368 0x003B: 0x5E, # SEMICOLON
369 0x003C: 0x4C, # LESS-THAN SIGN
370 0x003D: 0x7E, # EQUALS SIGN
371 0x003E: 0x6E, # GREATER-THAN SIGN
372 0x003F: 0x6F, # QUESTION MARK
373 0x0040: 0xAE, # COMMERCIAL AT
374 0x0041: 0xC1, # LATIN CAPITAL LETTER A
375 0x0042: 0xC2, # LATIN CAPITAL LETTER B
376 0x0043: 0xC3, # LATIN CAPITAL LETTER C
377 0x0044: 0xC4, # LATIN CAPITAL LETTER D
378 0x0045: 0xC5, # LATIN CAPITAL LETTER E
379 0x0046: 0xC6, # LATIN CAPITAL LETTER F
380 0x0047: 0xC7, # LATIN CAPITAL LETTER G
381 0x0048: 0xC8, # LATIN CAPITAL LETTER H
382 0x0049: 0xC9, # LATIN CAPITAL LETTER I
383 0x004A: 0xD1, # LATIN CAPITAL LETTER J
384 0x004B: 0xD2, # LATIN CAPITAL LETTER K
385 0x004C: 0xD3, # LATIN CAPITAL LETTER L
386 0x004D: 0xD4, # LATIN CAPITAL LETTER M
387 0x004E: 0xD5, # LATIN CAPITAL LETTER N
388 0x004F: 0xD6, # LATIN CAPITAL LETTER O
389 0x0050: 0xD7, # LATIN CAPITAL LETTER P
390 0x0051: 0xD8, # LATIN CAPITAL LETTER Q
391 0x0052: 0xD9, # LATIN CAPITAL LETTER R
392 0x0053: 0xE2, # LATIN CAPITAL LETTER S
393 0x0054: 0xE3, # LATIN CAPITAL LETTER T
394 0x0055: 0xE4, # LATIN CAPITAL LETTER U
395 0x0056: 0xE5, # LATIN CAPITAL LETTER V
396 0x0057: 0xE6, # LATIN CAPITAL LETTER W
397 0x0058: 0xE7, # LATIN CAPITAL LETTER X
398 0x0059: 0xE8, # LATIN CAPITAL LETTER Y
399 0x005A: 0xE9, # LATIN CAPITAL LETTER Z
400 0x005B: 0x68, # LEFT SQUARE BRACKET
401 0x005C: 0xDC, # REVERSE SOLIDUS
402 0x005D: 0xAC, # RIGHT SQUARE BRACKET
403 0x005E: 0x5F, # CIRCUMFLEX ACCENT
404 0x005F: 0x6D, # LOW LINE
405 0x0060: 0x8D, # GRAVE ACCENT
406 0x0061: 0x81, # LATIN SMALL LETTER A
407 0x0062: 0x82, # LATIN SMALL LETTER B
408 0x0063: 0x83, # LATIN SMALL LETTER C
409 0x0064: 0x84, # LATIN SMALL LETTER D
410 0x0065: 0x85, # LATIN SMALL LETTER E
411 0x0066: 0x86, # LATIN SMALL LETTER F
412 0x0067: 0x87, # LATIN SMALL LETTER G
413 0x0068: 0x88, # LATIN SMALL LETTER H
414 0x0069: 0x89, # LATIN SMALL LETTER I
415 0x006A: 0x91, # LATIN SMALL LETTER J
416 0x006B: 0x92, # LATIN SMALL LETTER K
417 0x006C: 0x93, # LATIN SMALL LETTER L
418 0x006D: 0x94, # LATIN SMALL LETTER M
419 0x006E: 0x95, # LATIN SMALL LETTER N
420 0x006F: 0x96, # LATIN SMALL LETTER O
421 0x0070: 0x97, # LATIN SMALL LETTER P
422 0x0071: 0x98, # LATIN SMALL LETTER Q
423 0x0072: 0x99, # LATIN SMALL LETTER R
424 0x0073: 0xA2, # LATIN SMALL LETTER S
425 0x0074: 0xA3, # LATIN SMALL LETTER T
426 0x0075: 0xA4, # LATIN SMALL LETTER U
427 0x0076: 0xA5, # LATIN SMALL LETTER V
428 0x0077: 0xA6, # LATIN SMALL LETTER W
429 0x0078: 0xA7, # LATIN SMALL LETTER X
430 0x0079: 0xA8, # LATIN SMALL LETTER Y
431 0x007A: 0xA9, # LATIN SMALL LETTER Z
432 0x007B: 0x48, # LEFT CURLY BRACKET
433 0x007C: 0xBB, # VERTICAL LINE
434 0x007D: 0x8C, # RIGHT CURLY BRACKET
435 0x007E: 0xCC, # TILDE
436 0x007F: 0x07, # DELETE
437 0x0080: 0x20, # CONTROL
438 0x0081: 0x21, # CONTROL
439 0x0082: 0x22, # CONTROL
440 0x0083: 0x23, # CONTROL
441 0x0084: 0x24, # CONTROL
442 0x0085: 0x15, # CONTROL
443 0x0086: 0x06, # CONTROL
444 0x0087: 0x17, # CONTROL
445 0x0088: 0x28, # CONTROL
446 0x0089: 0x29, # CONTROL
447 0x008A: 0x2A, # CONTROL
448 0x008B: 0x2B, # CONTROL
449 0x008C: 0x2C, # CONTROL
450 0x008D: 0x09, # CONTROL
451 0x008E: 0x0A, # CONTROL
452 0x008F: 0x1B, # CONTROL
453 0x0090: 0x30, # CONTROL
454 0x0091: 0x31, # CONTROL
455 0x0092: 0x1A, # CONTROL
456 0x0093: 0x33, # CONTROL
457 0x0094: 0x34, # CONTROL
458 0x0095: 0x35, # CONTROL
459 0x0096: 0x36, # CONTROL
460 0x0097: 0x08, # CONTROL
461 0x0098: 0x38, # CONTROL
462 0x0099: 0x39, # CONTROL
463 0x009A: 0x3A, # CONTROL
464 0x009B: 0x3B, # CONTROL
465 0x009C: 0x04, # CONTROL
466 0x009D: 0x14, # CONTROL
467 0x009E: 0x3E, # CONTROL
468 0x009F: 0xFF, # CONTROL
469 0x00A0: 0x41, # NO-BREAK SPACE
470 0x00A1: 0xAA, # INVERTED EXCLAMATION MARK
471 0x00A2: 0xB0, # CENT SIGN
472 0x00A3: 0xB1, # POUND SIGN
473 0x00A4: 0x9F, # CURRENCY SIGN
474 0x00A5: 0xB2, # YEN SIGN
475 0x00A6: 0x8E, # BROKEN BAR
476 0x00A7: 0xB5, # SECTION SIGN
477 0x00A8: 0xBD, # DIAERESIS
478 0x00A9: 0xB4, # COPYRIGHT SIGN
479 0x00AA: 0x9A, # FEMININE ORDINAL INDICATOR
480 0x00AB: 0x8A, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
481 0x00AC: 0xBA, # NOT SIGN
482 0x00AD: 0xCA, # SOFT HYPHEN
483 0x00AE: 0xAF, # REGISTERED SIGN
484 0x00AF: 0xBC, # MACRON
485 0x00B0: 0x90, # DEGREE SIGN
486 0x00B1: 0x8F, # PLUS-MINUS SIGN
487 0x00B2: 0xEA, # SUPERSCRIPT TWO
488 0x00B3: 0xFA, # SUPERSCRIPT THREE
489 0x00B4: 0xBE, # ACUTE ACCENT
490 0x00B5: 0xA0, # MICRO SIGN
491 0x00B6: 0xB6, # PILCROW SIGN
492 0x00B7: 0xB3, # MIDDLE DOT
493 0x00B8: 0x9D, # CEDILLA
494 0x00B9: 0xDA, # SUPERSCRIPT ONE
495 0x00BA: 0x9B, # MASCULINE ORDINAL INDICATOR
496 0x00BB: 0x8B, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
497 0x00BC: 0xB7, # VULGAR FRACTION ONE QUARTER
498 0x00BD: 0xB8, # VULGAR FRACTION ONE HALF
499 0x00BE: 0xB9, # VULGAR FRACTION THREE QUARTERS
500 0x00BF: 0xAB, # INVERTED QUESTION MARK
501 0x00C0: 0x64, # LATIN CAPITAL LETTER A WITH GRAVE
502 0x00C1: 0x65, # LATIN CAPITAL LETTER A WITH ACUTE
503 0x00C2: 0x62, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
504 0x00C3: 0x66, # LATIN CAPITAL LETTER A WITH TILDE
505 0x00C4: 0x63, # LATIN CAPITAL LETTER A WITH DIAERESIS
506 0x00C5: 0x67, # LATIN CAPITAL LETTER A WITH RING ABOVE
507 0x00C6: 0x9E, # LATIN CAPITAL LIGATURE AE
508 0x00C7: 0x4A, # LATIN CAPITAL LETTER C WITH CEDILLA
509 0x00C8: 0x74, # LATIN CAPITAL LETTER E WITH GRAVE
510 0x00C9: 0x71, # LATIN CAPITAL LETTER E WITH ACUTE
511 0x00CA: 0x72, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
512 0x00CB: 0x73, # LATIN CAPITAL LETTER E WITH DIAERESIS
513 0x00CC: 0x78, # LATIN CAPITAL LETTER I WITH GRAVE
514 0x00CD: 0x75, # LATIN CAPITAL LETTER I WITH ACUTE
515 0x00CE: 0x76, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
516 0x00CF: 0x77, # LATIN CAPITAL LETTER I WITH DIAERESIS
517 0x00D1: 0x69, # LATIN CAPITAL LETTER N WITH TILDE
518 0x00D2: 0xED, # LATIN CAPITAL LETTER O WITH GRAVE
519 0x00D3: 0xEE, # LATIN CAPITAL LETTER O WITH ACUTE
520 0x00D4: 0xEB, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
521 0x00D5: 0xEF, # LATIN CAPITAL LETTER O WITH TILDE
522 0x00D6: 0x7B, # LATIN CAPITAL LETTER O WITH DIAERESIS
523 0x00D7: 0xBF, # MULTIPLICATION SIGN
524 0x00D8: 0x80, # LATIN CAPITAL LETTER O WITH STROKE
525 0x00D9: 0xFD, # LATIN CAPITAL LETTER U WITH GRAVE
526 0x00DA: 0xFE, # LATIN CAPITAL LETTER U WITH ACUTE
527 0x00DB: 0xFB, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
528 0x00DC: 0x7F, # LATIN CAPITAL LETTER U WITH DIAERESIS
529 0x00DF: 0x59, # LATIN SMALL LETTER SHARP S (GERMAN)
530 0x00E0: 0x44, # LATIN SMALL LETTER A WITH GRAVE
531 0x00E1: 0x45, # LATIN SMALL LETTER A WITH ACUTE
532 0x00E2: 0x42, # LATIN SMALL LETTER A WITH CIRCUMFLEX
533 0x00E3: 0x46, # LATIN SMALL LETTER A WITH TILDE
534 0x00E4: 0x43, # LATIN SMALL LETTER A WITH DIAERESIS
535 0x00E5: 0x47, # LATIN SMALL LETTER A WITH RING ABOVE
536 0x00E6: 0x9C, # LATIN SMALL LIGATURE AE
537 0x00E7: 0xC0, # LATIN SMALL LETTER C WITH CEDILLA
538 0x00E8: 0x54, # LATIN SMALL LETTER E WITH GRAVE
539 0x00E9: 0x51, # LATIN SMALL LETTER E WITH ACUTE
540 0x00EA: 0x52, # LATIN SMALL LETTER E WITH CIRCUMFLEX
541 0x00EB: 0x53, # LATIN SMALL LETTER E WITH DIAERESIS
542 0x00EC: 0x58, # LATIN SMALL LETTER I WITH GRAVE
543 0x00ED: 0x55, # LATIN SMALL LETTER I WITH ACUTE
544 0x00EE: 0x56, # LATIN SMALL LETTER I WITH CIRCUMFLEX
545 0x00EF: 0x57, # LATIN SMALL LETTER I WITH DIAERESIS
546 0x00F1: 0x49, # LATIN SMALL LETTER N WITH TILDE
547 0x00F2: 0xCD, # LATIN SMALL LETTER O WITH GRAVE
548 0x00F3: 0xCE, # LATIN SMALL LETTER O WITH ACUTE
549 0x00F4: 0xCB, # LATIN SMALL LETTER O WITH CIRCUMFLEX
550 0x00F5: 0xCF, # LATIN SMALL LETTER O WITH TILDE
551 0x00F6: 0xA1, # LATIN SMALL LETTER O WITH DIAERESIS
552 0x00F7: 0xE1, # DIVISION SIGN
553 0x00F8: 0x70, # LATIN SMALL LETTER O WITH STROKE
554 0x00F9: 0xDD, # LATIN SMALL LETTER U WITH GRAVE
555 0x00FA: 0xDE, # LATIN SMALL LETTER U WITH ACUTE
556 0x00FB: 0xDB, # LATIN SMALL LETTER U WITH CIRCUMFLEX
557 0x00FC: 0xE0, # LATIN SMALL LETTER U WITH DIAERESIS
558 0x00FF: 0xDF, # LATIN SMALL LETTER Y WITH DIAERESIS
559 0x011E: 0x5A, # LATIN CAPITAL LETTER G WITH BREVE
560 0x011F: 0xD0, # LATIN SMALL LETTER G WITH BREVE
561 0x0130: 0x5B, # LATIN CAPITAL LETTER I WITH DOT ABOVE
562 0x0131: 0x79, # LATIN SMALL LETTER DOTLESS I
563 0x015E: 0x7C, # LATIN CAPITAL LETTER S WITH CEDILLA
564 0x015F: 0x6A, # LATIN SMALL LETTER S WITH CEDILLA
Marc-André Lemburgd9cf5932005-10-24 12:14:59 +0000565}