Marc-André Lemburg | 3c72ded | 2005-10-24 12:07:49 +0000 | [diff] [blame] | 1 | """ Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/EBCDIC/CP875.TXT' with gencodec.py. |
Guido van Rossum | 0229bf6 | 2000-03-10 23:17:24 +0000 | [diff] [blame] | 2 | |
| 3 | """#" |
| 4 | |
| 5 | import codecs |
| 6 | |
| 7 | ### Codec APIs |
| 8 | |
| 9 | class Codec(codecs.Codec): |
| 10 | |
| 11 | def encode(self,input,errors='strict'): |
| 12 | |
| 13 | return codecs.charmap_encode(input,errors,encoding_map) |
Tim Peters | 469cdad | 2002-08-08 20:19:19 +0000 | [diff] [blame] | 14 | |
Guido van Rossum | 0229bf6 | 2000-03-10 23:17:24 +0000 | [diff] [blame] | 15 | def decode(self,input,errors='strict'): |
| 16 | |
Marc-André Lemburg | 0f00ba8 | 2005-10-21 14:35:35 +0000 | [diff] [blame] | 17 | return codecs.charmap_decode(input,errors,decoding_table) |
Tim Peters | 536cf99 | 2005-12-25 23:18:31 +0000 | [diff] [blame] | 18 | |
Guido van Rossum | 0229bf6 | 2000-03-10 23:17:24 +0000 | [diff] [blame] | 19 | class StreamWriter(Codec,codecs.StreamWriter): |
| 20 | pass |
Tim Peters | 469cdad | 2002-08-08 20:19:19 +0000 | [diff] [blame] | 21 | |
Guido van Rossum | 0229bf6 | 2000-03-10 23:17:24 +0000 | [diff] [blame] | 22 | class StreamReader(Codec,codecs.StreamReader): |
| 23 | pass |
| 24 | |
| 25 | ### encodings module API |
| 26 | |
| 27 | def getregentry(): |
| 28 | |
| 29 | return (Codec().encode,Codec().decode,StreamReader,StreamWriter) |
| 30 | |
Guido van Rossum | 0229bf6 | 2000-03-10 23:17:24 +0000 | [diff] [blame] | 31 | |
Marc-André Lemburg | 0f00ba8 | 2005-10-21 14:35:35 +0000 | [diff] [blame] | 32 | ### Decoding Table |
| 33 | |
| 34 | decoding_table = ( |
Tim Peters | 536cf99 | 2005-12-25 23:18:31 +0000 | [diff] [blame] | 35 | u'\x00' # 0x00 -> NULL |
| 36 | u'\x01' # 0x01 -> START OF HEADING |
| 37 | u'\x02' # 0x02 -> START OF TEXT |
| 38 | u'\x03' # 0x03 -> END OF TEXT |
| 39 | u'\x9c' # 0x04 -> CONTROL |
| 40 | u'\t' # 0x05 -> HORIZONTAL TABULATION |
| 41 | u'\x86' # 0x06 -> CONTROL |
| 42 | u'\x7f' # 0x07 -> DELETE |
| 43 | u'\x97' # 0x08 -> CONTROL |
| 44 | u'\x8d' # 0x09 -> CONTROL |
| 45 | u'\x8e' # 0x0A -> CONTROL |
| 46 | u'\x0b' # 0x0B -> VERTICAL TABULATION |
| 47 | u'\x0c' # 0x0C -> FORM FEED |
| 48 | u'\r' # 0x0D -> CARRIAGE RETURN |
| 49 | u'\x0e' # 0x0E -> SHIFT OUT |
| 50 | u'\x0f' # 0x0F -> SHIFT IN |
| 51 | u'\x10' # 0x10 -> DATA LINK ESCAPE |
| 52 | u'\x11' # 0x11 -> DEVICE CONTROL ONE |
| 53 | u'\x12' # 0x12 -> DEVICE CONTROL TWO |
| 54 | u'\x13' # 0x13 -> DEVICE CONTROL THREE |
| 55 | u'\x9d' # 0x14 -> CONTROL |
| 56 | u'\x85' # 0x15 -> CONTROL |
| 57 | u'\x08' # 0x16 -> BACKSPACE |
| 58 | u'\x87' # 0x17 -> CONTROL |
| 59 | u'\x18' # 0x18 -> CANCEL |
| 60 | u'\x19' # 0x19 -> END OF MEDIUM |
| 61 | u'\x92' # 0x1A -> CONTROL |
| 62 | u'\x8f' # 0x1B -> CONTROL |
| 63 | u'\x1c' # 0x1C -> FILE SEPARATOR |
| 64 | u'\x1d' # 0x1D -> GROUP SEPARATOR |
| 65 | u'\x1e' # 0x1E -> RECORD SEPARATOR |
| 66 | u'\x1f' # 0x1F -> UNIT SEPARATOR |
| 67 | u'\x80' # 0x20 -> CONTROL |
| 68 | u'\x81' # 0x21 -> CONTROL |
| 69 | u'\x82' # 0x22 -> CONTROL |
| 70 | u'\x83' # 0x23 -> CONTROL |
| 71 | u'\x84' # 0x24 -> CONTROL |
| 72 | u'\n' # 0x25 -> LINE FEED |
| 73 | u'\x17' # 0x26 -> END OF TRANSMISSION BLOCK |
| 74 | u'\x1b' # 0x27 -> ESCAPE |
| 75 | u'\x88' # 0x28 -> CONTROL |
| 76 | u'\x89' # 0x29 -> CONTROL |
| 77 | u'\x8a' # 0x2A -> CONTROL |
| 78 | u'\x8b' # 0x2B -> CONTROL |
| 79 | u'\x8c' # 0x2C -> CONTROL |
| 80 | u'\x05' # 0x2D -> ENQUIRY |
| 81 | u'\x06' # 0x2E -> ACKNOWLEDGE |
| 82 | u'\x07' # 0x2F -> BELL |
| 83 | u'\x90' # 0x30 -> CONTROL |
| 84 | u'\x91' # 0x31 -> CONTROL |
| 85 | u'\x16' # 0x32 -> SYNCHRONOUS IDLE |
| 86 | u'\x93' # 0x33 -> CONTROL |
| 87 | u'\x94' # 0x34 -> CONTROL |
| 88 | u'\x95' # 0x35 -> CONTROL |
| 89 | u'\x96' # 0x36 -> CONTROL |
| 90 | u'\x04' # 0x37 -> END OF TRANSMISSION |
| 91 | u'\x98' # 0x38 -> CONTROL |
| 92 | u'\x99' # 0x39 -> CONTROL |
| 93 | u'\x9a' # 0x3A -> CONTROL |
| 94 | u'\x9b' # 0x3B -> CONTROL |
| 95 | u'\x14' # 0x3C -> DEVICE CONTROL FOUR |
| 96 | u'\x15' # 0x3D -> NEGATIVE ACKNOWLEDGE |
| 97 | u'\x9e' # 0x3E -> CONTROL |
| 98 | u'\x1a' # 0x3F -> SUBSTITUTE |
| 99 | u' ' # 0x40 -> SPACE |
| 100 | u'\u0391' # 0x41 -> GREEK CAPITAL LETTER ALPHA |
| 101 | u'\u0392' # 0x42 -> GREEK CAPITAL LETTER BETA |
| 102 | u'\u0393' # 0x43 -> GREEK CAPITAL LETTER GAMMA |
| 103 | u'\u0394' # 0x44 -> GREEK CAPITAL LETTER DELTA |
| 104 | u'\u0395' # 0x45 -> GREEK CAPITAL LETTER EPSILON |
| 105 | u'\u0396' # 0x46 -> GREEK CAPITAL LETTER ZETA |
| 106 | u'\u0397' # 0x47 -> GREEK CAPITAL LETTER ETA |
| 107 | u'\u0398' # 0x48 -> GREEK CAPITAL LETTER THETA |
| 108 | u'\u0399' # 0x49 -> GREEK CAPITAL LETTER IOTA |
| 109 | u'[' # 0x4A -> LEFT SQUARE BRACKET |
| 110 | u'.' # 0x4B -> FULL STOP |
| 111 | u'<' # 0x4C -> LESS-THAN SIGN |
| 112 | u'(' # 0x4D -> LEFT PARENTHESIS |
| 113 | u'+' # 0x4E -> PLUS SIGN |
| 114 | u'!' # 0x4F -> EXCLAMATION MARK |
| 115 | u'&' # 0x50 -> AMPERSAND |
| 116 | u'\u039a' # 0x51 -> GREEK CAPITAL LETTER KAPPA |
| 117 | u'\u039b' # 0x52 -> GREEK CAPITAL LETTER LAMDA |
| 118 | u'\u039c' # 0x53 -> GREEK CAPITAL LETTER MU |
| 119 | u'\u039d' # 0x54 -> GREEK CAPITAL LETTER NU |
| 120 | u'\u039e' # 0x55 -> GREEK CAPITAL LETTER XI |
| 121 | u'\u039f' # 0x56 -> GREEK CAPITAL LETTER OMICRON |
| 122 | u'\u03a0' # 0x57 -> GREEK CAPITAL LETTER PI |
| 123 | u'\u03a1' # 0x58 -> GREEK CAPITAL LETTER RHO |
| 124 | u'\u03a3' # 0x59 -> GREEK CAPITAL LETTER SIGMA |
| 125 | u']' # 0x5A -> RIGHT SQUARE BRACKET |
| 126 | u'$' # 0x5B -> DOLLAR SIGN |
| 127 | u'*' # 0x5C -> ASTERISK |
| 128 | u')' # 0x5D -> RIGHT PARENTHESIS |
| 129 | u';' # 0x5E -> SEMICOLON |
| 130 | u'^' # 0x5F -> CIRCUMFLEX ACCENT |
| 131 | u'-' # 0x60 -> HYPHEN-MINUS |
| 132 | u'/' # 0x61 -> SOLIDUS |
| 133 | u'\u03a4' # 0x62 -> GREEK CAPITAL LETTER TAU |
| 134 | u'\u03a5' # 0x63 -> GREEK CAPITAL LETTER UPSILON |
| 135 | u'\u03a6' # 0x64 -> GREEK CAPITAL LETTER PHI |
| 136 | u'\u03a7' # 0x65 -> GREEK CAPITAL LETTER CHI |
| 137 | u'\u03a8' # 0x66 -> GREEK CAPITAL LETTER PSI |
| 138 | u'\u03a9' # 0x67 -> GREEK CAPITAL LETTER OMEGA |
| 139 | u'\u03aa' # 0x68 -> GREEK CAPITAL LETTER IOTA WITH DIALYTIKA |
| 140 | u'\u03ab' # 0x69 -> GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA |
| 141 | u'|' # 0x6A -> VERTICAL LINE |
| 142 | u',' # 0x6B -> COMMA |
| 143 | u'%' # 0x6C -> PERCENT SIGN |
| 144 | u'_' # 0x6D -> LOW LINE |
| 145 | u'>' # 0x6E -> GREATER-THAN SIGN |
| 146 | u'?' # 0x6F -> QUESTION MARK |
| 147 | u'\xa8' # 0x70 -> DIAERESIS |
| 148 | u'\u0386' # 0x71 -> GREEK CAPITAL LETTER ALPHA WITH TONOS |
| 149 | u'\u0388' # 0x72 -> GREEK CAPITAL LETTER EPSILON WITH TONOS |
| 150 | u'\u0389' # 0x73 -> GREEK CAPITAL LETTER ETA WITH TONOS |
| 151 | u'\xa0' # 0x74 -> NO-BREAK SPACE |
| 152 | u'\u038a' # 0x75 -> GREEK CAPITAL LETTER IOTA WITH TONOS |
| 153 | u'\u038c' # 0x76 -> GREEK CAPITAL LETTER OMICRON WITH TONOS |
| 154 | u'\u038e' # 0x77 -> GREEK CAPITAL LETTER UPSILON WITH TONOS |
| 155 | u'\u038f' # 0x78 -> GREEK CAPITAL LETTER OMEGA WITH TONOS |
| 156 | u'`' # 0x79 -> GRAVE ACCENT |
| 157 | u':' # 0x7A -> COLON |
| 158 | u'#' # 0x7B -> NUMBER SIGN |
| 159 | u'@' # 0x7C -> COMMERCIAL AT |
| 160 | u"'" # 0x7D -> APOSTROPHE |
| 161 | u'=' # 0x7E -> EQUALS SIGN |
| 162 | u'"' # 0x7F -> QUOTATION MARK |
| 163 | u'\u0385' # 0x80 -> GREEK DIALYTIKA TONOS |
| 164 | u'a' # 0x81 -> LATIN SMALL LETTER A |
| 165 | u'b' # 0x82 -> LATIN SMALL LETTER B |
| 166 | u'c' # 0x83 -> LATIN SMALL LETTER C |
| 167 | u'd' # 0x84 -> LATIN SMALL LETTER D |
| 168 | u'e' # 0x85 -> LATIN SMALL LETTER E |
| 169 | u'f' # 0x86 -> LATIN SMALL LETTER F |
| 170 | u'g' # 0x87 -> LATIN SMALL LETTER G |
| 171 | u'h' # 0x88 -> LATIN SMALL LETTER H |
| 172 | u'i' # 0x89 -> LATIN SMALL LETTER I |
| 173 | u'\u03b1' # 0x8A -> GREEK SMALL LETTER ALPHA |
| 174 | u'\u03b2' # 0x8B -> GREEK SMALL LETTER BETA |
| 175 | u'\u03b3' # 0x8C -> GREEK SMALL LETTER GAMMA |
| 176 | u'\u03b4' # 0x8D -> GREEK SMALL LETTER DELTA |
| 177 | u'\u03b5' # 0x8E -> GREEK SMALL LETTER EPSILON |
| 178 | u'\u03b6' # 0x8F -> GREEK SMALL LETTER ZETA |
| 179 | u'\xb0' # 0x90 -> DEGREE SIGN |
| 180 | u'j' # 0x91 -> LATIN SMALL LETTER J |
| 181 | u'k' # 0x92 -> LATIN SMALL LETTER K |
| 182 | u'l' # 0x93 -> LATIN SMALL LETTER L |
| 183 | u'm' # 0x94 -> LATIN SMALL LETTER M |
| 184 | u'n' # 0x95 -> LATIN SMALL LETTER N |
| 185 | u'o' # 0x96 -> LATIN SMALL LETTER O |
| 186 | u'p' # 0x97 -> LATIN SMALL LETTER P |
| 187 | u'q' # 0x98 -> LATIN SMALL LETTER Q |
| 188 | u'r' # 0x99 -> LATIN SMALL LETTER R |
| 189 | u'\u03b7' # 0x9A -> GREEK SMALL LETTER ETA |
| 190 | u'\u03b8' # 0x9B -> GREEK SMALL LETTER THETA |
| 191 | u'\u03b9' # 0x9C -> GREEK SMALL LETTER IOTA |
| 192 | u'\u03ba' # 0x9D -> GREEK SMALL LETTER KAPPA |
| 193 | u'\u03bb' # 0x9E -> GREEK SMALL LETTER LAMDA |
| 194 | u'\u03bc' # 0x9F -> GREEK SMALL LETTER MU |
| 195 | u'\xb4' # 0xA0 -> ACUTE ACCENT |
| 196 | u'~' # 0xA1 -> TILDE |
| 197 | u's' # 0xA2 -> LATIN SMALL LETTER S |
| 198 | u't' # 0xA3 -> LATIN SMALL LETTER T |
| 199 | u'u' # 0xA4 -> LATIN SMALL LETTER U |
| 200 | u'v' # 0xA5 -> LATIN SMALL LETTER V |
| 201 | u'w' # 0xA6 -> LATIN SMALL LETTER W |
| 202 | u'x' # 0xA7 -> LATIN SMALL LETTER X |
| 203 | u'y' # 0xA8 -> LATIN SMALL LETTER Y |
| 204 | u'z' # 0xA9 -> LATIN SMALL LETTER Z |
| 205 | u'\u03bd' # 0xAA -> GREEK SMALL LETTER NU |
| 206 | u'\u03be' # 0xAB -> GREEK SMALL LETTER XI |
| 207 | u'\u03bf' # 0xAC -> GREEK SMALL LETTER OMICRON |
| 208 | u'\u03c0' # 0xAD -> GREEK SMALL LETTER PI |
| 209 | u'\u03c1' # 0xAE -> GREEK SMALL LETTER RHO |
| 210 | u'\u03c3' # 0xAF -> GREEK SMALL LETTER SIGMA |
| 211 | u'\xa3' # 0xB0 -> POUND SIGN |
| 212 | u'\u03ac' # 0xB1 -> GREEK SMALL LETTER ALPHA WITH TONOS |
| 213 | u'\u03ad' # 0xB2 -> GREEK SMALL LETTER EPSILON WITH TONOS |
| 214 | u'\u03ae' # 0xB3 -> GREEK SMALL LETTER ETA WITH TONOS |
| 215 | u'\u03ca' # 0xB4 -> GREEK SMALL LETTER IOTA WITH DIALYTIKA |
| 216 | u'\u03af' # 0xB5 -> GREEK SMALL LETTER IOTA WITH TONOS |
| 217 | u'\u03cc' # 0xB6 -> GREEK SMALL LETTER OMICRON WITH TONOS |
| 218 | u'\u03cd' # 0xB7 -> GREEK SMALL LETTER UPSILON WITH TONOS |
| 219 | u'\u03cb' # 0xB8 -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA |
| 220 | u'\u03ce' # 0xB9 -> GREEK SMALL LETTER OMEGA WITH TONOS |
| 221 | u'\u03c2' # 0xBA -> GREEK SMALL LETTER FINAL SIGMA |
| 222 | u'\u03c4' # 0xBB -> GREEK SMALL LETTER TAU |
| 223 | u'\u03c5' # 0xBC -> GREEK SMALL LETTER UPSILON |
| 224 | u'\u03c6' # 0xBD -> GREEK SMALL LETTER PHI |
| 225 | u'\u03c7' # 0xBE -> GREEK SMALL LETTER CHI |
| 226 | u'\u03c8' # 0xBF -> GREEK SMALL LETTER PSI |
| 227 | u'{' # 0xC0 -> LEFT CURLY BRACKET |
| 228 | u'A' # 0xC1 -> LATIN CAPITAL LETTER A |
| 229 | u'B' # 0xC2 -> LATIN CAPITAL LETTER B |
| 230 | u'C' # 0xC3 -> LATIN CAPITAL LETTER C |
| 231 | u'D' # 0xC4 -> LATIN CAPITAL LETTER D |
| 232 | u'E' # 0xC5 -> LATIN CAPITAL LETTER E |
| 233 | u'F' # 0xC6 -> LATIN CAPITAL LETTER F |
| 234 | u'G' # 0xC7 -> LATIN CAPITAL LETTER G |
| 235 | u'H' # 0xC8 -> LATIN CAPITAL LETTER H |
| 236 | u'I' # 0xC9 -> LATIN CAPITAL LETTER I |
| 237 | u'\xad' # 0xCA -> SOFT HYPHEN |
| 238 | u'\u03c9' # 0xCB -> GREEK SMALL LETTER OMEGA |
| 239 | u'\u0390' # 0xCC -> GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS |
| 240 | u'\u03b0' # 0xCD -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS |
| 241 | u'\u2018' # 0xCE -> LEFT SINGLE QUOTATION MARK |
| 242 | u'\u2015' # 0xCF -> HORIZONTAL BAR |
| 243 | u'}' # 0xD0 -> RIGHT CURLY BRACKET |
| 244 | u'J' # 0xD1 -> LATIN CAPITAL LETTER J |
| 245 | u'K' # 0xD2 -> LATIN CAPITAL LETTER K |
| 246 | u'L' # 0xD3 -> LATIN CAPITAL LETTER L |
| 247 | u'M' # 0xD4 -> LATIN CAPITAL LETTER M |
| 248 | u'N' # 0xD5 -> LATIN CAPITAL LETTER N |
| 249 | u'O' # 0xD6 -> LATIN CAPITAL LETTER O |
| 250 | u'P' # 0xD7 -> LATIN CAPITAL LETTER P |
| 251 | u'Q' # 0xD8 -> LATIN CAPITAL LETTER Q |
| 252 | u'R' # 0xD9 -> LATIN CAPITAL LETTER R |
| 253 | u'\xb1' # 0xDA -> PLUS-MINUS SIGN |
| 254 | u'\xbd' # 0xDB -> VULGAR FRACTION ONE HALF |
| 255 | u'\x1a' # 0xDC -> SUBSTITUTE |
| 256 | u'\u0387' # 0xDD -> GREEK ANO TELEIA |
| 257 | u'\u2019' # 0xDE -> RIGHT SINGLE QUOTATION MARK |
| 258 | u'\xa6' # 0xDF -> BROKEN BAR |
| 259 | u'\\' # 0xE0 -> REVERSE SOLIDUS |
| 260 | u'\x1a' # 0xE1 -> SUBSTITUTE |
| 261 | u'S' # 0xE2 -> LATIN CAPITAL LETTER S |
| 262 | u'T' # 0xE3 -> LATIN CAPITAL LETTER T |
| 263 | u'U' # 0xE4 -> LATIN CAPITAL LETTER U |
| 264 | u'V' # 0xE5 -> LATIN CAPITAL LETTER V |
| 265 | u'W' # 0xE6 -> LATIN CAPITAL LETTER W |
| 266 | u'X' # 0xE7 -> LATIN CAPITAL LETTER X |
| 267 | u'Y' # 0xE8 -> LATIN CAPITAL LETTER Y |
| 268 | u'Z' # 0xE9 -> LATIN CAPITAL LETTER Z |
| 269 | u'\xb2' # 0xEA -> SUPERSCRIPT TWO |
| 270 | u'\xa7' # 0xEB -> SECTION SIGN |
| 271 | u'\x1a' # 0xEC -> SUBSTITUTE |
| 272 | u'\x1a' # 0xED -> SUBSTITUTE |
| 273 | u'\xab' # 0xEE -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK |
| 274 | u'\xac' # 0xEF -> NOT SIGN |
| 275 | u'0' # 0xF0 -> DIGIT ZERO |
| 276 | u'1' # 0xF1 -> DIGIT ONE |
| 277 | u'2' # 0xF2 -> DIGIT TWO |
| 278 | u'3' # 0xF3 -> DIGIT THREE |
| 279 | u'4' # 0xF4 -> DIGIT FOUR |
| 280 | u'5' # 0xF5 -> DIGIT FIVE |
| 281 | u'6' # 0xF6 -> DIGIT SIX |
| 282 | u'7' # 0xF7 -> DIGIT SEVEN |
| 283 | u'8' # 0xF8 -> DIGIT EIGHT |
| 284 | u'9' # 0xF9 -> DIGIT NINE |
| 285 | u'\xb3' # 0xFA -> SUPERSCRIPT THREE |
| 286 | u'\xa9' # 0xFB -> COPYRIGHT SIGN |
| 287 | u'\x1a' # 0xFC -> SUBSTITUTE |
| 288 | u'\x1a' # 0xFD -> SUBSTITUTE |
| 289 | u'\xbb' # 0xFE -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK |
| 290 | u'\x9f' # 0xFF -> CONTROL |
Marc-André Lemburg | 0f00ba8 | 2005-10-21 14:35:35 +0000 | [diff] [blame] | 291 | ) |
| 292 | |
Guido van Rossum | 0229bf6 | 2000-03-10 23:17:24 +0000 | [diff] [blame] | 293 | ### Encoding Map |
| 294 | |
Marc-André Lemburg | 0f00ba8 | 2005-10-21 14:35:35 +0000 | [diff] [blame] | 295 | encoding_map = { |
Tim Peters | 536cf99 | 2005-12-25 23:18:31 +0000 | [diff] [blame] | 296 | 0x0000: 0x00, # NULL |
| 297 | 0x0001: 0x01, # START OF HEADING |
| 298 | 0x0002: 0x02, # START OF TEXT |
| 299 | 0x0003: 0x03, # END OF TEXT |
| 300 | 0x0004: 0x37, # END OF TRANSMISSION |
| 301 | 0x0005: 0x2D, # ENQUIRY |
| 302 | 0x0006: 0x2E, # ACKNOWLEDGE |
| 303 | 0x0007: 0x2F, # BELL |
| 304 | 0x0008: 0x16, # BACKSPACE |
| 305 | 0x0009: 0x05, # HORIZONTAL TABULATION |
| 306 | 0x000A: 0x25, # LINE FEED |
| 307 | 0x000B: 0x0B, # VERTICAL TABULATION |
| 308 | 0x000C: 0x0C, # FORM FEED |
| 309 | 0x000D: 0x0D, # CARRIAGE RETURN |
| 310 | 0x000E: 0x0E, # SHIFT OUT |
| 311 | 0x000F: 0x0F, # SHIFT IN |
| 312 | 0x0010: 0x10, # DATA LINK ESCAPE |
| 313 | 0x0011: 0x11, # DEVICE CONTROL ONE |
| 314 | 0x0012: 0x12, # DEVICE CONTROL TWO |
| 315 | 0x0013: 0x13, # DEVICE CONTROL THREE |
| 316 | 0x0014: 0x3C, # DEVICE CONTROL FOUR |
| 317 | 0x0015: 0x3D, # NEGATIVE ACKNOWLEDGE |
| 318 | 0x0016: 0x32, # SYNCHRONOUS IDLE |
| 319 | 0x0017: 0x26, # END OF TRANSMISSION BLOCK |
| 320 | 0x0018: 0x18, # CANCEL |
| 321 | 0x0019: 0x19, # END OF MEDIUM |
| 322 | 0x001A: None, # SUBSTITUTE |
| 323 | 0x001B: 0x27, # ESCAPE |
| 324 | 0x001C: 0x1C, # FILE SEPARATOR |
| 325 | 0x001D: 0x1D, # GROUP SEPARATOR |
| 326 | 0x001E: 0x1E, # RECORD SEPARATOR |
| 327 | 0x001F: 0x1F, # UNIT SEPARATOR |
| 328 | 0x0020: 0x40, # SPACE |
| 329 | 0x0021: 0x4F, # EXCLAMATION MARK |
| 330 | 0x0022: 0x7F, # QUOTATION MARK |
| 331 | 0x0023: 0x7B, # NUMBER SIGN |
| 332 | 0x0024: 0x5B, # DOLLAR SIGN |
| 333 | 0x0025: 0x6C, # PERCENT SIGN |
| 334 | 0x0026: 0x50, # AMPERSAND |
| 335 | 0x0027: 0x7D, # APOSTROPHE |
| 336 | 0x0028: 0x4D, # LEFT PARENTHESIS |
| 337 | 0x0029: 0x5D, # RIGHT PARENTHESIS |
| 338 | 0x002A: 0x5C, # ASTERISK |
| 339 | 0x002B: 0x4E, # PLUS SIGN |
| 340 | 0x002C: 0x6B, # COMMA |
| 341 | 0x002D: 0x60, # HYPHEN-MINUS |
| 342 | 0x002E: 0x4B, # FULL STOP |
| 343 | 0x002F: 0x61, # SOLIDUS |
| 344 | 0x0030: 0xF0, # DIGIT ZERO |
| 345 | 0x0031: 0xF1, # DIGIT ONE |
| 346 | 0x0032: 0xF2, # DIGIT TWO |
| 347 | 0x0033: 0xF3, # DIGIT THREE |
| 348 | 0x0034: 0xF4, # DIGIT FOUR |
| 349 | 0x0035: 0xF5, # DIGIT FIVE |
| 350 | 0x0036: 0xF6, # DIGIT SIX |
| 351 | 0x0037: 0xF7, # DIGIT SEVEN |
| 352 | 0x0038: 0xF8, # DIGIT EIGHT |
| 353 | 0x0039: 0xF9, # DIGIT NINE |
| 354 | 0x003A: 0x7A, # COLON |
| 355 | 0x003B: 0x5E, # SEMICOLON |
| 356 | 0x003C: 0x4C, # LESS-THAN SIGN |
| 357 | 0x003D: 0x7E, # EQUALS SIGN |
| 358 | 0x003E: 0x6E, # GREATER-THAN SIGN |
| 359 | 0x003F: 0x6F, # QUESTION MARK |
| 360 | 0x0040: 0x7C, # COMMERCIAL AT |
| 361 | 0x0041: 0xC1, # LATIN CAPITAL LETTER A |
| 362 | 0x0042: 0xC2, # LATIN CAPITAL LETTER B |
| 363 | 0x0043: 0xC3, # LATIN CAPITAL LETTER C |
| 364 | 0x0044: 0xC4, # LATIN CAPITAL LETTER D |
| 365 | 0x0045: 0xC5, # LATIN CAPITAL LETTER E |
| 366 | 0x0046: 0xC6, # LATIN CAPITAL LETTER F |
| 367 | 0x0047: 0xC7, # LATIN CAPITAL LETTER G |
| 368 | 0x0048: 0xC8, # LATIN CAPITAL LETTER H |
| 369 | 0x0049: 0xC9, # LATIN CAPITAL LETTER I |
| 370 | 0x004A: 0xD1, # LATIN CAPITAL LETTER J |
| 371 | 0x004B: 0xD2, # LATIN CAPITAL LETTER K |
| 372 | 0x004C: 0xD3, # LATIN CAPITAL LETTER L |
| 373 | 0x004D: 0xD4, # LATIN CAPITAL LETTER M |
| 374 | 0x004E: 0xD5, # LATIN CAPITAL LETTER N |
| 375 | 0x004F: 0xD6, # LATIN CAPITAL LETTER O |
| 376 | 0x0050: 0xD7, # LATIN CAPITAL LETTER P |
| 377 | 0x0051: 0xD8, # LATIN CAPITAL LETTER Q |
| 378 | 0x0052: 0xD9, # LATIN CAPITAL LETTER R |
| 379 | 0x0053: 0xE2, # LATIN CAPITAL LETTER S |
| 380 | 0x0054: 0xE3, # LATIN CAPITAL LETTER T |
| 381 | 0x0055: 0xE4, # LATIN CAPITAL LETTER U |
| 382 | 0x0056: 0xE5, # LATIN CAPITAL LETTER V |
| 383 | 0x0057: 0xE6, # LATIN CAPITAL LETTER W |
| 384 | 0x0058: 0xE7, # LATIN CAPITAL LETTER X |
| 385 | 0x0059: 0xE8, # LATIN CAPITAL LETTER Y |
| 386 | 0x005A: 0xE9, # LATIN CAPITAL LETTER Z |
| 387 | 0x005B: 0x4A, # LEFT SQUARE BRACKET |
| 388 | 0x005C: 0xE0, # REVERSE SOLIDUS |
| 389 | 0x005D: 0x5A, # RIGHT SQUARE BRACKET |
| 390 | 0x005E: 0x5F, # CIRCUMFLEX ACCENT |
| 391 | 0x005F: 0x6D, # LOW LINE |
| 392 | 0x0060: 0x79, # GRAVE ACCENT |
| 393 | 0x0061: 0x81, # LATIN SMALL LETTER A |
| 394 | 0x0062: 0x82, # LATIN SMALL LETTER B |
| 395 | 0x0063: 0x83, # LATIN SMALL LETTER C |
| 396 | 0x0064: 0x84, # LATIN SMALL LETTER D |
| 397 | 0x0065: 0x85, # LATIN SMALL LETTER E |
| 398 | 0x0066: 0x86, # LATIN SMALL LETTER F |
| 399 | 0x0067: 0x87, # LATIN SMALL LETTER G |
| 400 | 0x0068: 0x88, # LATIN SMALL LETTER H |
| 401 | 0x0069: 0x89, # LATIN SMALL LETTER I |
| 402 | 0x006A: 0x91, # LATIN SMALL LETTER J |
| 403 | 0x006B: 0x92, # LATIN SMALL LETTER K |
| 404 | 0x006C: 0x93, # LATIN SMALL LETTER L |
| 405 | 0x006D: 0x94, # LATIN SMALL LETTER M |
| 406 | 0x006E: 0x95, # LATIN SMALL LETTER N |
| 407 | 0x006F: 0x96, # LATIN SMALL LETTER O |
| 408 | 0x0070: 0x97, # LATIN SMALL LETTER P |
| 409 | 0x0071: 0x98, # LATIN SMALL LETTER Q |
| 410 | 0x0072: 0x99, # LATIN SMALL LETTER R |
| 411 | 0x0073: 0xA2, # LATIN SMALL LETTER S |
| 412 | 0x0074: 0xA3, # LATIN SMALL LETTER T |
| 413 | 0x0075: 0xA4, # LATIN SMALL LETTER U |
| 414 | 0x0076: 0xA5, # LATIN SMALL LETTER V |
| 415 | 0x0077: 0xA6, # LATIN SMALL LETTER W |
| 416 | 0x0078: 0xA7, # LATIN SMALL LETTER X |
| 417 | 0x0079: 0xA8, # LATIN SMALL LETTER Y |
| 418 | 0x007A: 0xA9, # LATIN SMALL LETTER Z |
| 419 | 0x007B: 0xC0, # LEFT CURLY BRACKET |
| 420 | 0x007C: 0x6A, # VERTICAL LINE |
| 421 | 0x007D: 0xD0, # RIGHT CURLY BRACKET |
| 422 | 0x007E: 0xA1, # TILDE |
| 423 | 0x007F: 0x07, # DELETE |
| 424 | 0x0080: 0x20, # CONTROL |
| 425 | 0x0081: 0x21, # CONTROL |
| 426 | 0x0082: 0x22, # CONTROL |
| 427 | 0x0083: 0x23, # CONTROL |
| 428 | 0x0084: 0x24, # CONTROL |
| 429 | 0x0085: 0x15, # CONTROL |
| 430 | 0x0086: 0x06, # CONTROL |
| 431 | 0x0087: 0x17, # CONTROL |
| 432 | 0x0088: 0x28, # CONTROL |
| 433 | 0x0089: 0x29, # CONTROL |
| 434 | 0x008A: 0x2A, # CONTROL |
| 435 | 0x008B: 0x2B, # CONTROL |
| 436 | 0x008C: 0x2C, # CONTROL |
| 437 | 0x008D: 0x09, # CONTROL |
| 438 | 0x008E: 0x0A, # CONTROL |
| 439 | 0x008F: 0x1B, # CONTROL |
| 440 | 0x0090: 0x30, # CONTROL |
| 441 | 0x0091: 0x31, # CONTROL |
| 442 | 0x0092: 0x1A, # CONTROL |
| 443 | 0x0093: 0x33, # CONTROL |
| 444 | 0x0094: 0x34, # CONTROL |
| 445 | 0x0095: 0x35, # CONTROL |
| 446 | 0x0096: 0x36, # CONTROL |
| 447 | 0x0097: 0x08, # CONTROL |
| 448 | 0x0098: 0x38, # CONTROL |
| 449 | 0x0099: 0x39, # CONTROL |
| 450 | 0x009A: 0x3A, # CONTROL |
| 451 | 0x009B: 0x3B, # CONTROL |
| 452 | 0x009C: 0x04, # CONTROL |
| 453 | 0x009D: 0x14, # CONTROL |
| 454 | 0x009E: 0x3E, # CONTROL |
| 455 | 0x009F: 0xFF, # CONTROL |
| 456 | 0x00A0: 0x74, # NO-BREAK SPACE |
| 457 | 0x00A3: 0xB0, # POUND SIGN |
| 458 | 0x00A6: 0xDF, # BROKEN BAR |
| 459 | 0x00A7: 0xEB, # SECTION SIGN |
| 460 | 0x00A8: 0x70, # DIAERESIS |
| 461 | 0x00A9: 0xFB, # COPYRIGHT SIGN |
| 462 | 0x00AB: 0xEE, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK |
| 463 | 0x00AC: 0xEF, # NOT SIGN |
| 464 | 0x00AD: 0xCA, # SOFT HYPHEN |
| 465 | 0x00B0: 0x90, # DEGREE SIGN |
| 466 | 0x00B1: 0xDA, # PLUS-MINUS SIGN |
| 467 | 0x00B2: 0xEA, # SUPERSCRIPT TWO |
| 468 | 0x00B3: 0xFA, # SUPERSCRIPT THREE |
| 469 | 0x00B4: 0xA0, # ACUTE ACCENT |
| 470 | 0x00BB: 0xFE, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK |
| 471 | 0x00BD: 0xDB, # VULGAR FRACTION ONE HALF |
| 472 | 0x0385: 0x80, # GREEK DIALYTIKA TONOS |
| 473 | 0x0386: 0x71, # GREEK CAPITAL LETTER ALPHA WITH TONOS |
| 474 | 0x0387: 0xDD, # GREEK ANO TELEIA |
| 475 | 0x0388: 0x72, # GREEK CAPITAL LETTER EPSILON WITH TONOS |
| 476 | 0x0389: 0x73, # GREEK CAPITAL LETTER ETA WITH TONOS |
| 477 | 0x038A: 0x75, # GREEK CAPITAL LETTER IOTA WITH TONOS |
| 478 | 0x038C: 0x76, # GREEK CAPITAL LETTER OMICRON WITH TONOS |
| 479 | 0x038E: 0x77, # GREEK CAPITAL LETTER UPSILON WITH TONOS |
| 480 | 0x038F: 0x78, # GREEK CAPITAL LETTER OMEGA WITH TONOS |
| 481 | 0x0390: 0xCC, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS |
| 482 | 0x0391: 0x41, # GREEK CAPITAL LETTER ALPHA |
| 483 | 0x0392: 0x42, # GREEK CAPITAL LETTER BETA |
| 484 | 0x0393: 0x43, # GREEK CAPITAL LETTER GAMMA |
| 485 | 0x0394: 0x44, # GREEK CAPITAL LETTER DELTA |
| 486 | 0x0395: 0x45, # GREEK CAPITAL LETTER EPSILON |
| 487 | 0x0396: 0x46, # GREEK CAPITAL LETTER ZETA |
| 488 | 0x0397: 0x47, # GREEK CAPITAL LETTER ETA |
| 489 | 0x0398: 0x48, # GREEK CAPITAL LETTER THETA |
| 490 | 0x0399: 0x49, # GREEK CAPITAL LETTER IOTA |
| 491 | 0x039A: 0x51, # GREEK CAPITAL LETTER KAPPA |
| 492 | 0x039B: 0x52, # GREEK CAPITAL LETTER LAMDA |
| 493 | 0x039C: 0x53, # GREEK CAPITAL LETTER MU |
| 494 | 0x039D: 0x54, # GREEK CAPITAL LETTER NU |
| 495 | 0x039E: 0x55, # GREEK CAPITAL LETTER XI |
| 496 | 0x039F: 0x56, # GREEK CAPITAL LETTER OMICRON |
| 497 | 0x03A0: 0x57, # GREEK CAPITAL LETTER PI |
| 498 | 0x03A1: 0x58, # GREEK CAPITAL LETTER RHO |
| 499 | 0x03A3: 0x59, # GREEK CAPITAL LETTER SIGMA |
| 500 | 0x03A4: 0x62, # GREEK CAPITAL LETTER TAU |
| 501 | 0x03A5: 0x63, # GREEK CAPITAL LETTER UPSILON |
| 502 | 0x03A6: 0x64, # GREEK CAPITAL LETTER PHI |
| 503 | 0x03A7: 0x65, # GREEK CAPITAL LETTER CHI |
| 504 | 0x03A8: 0x66, # GREEK CAPITAL LETTER PSI |
| 505 | 0x03A9: 0x67, # GREEK CAPITAL LETTER OMEGA |
| 506 | 0x03AA: 0x68, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA |
| 507 | 0x03AB: 0x69, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA |
| 508 | 0x03AC: 0xB1, # GREEK SMALL LETTER ALPHA WITH TONOS |
| 509 | 0x03AD: 0xB2, # GREEK SMALL LETTER EPSILON WITH TONOS |
| 510 | 0x03AE: 0xB3, # GREEK SMALL LETTER ETA WITH TONOS |
| 511 | 0x03AF: 0xB5, # GREEK SMALL LETTER IOTA WITH TONOS |
| 512 | 0x03B0: 0xCD, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS |
| 513 | 0x03B1: 0x8A, # GREEK SMALL LETTER ALPHA |
| 514 | 0x03B2: 0x8B, # GREEK SMALL LETTER BETA |
| 515 | 0x03B3: 0x8C, # GREEK SMALL LETTER GAMMA |
| 516 | 0x03B4: 0x8D, # GREEK SMALL LETTER DELTA |
| 517 | 0x03B5: 0x8E, # GREEK SMALL LETTER EPSILON |
| 518 | 0x03B6: 0x8F, # GREEK SMALL LETTER ZETA |
| 519 | 0x03B7: 0x9A, # GREEK SMALL LETTER ETA |
| 520 | 0x03B8: 0x9B, # GREEK SMALL LETTER THETA |
| 521 | 0x03B9: 0x9C, # GREEK SMALL LETTER IOTA |
| 522 | 0x03BA: 0x9D, # GREEK SMALL LETTER KAPPA |
| 523 | 0x03BB: 0x9E, # GREEK SMALL LETTER LAMDA |
| 524 | 0x03BC: 0x9F, # GREEK SMALL LETTER MU |
| 525 | 0x03BD: 0xAA, # GREEK SMALL LETTER NU |
| 526 | 0x03BE: 0xAB, # GREEK SMALL LETTER XI |
| 527 | 0x03BF: 0xAC, # GREEK SMALL LETTER OMICRON |
| 528 | 0x03C0: 0xAD, # GREEK SMALL LETTER PI |
| 529 | 0x03C1: 0xAE, # GREEK SMALL LETTER RHO |
| 530 | 0x03C2: 0xBA, # GREEK SMALL LETTER FINAL SIGMA |
| 531 | 0x03C3: 0xAF, # GREEK SMALL LETTER SIGMA |
| 532 | 0x03C4: 0xBB, # GREEK SMALL LETTER TAU |
| 533 | 0x03C5: 0xBC, # GREEK SMALL LETTER UPSILON |
| 534 | 0x03C6: 0xBD, # GREEK SMALL LETTER PHI |
| 535 | 0x03C7: 0xBE, # GREEK SMALL LETTER CHI |
| 536 | 0x03C8: 0xBF, # GREEK SMALL LETTER PSI |
| 537 | 0x03C9: 0xCB, # GREEK SMALL LETTER OMEGA |
| 538 | 0x03CA: 0xB4, # GREEK SMALL LETTER IOTA WITH DIALYTIKA |
| 539 | 0x03CB: 0xB8, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA |
| 540 | 0x03CC: 0xB6, # GREEK SMALL LETTER OMICRON WITH TONOS |
| 541 | 0x03CD: 0xB7, # GREEK SMALL LETTER UPSILON WITH TONOS |
| 542 | 0x03CE: 0xB9, # GREEK SMALL LETTER OMEGA WITH TONOS |
| 543 | 0x2015: 0xCF, # HORIZONTAL BAR |
| 544 | 0x2018: 0xCE, # LEFT SINGLE QUOTATION MARK |
| 545 | 0x2019: 0xDE, # RIGHT SINGLE QUOTATION MARK |
Marc-André Lemburg | d9cf593 | 2005-10-24 12:14:59 +0000 | [diff] [blame] | 546 | } |