aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2005-10-24 12:07:49 +0000
committerMarc-André Lemburg <mal@egenix.com>2005-10-24 12:07:49 +0000
commit3c72ded23dfbeb66072171a5707b27d9984ef332 (patch)
treeee435de77abcbe9061c6ec3b3de79e3ab910675c /Lib/encodings
parentuse PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-P... (diff)
downloadcpython-3c72ded23dfbeb66072171a5707b27d9984ef332.tar.gz
cpython-3c72ded23dfbeb66072171a5707b27d9984ef332.tar.bz2
cpython-3c72ded23dfbeb66072171a5707b27d9984ef332.zip
Removed the decoding_map from the codecs where this is possible.
Replaced the tis_620, cp1140 and koi8_u codecs with new ones based on custom mapping files.
Diffstat (limited to 'Lib/encodings')
-rw-r--r--Lib/encodings/cp037.py1267
-rw-r--r--Lib/encodings/cp1006.py1121
-rw-r--r--Lib/encodings/cp1026.py1267
-rw-r--r--Lib/encodings/cp1140.py534
-rw-r--r--Lib/encodings/cp1250.py1100
-rw-r--r--Lib/encodings/cp1251.py1142
-rw-r--r--Lib/encodings/cp1252.py1053
-rw-r--r--Lib/encodings/cp1253.py1104
-rw-r--r--Lib/encodings/cp1254.py1055
-rw-r--r--Lib/encodings/cp1255.py1084
-rw-r--r--Lib/encodings/cp1256.py1116
-rw-r--r--Lib/encodings/cp1257.py1094
-rw-r--r--Lib/encodings/cp1258.py1059
-rw-r--r--Lib/encodings/cp424.py1191
-rw-r--r--Lib/encodings/cp500.py1267
-rw-r--r--Lib/encodings/cp856.py1077
-rw-r--r--Lib/encodings/cp874.py1096
-rw-r--r--Lib/encodings/cp875.py1254
-rw-r--r--Lib/encodings/iso8859_1.py1031
-rw-r--r--Lib/encodings/iso8859_10.py1077
-rw-r--r--Lib/encodings/iso8859_11.py1094
-rw-r--r--Lib/encodings/iso8859_13.py1087
-rw-r--r--Lib/encodings/iso8859_14.py1062
-rw-r--r--Lib/encodings/iso8859_15.py1039
-rw-r--r--Lib/encodings/iso8859_16.py1071
-rw-r--r--Lib/encodings/iso8859_2.py1088
-rw-r--r--Lib/encodings/iso8859_3.py1038
-rw-r--r--Lib/encodings/iso8859_4.py1081
-rw-r--r--Lib/encodings/iso8859_5.py1125
-rw-r--r--Lib/encodings/iso8859_6.py964
-rw-r--r--Lib/encodings/iso8859_7.py1099
-rw-r--r--Lib/encodings/iso8859_8.py993
-rw-r--r--Lib/encodings/iso8859_9.py1037
-rw-r--r--Lib/encodings/koi8_r.py1159
-rw-r--r--Lib/encodings/koi8_u.py546
-rw-r--r--Lib/encodings/mac_centeuro.py1157
-rw-r--r--Lib/encodings/mac_croatian.py1155
-rw-r--r--Lib/encodings/mac_cyrillic.py1155
-rw-r--r--Lib/encodings/mac_farsi.py1159
-rw-r--r--Lib/encodings/mac_greek.py1157
-rw-r--r--Lib/encodings/mac_iceland.py1153
-rw-r--r--Lib/encodings/mac_roman.py1154
-rw-r--r--Lib/encodings/mac_romanian.py1154
-rw-r--r--Lib/encodings/mac_turkish.py1154
-rw-r--r--Lib/encodings/tis_620.py527
45 files changed, 22734 insertions, 25663 deletions
diff --git a/Lib/encodings/cp037.py b/Lib/encodings/cp037.py
index f89c62ddfae..29edbef9c58 100644
--- a/Lib/encodings/cp037.py
+++ b/Lib/encodings/cp037.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/EBCDIC/CP037.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/EBCDIC/CP037.TXT' with gencodec.py.
"""#"
@@ -28,766 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0004: 0x009c, # CONTROL
- 0x0005: 0x0009, # HORIZONTAL TABULATION
- 0x0006: 0x0086, # CONTROL
- 0x0007: 0x007f, # DELETE
- 0x0008: 0x0097, # CONTROL
- 0x0009: 0x008d, # CONTROL
- 0x000a: 0x008e, # CONTROL
- 0x0014: 0x009d, # CONTROL
- 0x0015: 0x0085, # CONTROL
- 0x0016: 0x0008, # BACKSPACE
- 0x0017: 0x0087, # CONTROL
- 0x001a: 0x0092, # CONTROL
- 0x001b: 0x008f, # CONTROL
- 0x0020: 0x0080, # CONTROL
- 0x0021: 0x0081, # CONTROL
- 0x0022: 0x0082, # CONTROL
- 0x0023: 0x0083, # CONTROL
- 0x0024: 0x0084, # CONTROL
- 0x0025: 0x000a, # LINE FEED
- 0x0026: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0027: 0x001b, # ESCAPE
- 0x0028: 0x0088, # CONTROL
- 0x0029: 0x0089, # CONTROL
- 0x002a: 0x008a, # CONTROL
- 0x002b: 0x008b, # CONTROL
- 0x002c: 0x008c, # CONTROL
- 0x002d: 0x0005, # ENQUIRY
- 0x002e: 0x0006, # ACKNOWLEDGE
- 0x002f: 0x0007, # BELL
- 0x0030: 0x0090, # CONTROL
- 0x0031: 0x0091, # CONTROL
- 0x0032: 0x0016, # SYNCHRONOUS IDLE
- 0x0033: 0x0093, # CONTROL
- 0x0034: 0x0094, # CONTROL
- 0x0035: 0x0095, # CONTROL
- 0x0036: 0x0096, # CONTROL
- 0x0037: 0x0004, # END OF TRANSMISSION
- 0x0038: 0x0098, # CONTROL
- 0x0039: 0x0099, # CONTROL
- 0x003a: 0x009a, # CONTROL
- 0x003b: 0x009b, # CONTROL
- 0x003c: 0x0014, # DEVICE CONTROL FOUR
- 0x003d: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x003e: 0x009e, # CONTROL
- 0x003f: 0x001a, # SUBSTITUTE
- 0x0040: 0x0020, # SPACE
- 0x0041: 0x00a0, # NO-BREAK SPACE
- 0x0042: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x0043: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x0044: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x0045: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x0046: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x0047: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x0048: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x0049: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x004a: 0x00a2, # CENT SIGN
- 0x004b: 0x002e, # FULL STOP
- 0x004c: 0x003c, # LESS-THAN SIGN
- 0x004d: 0x0028, # LEFT PARENTHESIS
- 0x004e: 0x002b, # PLUS SIGN
- 0x004f: 0x007c, # VERTICAL LINE
- 0x0050: 0x0026, # AMPERSAND
- 0x0051: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x0052: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x0053: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x0054: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x0055: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x0056: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x0057: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x0058: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x0059: 0x00df, # LATIN SMALL LETTER SHARP S (GERMAN)
- 0x005a: 0x0021, # EXCLAMATION MARK
- 0x005b: 0x0024, # DOLLAR SIGN
- 0x005c: 0x002a, # ASTERISK
- 0x005d: 0x0029, # RIGHT PARENTHESIS
- 0x005e: 0x003b, # SEMICOLON
- 0x005f: 0x00ac, # NOT SIGN
- 0x0060: 0x002d, # HYPHEN-MINUS
- 0x0061: 0x002f, # SOLIDUS
- 0x0062: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x0063: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x0064: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x0065: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x0066: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x0067: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x0068: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x0069: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x006a: 0x00a6, # BROKEN BAR
- 0x006b: 0x002c, # COMMA
- 0x006c: 0x0025, # PERCENT SIGN
- 0x006d: 0x005f, # LOW LINE
- 0x006e: 0x003e, # GREATER-THAN SIGN
- 0x006f: 0x003f, # QUESTION MARK
- 0x0070: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x0071: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x0072: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x0073: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x0074: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x0075: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x0076: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x0077: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x0078: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x0079: 0x0060, # GRAVE ACCENT
- 0x007a: 0x003a, # COLON
- 0x007b: 0x0023, # NUMBER SIGN
- 0x007c: 0x0040, # COMMERCIAL AT
- 0x007d: 0x0027, # APOSTROPHE
- 0x007e: 0x003d, # EQUALS SIGN
- 0x007f: 0x0022, # QUOTATION MARK
- 0x0080: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x0081: 0x0061, # LATIN SMALL LETTER A
- 0x0082: 0x0062, # LATIN SMALL LETTER B
- 0x0083: 0x0063, # LATIN SMALL LETTER C
- 0x0084: 0x0064, # LATIN SMALL LETTER D
- 0x0085: 0x0065, # LATIN SMALL LETTER E
- 0x0086: 0x0066, # LATIN SMALL LETTER F
- 0x0087: 0x0067, # LATIN SMALL LETTER G
- 0x0088: 0x0068, # LATIN SMALL LETTER H
- 0x0089: 0x0069, # LATIN SMALL LETTER I
- 0x008a: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x008b: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x008c: 0x00f0, # LATIN SMALL LETTER ETH (ICELANDIC)
- 0x008d: 0x00fd, # LATIN SMALL LETTER Y WITH ACUTE
- 0x008e: 0x00fe, # LATIN SMALL LETTER THORN (ICELANDIC)
- 0x008f: 0x00b1, # PLUS-MINUS SIGN
- 0x0090: 0x00b0, # DEGREE SIGN
- 0x0091: 0x006a, # LATIN SMALL LETTER J
- 0x0092: 0x006b, # LATIN SMALL LETTER K
- 0x0093: 0x006c, # LATIN SMALL LETTER L
- 0x0094: 0x006d, # LATIN SMALL LETTER M
- 0x0095: 0x006e, # LATIN SMALL LETTER N
- 0x0096: 0x006f, # LATIN SMALL LETTER O
- 0x0097: 0x0070, # LATIN SMALL LETTER P
- 0x0098: 0x0071, # LATIN SMALL LETTER Q
- 0x0099: 0x0072, # LATIN SMALL LETTER R
- 0x009a: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x009b: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x009c: 0x00e6, # LATIN SMALL LIGATURE AE
- 0x009d: 0x00b8, # CEDILLA
- 0x009e: 0x00c6, # LATIN CAPITAL LIGATURE AE
- 0x009f: 0x00a4, # CURRENCY SIGN
- 0x00a0: 0x00b5, # MICRO SIGN
- 0x00a1: 0x007e, # TILDE
- 0x00a2: 0x0073, # LATIN SMALL LETTER S
- 0x00a3: 0x0074, # LATIN SMALL LETTER T
- 0x00a4: 0x0075, # LATIN SMALL LETTER U
- 0x00a5: 0x0076, # LATIN SMALL LETTER V
- 0x00a6: 0x0077, # LATIN SMALL LETTER W
- 0x00a7: 0x0078, # LATIN SMALL LETTER X
- 0x00a8: 0x0079, # LATIN SMALL LETTER Y
- 0x00a9: 0x007a, # LATIN SMALL LETTER Z
- 0x00aa: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00ab: 0x00bf, # INVERTED QUESTION MARK
- 0x00ac: 0x00d0, # LATIN CAPITAL LETTER ETH (ICELANDIC)
- 0x00ad: 0x00dd, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00ae: 0x00de, # LATIN CAPITAL LETTER THORN (ICELANDIC)
- 0x00af: 0x00ae, # REGISTERED SIGN
- 0x00b0: 0x005e, # CIRCUMFLEX ACCENT
- 0x00b1: 0x00a3, # POUND SIGN
- 0x00b2: 0x00a5, # YEN SIGN
- 0x00b3: 0x00b7, # MIDDLE DOT
- 0x00b4: 0x00a9, # COPYRIGHT SIGN
- 0x00b5: 0x00a7, # SECTION SIGN
- 0x00b7: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00b8: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00b9: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00ba: 0x005b, # LEFT SQUARE BRACKET
- 0x00bb: 0x005d, # RIGHT SQUARE BRACKET
- 0x00bc: 0x00af, # MACRON
- 0x00bd: 0x00a8, # DIAERESIS
- 0x00be: 0x00b4, # ACUTE ACCENT
- 0x00bf: 0x00d7, # MULTIPLICATION SIGN
- 0x00c0: 0x007b, # LEFT CURLY BRACKET
- 0x00c1: 0x0041, # LATIN CAPITAL LETTER A
- 0x00c2: 0x0042, # LATIN CAPITAL LETTER B
- 0x00c3: 0x0043, # LATIN CAPITAL LETTER C
- 0x00c4: 0x0044, # LATIN CAPITAL LETTER D
- 0x00c5: 0x0045, # LATIN CAPITAL LETTER E
- 0x00c6: 0x0046, # LATIN CAPITAL LETTER F
- 0x00c7: 0x0047, # LATIN CAPITAL LETTER G
- 0x00c8: 0x0048, # LATIN CAPITAL LETTER H
- 0x00c9: 0x0049, # LATIN CAPITAL LETTER I
- 0x00ca: 0x00ad, # SOFT HYPHEN
- 0x00cb: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00cc: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00cd: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x00ce: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00cf: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00d0: 0x007d, # RIGHT CURLY BRACKET
- 0x00d1: 0x004a, # LATIN CAPITAL LETTER J
- 0x00d2: 0x004b, # LATIN CAPITAL LETTER K
- 0x00d3: 0x004c, # LATIN CAPITAL LETTER L
- 0x00d4: 0x004d, # LATIN CAPITAL LETTER M
- 0x00d5: 0x004e, # LATIN CAPITAL LETTER N
- 0x00d6: 0x004f, # LATIN CAPITAL LETTER O
- 0x00d7: 0x0050, # LATIN CAPITAL LETTER P
- 0x00d8: 0x0051, # LATIN CAPITAL LETTER Q
- 0x00d9: 0x0052, # LATIN CAPITAL LETTER R
- 0x00da: 0x00b9, # SUPERSCRIPT ONE
- 0x00db: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00dd: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00de: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00df: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x00e0: 0x005c, # REVERSE SOLIDUS
- 0x00e1: 0x00f7, # DIVISION SIGN
- 0x00e2: 0x0053, # LATIN CAPITAL LETTER S
- 0x00e3: 0x0054, # LATIN CAPITAL LETTER T
- 0x00e4: 0x0055, # LATIN CAPITAL LETTER U
- 0x00e5: 0x0056, # LATIN CAPITAL LETTER V
- 0x00e6: 0x0057, # LATIN CAPITAL LETTER W
- 0x00e7: 0x0058, # LATIN CAPITAL LETTER X
- 0x00e8: 0x0059, # LATIN CAPITAL LETTER Y
- 0x00e9: 0x005a, # LATIN CAPITAL LETTER Z
- 0x00ea: 0x00b2, # SUPERSCRIPT TWO
- 0x00eb: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00ec: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00ed: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00ee: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00ef: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00f0: 0x0030, # DIGIT ZERO
- 0x00f1: 0x0031, # DIGIT ONE
- 0x00f2: 0x0032, # DIGIT TWO
- 0x00f3: 0x0033, # DIGIT THREE
- 0x00f4: 0x0034, # DIGIT FOUR
- 0x00f5: 0x0035, # DIGIT FIVE
- 0x00f6: 0x0036, # DIGIT SIX
- 0x00f7: 0x0037, # DIGIT SEVEN
- 0x00f8: 0x0038, # DIGIT EIGHT
- 0x00f9: 0x0039, # DIGIT NINE
- 0x00fa: 0x00b3, # SUPERSCRIPT THREE
- 0x00fb: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00fd: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00fe: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00ff: 0x009f, # CONTROL
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x9c' # 0x0004 -> CONTROL
- u'\t' # 0x0005 -> HORIZONTAL TABULATION
- u'\x86' # 0x0006 -> CONTROL
- u'\x7f' # 0x0007 -> DELETE
- u'\x97' # 0x0008 -> CONTROL
- u'\x8d' # 0x0009 -> CONTROL
- u'\x8e' # 0x000a -> CONTROL
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x9d' # 0x0014 -> CONTROL
- u'\x85' # 0x0015 -> CONTROL
- u'\x08' # 0x0016 -> BACKSPACE
- u'\x87' # 0x0017 -> CONTROL
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x92' # 0x001a -> CONTROL
- u'\x8f' # 0x001b -> CONTROL
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u'\x80' # 0x0020 -> CONTROL
- u'\x81' # 0x0021 -> CONTROL
- u'\x82' # 0x0022 -> CONTROL
- u'\x83' # 0x0023 -> CONTROL
- u'\x84' # 0x0024 -> CONTROL
- u'\n' # 0x0025 -> LINE FEED
- u'\x17' # 0x0026 -> END OF TRANSMISSION BLOCK
- u'\x1b' # 0x0027 -> ESCAPE
- u'\x88' # 0x0028 -> CONTROL
- u'\x89' # 0x0029 -> CONTROL
- u'\x8a' # 0x002a -> CONTROL
- u'\x8b' # 0x002b -> CONTROL
- u'\x8c' # 0x002c -> CONTROL
- u'\x05' # 0x002d -> ENQUIRY
- u'\x06' # 0x002e -> ACKNOWLEDGE
- u'\x07' # 0x002f -> BELL
- u'\x90' # 0x0030 -> CONTROL
- u'\x91' # 0x0031 -> CONTROL
- u'\x16' # 0x0032 -> SYNCHRONOUS IDLE
- u'\x93' # 0x0033 -> CONTROL
- u'\x94' # 0x0034 -> CONTROL
- u'\x95' # 0x0035 -> CONTROL
- u'\x96' # 0x0036 -> CONTROL
- u'\x04' # 0x0037 -> END OF TRANSMISSION
- u'\x98' # 0x0038 -> CONTROL
- u'\x99' # 0x0039 -> CONTROL
- u'\x9a' # 0x003a -> CONTROL
- u'\x9b' # 0x003b -> CONTROL
- u'\x14' # 0x003c -> DEVICE CONTROL FOUR
- u'\x15' # 0x003d -> NEGATIVE ACKNOWLEDGE
- u'\x9e' # 0x003e -> CONTROL
- u'\x1a' # 0x003f -> SUBSTITUTE
- u' ' # 0x0040 -> SPACE
- u'\xa0' # 0x0041 -> NO-BREAK SPACE
- u'\xe2' # 0x0042 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe4' # 0x0043 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe0' # 0x0044 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe1' # 0x0045 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe3' # 0x0046 -> LATIN SMALL LETTER A WITH TILDE
- u'\xe5' # 0x0047 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe7' # 0x0048 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xf1' # 0x0049 -> LATIN SMALL LETTER N WITH TILDE
- u'\xa2' # 0x004a -> CENT SIGN
- u'.' # 0x004b -> FULL STOP
- u'<' # 0x004c -> LESS-THAN SIGN
- u'(' # 0x004d -> LEFT PARENTHESIS
- u'+' # 0x004e -> PLUS SIGN
- u'|' # 0x004f -> VERTICAL LINE
- u'&' # 0x0050 -> AMPERSAND
- u'\xe9' # 0x0051 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x0052 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x0053 -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xe8' # 0x0054 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xed' # 0x0055 -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x0056 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x0057 -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xec' # 0x0058 -> LATIN SMALL LETTER I WITH GRAVE
- u'\xdf' # 0x0059 -> LATIN SMALL LETTER SHARP S (GERMAN)
- u'!' # 0x005a -> EXCLAMATION MARK
- u'$' # 0x005b -> DOLLAR SIGN
- u'*' # 0x005c -> ASTERISK
- u')' # 0x005d -> RIGHT PARENTHESIS
- u';' # 0x005e -> SEMICOLON
- u'\xac' # 0x005f -> NOT SIGN
- u'-' # 0x0060 -> HYPHEN-MINUS
- u'/' # 0x0061 -> SOLIDUS
- u'\xc2' # 0x0062 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xc4' # 0x0063 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc0' # 0x0064 -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc1' # 0x0065 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc3' # 0x0066 -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xc5' # 0x0067 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc7' # 0x0068 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xd1' # 0x0069 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xa6' # 0x006a -> BROKEN BAR
- u',' # 0x006b -> COMMA
- u'%' # 0x006c -> PERCENT SIGN
- u'_' # 0x006d -> LOW LINE
- u'>' # 0x006e -> GREATER-THAN SIGN
- u'?' # 0x006f -> QUESTION MARK
- u'\xf8' # 0x0070 -> LATIN SMALL LETTER O WITH STROKE
- u'\xc9' # 0x0071 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xca' # 0x0072 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xcb' # 0x0073 -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xc8' # 0x0074 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xcd' # 0x0075 -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x0076 -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x0077 -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\xcc' # 0x0078 -> LATIN CAPITAL LETTER I WITH GRAVE
- u'`' # 0x0079 -> GRAVE ACCENT
- u':' # 0x007a -> COLON
- u'#' # 0x007b -> NUMBER SIGN
- u'@' # 0x007c -> COMMERCIAL AT
- u"'" # 0x007d -> APOSTROPHE
- u'=' # 0x007e -> EQUALS SIGN
- u'"' # 0x007f -> QUOTATION MARK
- u'\xd8' # 0x0080 -> LATIN CAPITAL LETTER O WITH STROKE
- u'a' # 0x0081 -> LATIN SMALL LETTER A
- u'b' # 0x0082 -> LATIN SMALL LETTER B
- u'c' # 0x0083 -> LATIN SMALL LETTER C
- u'd' # 0x0084 -> LATIN SMALL LETTER D
- u'e' # 0x0085 -> LATIN SMALL LETTER E
- u'f' # 0x0086 -> LATIN SMALL LETTER F
- u'g' # 0x0087 -> LATIN SMALL LETTER G
- u'h' # 0x0088 -> LATIN SMALL LETTER H
- u'i' # 0x0089 -> LATIN SMALL LETTER I
- u'\xab' # 0x008a -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbb' # 0x008b -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xf0' # 0x008c -> LATIN SMALL LETTER ETH (ICELANDIC)
- u'\xfd' # 0x008d -> LATIN SMALL LETTER Y WITH ACUTE
- u'\xfe' # 0x008e -> LATIN SMALL LETTER THORN (ICELANDIC)
- u'\xb1' # 0x008f -> PLUS-MINUS SIGN
- u'\xb0' # 0x0090 -> DEGREE SIGN
- u'j' # 0x0091 -> LATIN SMALL LETTER J
- u'k' # 0x0092 -> LATIN SMALL LETTER K
- u'l' # 0x0093 -> LATIN SMALL LETTER L
- u'm' # 0x0094 -> LATIN SMALL LETTER M
- u'n' # 0x0095 -> LATIN SMALL LETTER N
- u'o' # 0x0096 -> LATIN SMALL LETTER O
- u'p' # 0x0097 -> LATIN SMALL LETTER P
- u'q' # 0x0098 -> LATIN SMALL LETTER Q
- u'r' # 0x0099 -> LATIN SMALL LETTER R
- u'\xaa' # 0x009a -> FEMININE ORDINAL INDICATOR
- u'\xba' # 0x009b -> MASCULINE ORDINAL INDICATOR
- u'\xe6' # 0x009c -> LATIN SMALL LIGATURE AE
- u'\xb8' # 0x009d -> CEDILLA
- u'\xc6' # 0x009e -> LATIN CAPITAL LIGATURE AE
- u'\xa4' # 0x009f -> CURRENCY SIGN
- u'\xb5' # 0x00a0 -> MICRO SIGN
- u'~' # 0x00a1 -> TILDE
- u's' # 0x00a2 -> LATIN SMALL LETTER S
- u't' # 0x00a3 -> LATIN SMALL LETTER T
- u'u' # 0x00a4 -> LATIN SMALL LETTER U
- u'v' # 0x00a5 -> LATIN SMALL LETTER V
- u'w' # 0x00a6 -> LATIN SMALL LETTER W
- u'x' # 0x00a7 -> LATIN SMALL LETTER X
- u'y' # 0x00a8 -> LATIN SMALL LETTER Y
- u'z' # 0x00a9 -> LATIN SMALL LETTER Z
- u'\xa1' # 0x00aa -> INVERTED EXCLAMATION MARK
- u'\xbf' # 0x00ab -> INVERTED QUESTION MARK
- u'\xd0' # 0x00ac -> LATIN CAPITAL LETTER ETH (ICELANDIC)
- u'\xdd' # 0x00ad -> LATIN CAPITAL LETTER Y WITH ACUTE
- u'\xde' # 0x00ae -> LATIN CAPITAL LETTER THORN (ICELANDIC)
- u'\xae' # 0x00af -> REGISTERED SIGN
- u'^' # 0x00b0 -> CIRCUMFLEX ACCENT
- u'\xa3' # 0x00b1 -> POUND SIGN
- u'\xa5' # 0x00b2 -> YEN SIGN
- u'\xb7' # 0x00b3 -> MIDDLE DOT
- u'\xa9' # 0x00b4 -> COPYRIGHT SIGN
- u'\xa7' # 0x00b5 -> SECTION SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xbc' # 0x00b7 -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00b8 -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00b9 -> VULGAR FRACTION THREE QUARTERS
- u'[' # 0x00ba -> LEFT SQUARE BRACKET
- u']' # 0x00bb -> RIGHT SQUARE BRACKET
- u'\xaf' # 0x00bc -> MACRON
- u'\xa8' # 0x00bd -> DIAERESIS
- u'\xb4' # 0x00be -> ACUTE ACCENT
- u'\xd7' # 0x00bf -> MULTIPLICATION SIGN
- u'{' # 0x00c0 -> LEFT CURLY BRACKET
- u'A' # 0x00c1 -> LATIN CAPITAL LETTER A
- u'B' # 0x00c2 -> LATIN CAPITAL LETTER B
- u'C' # 0x00c3 -> LATIN CAPITAL LETTER C
- u'D' # 0x00c4 -> LATIN CAPITAL LETTER D
- u'E' # 0x00c5 -> LATIN CAPITAL LETTER E
- u'F' # 0x00c6 -> LATIN CAPITAL LETTER F
- u'G' # 0x00c7 -> LATIN CAPITAL LETTER G
- u'H' # 0x00c8 -> LATIN CAPITAL LETTER H
- u'I' # 0x00c9 -> LATIN CAPITAL LETTER I
- u'\xad' # 0x00ca -> SOFT HYPHEN
- u'\xf4' # 0x00cb -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf6' # 0x00cc -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf2' # 0x00cd -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf3' # 0x00ce -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf5' # 0x00cf -> LATIN SMALL LETTER O WITH TILDE
- u'}' # 0x00d0 -> RIGHT CURLY BRACKET
- u'J' # 0x00d1 -> LATIN CAPITAL LETTER J
- u'K' # 0x00d2 -> LATIN CAPITAL LETTER K
- u'L' # 0x00d3 -> LATIN CAPITAL LETTER L
- u'M' # 0x00d4 -> LATIN CAPITAL LETTER M
- u'N' # 0x00d5 -> LATIN CAPITAL LETTER N
- u'O' # 0x00d6 -> LATIN CAPITAL LETTER O
- u'P' # 0x00d7 -> LATIN CAPITAL LETTER P
- u'Q' # 0x00d8 -> LATIN CAPITAL LETTER Q
- u'R' # 0x00d9 -> LATIN CAPITAL LETTER R
- u'\xb9' # 0x00da -> SUPERSCRIPT ONE
- u'\xfb' # 0x00db -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00dc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\xf9' # 0x00dd -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfa' # 0x00de -> LATIN SMALL LETTER U WITH ACUTE
- u'\xff' # 0x00df -> LATIN SMALL LETTER Y WITH DIAERESIS
- u'\\' # 0x00e0 -> REVERSE SOLIDUS
- u'\xf7' # 0x00e1 -> DIVISION SIGN
- u'S' # 0x00e2 -> LATIN CAPITAL LETTER S
- u'T' # 0x00e3 -> LATIN CAPITAL LETTER T
- u'U' # 0x00e4 -> LATIN CAPITAL LETTER U
- u'V' # 0x00e5 -> LATIN CAPITAL LETTER V
- u'W' # 0x00e6 -> LATIN CAPITAL LETTER W
- u'X' # 0x00e7 -> LATIN CAPITAL LETTER X
- u'Y' # 0x00e8 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x00e9 -> LATIN CAPITAL LETTER Z
- u'\xb2' # 0x00ea -> SUPERSCRIPT TWO
- u'\xd4' # 0x00eb -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\xd6' # 0x00ec -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd2' # 0x00ed -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xd3' # 0x00ee -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd5' # 0x00ef -> LATIN CAPITAL LETTER O WITH TILDE
- u'0' # 0x00f0 -> DIGIT ZERO
- u'1' # 0x00f1 -> DIGIT ONE
- u'2' # 0x00f2 -> DIGIT TWO
- u'3' # 0x00f3 -> DIGIT THREE
- u'4' # 0x00f4 -> DIGIT FOUR
- u'5' # 0x00f5 -> DIGIT FIVE
- u'6' # 0x00f6 -> DIGIT SIX
- u'7' # 0x00f7 -> DIGIT SEVEN
- u'8' # 0x00f8 -> DIGIT EIGHT
- u'9' # 0x00f9 -> DIGIT NINE
- u'\xb3' # 0x00fa -> SUPERSCRIPT THREE
- u'\xdb' # 0x00fb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00fc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xd9' # 0x00fd -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\xda' # 0x00fe -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\x9f' # 0x00ff -> CONTROL
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x9c' # 0x04 -> CONTROL
+ u'\t' # 0x05 -> HORIZONTAL TABULATION
+ u'\x86' # 0x06 -> CONTROL
+ u'\x7f' # 0x07 -> DELETE
+ u'\x97' # 0x08 -> CONTROL
+ u'\x8d' # 0x09 -> CONTROL
+ u'\x8e' # 0x0a -> CONTROL
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x9d' # 0x14 -> CONTROL
+ u'\x85' # 0x15 -> CONTROL
+ u'\x08' # 0x16 -> BACKSPACE
+ u'\x87' # 0x17 -> CONTROL
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x92' # 0x1a -> CONTROL
+ u'\x8f' # 0x1b -> CONTROL
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u'\x80' # 0x20 -> CONTROL
+ u'\x81' # 0x21 -> CONTROL
+ u'\x82' # 0x22 -> CONTROL
+ u'\x83' # 0x23 -> CONTROL
+ u'\x84' # 0x24 -> CONTROL
+ u'\n' # 0x25 -> LINE FEED
+ u'\x17' # 0x26 -> END OF TRANSMISSION BLOCK
+ u'\x1b' # 0x27 -> ESCAPE
+ u'\x88' # 0x28 -> CONTROL
+ u'\x89' # 0x29 -> CONTROL
+ u'\x8a' # 0x2a -> CONTROL
+ u'\x8b' # 0x2b -> CONTROL
+ u'\x8c' # 0x2c -> CONTROL
+ u'\x05' # 0x2d -> ENQUIRY
+ u'\x06' # 0x2e -> ACKNOWLEDGE
+ u'\x07' # 0x2f -> BELL
+ u'\x90' # 0x30 -> CONTROL
+ u'\x91' # 0x31 -> CONTROL
+ u'\x16' # 0x32 -> SYNCHRONOUS IDLE
+ u'\x93' # 0x33 -> CONTROL
+ u'\x94' # 0x34 -> CONTROL
+ u'\x95' # 0x35 -> CONTROL
+ u'\x96' # 0x36 -> CONTROL
+ u'\x04' # 0x37 -> END OF TRANSMISSION
+ u'\x98' # 0x38 -> CONTROL
+ u'\x99' # 0x39 -> CONTROL
+ u'\x9a' # 0x3a -> CONTROL
+ u'\x9b' # 0x3b -> CONTROL
+ u'\x14' # 0x3c -> DEVICE CONTROL FOUR
+ u'\x15' # 0x3d -> NEGATIVE ACKNOWLEDGE
+ u'\x9e' # 0x3e -> CONTROL
+ u'\x1a' # 0x3f -> SUBSTITUTE
+ u' ' # 0x40 -> SPACE
+ u'\xa0' # 0x41 -> NO-BREAK SPACE
+ u'\xe2' # 0x42 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe4' # 0x43 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe0' # 0x44 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0x45 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe3' # 0x46 -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe5' # 0x47 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe7' # 0x48 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xf1' # 0x49 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xa2' # 0x4a -> CENT SIGN
+ u'.' # 0x4b -> FULL STOP
+ u'<' # 0x4c -> LESS-THAN SIGN
+ u'(' # 0x4d -> LEFT PARENTHESIS
+ u'+' # 0x4e -> PLUS SIGN
+ u'|' # 0x4f -> VERTICAL LINE
+ u'&' # 0x50 -> AMPERSAND
+ u'\xe9' # 0x51 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0x52 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0x53 -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xe8' # 0x54 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xed' # 0x55 -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0x56 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0x57 -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xec' # 0x58 -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xdf' # 0x59 -> LATIN SMALL LETTER SHARP S (GERMAN)
+ u'!' # 0x5a -> EXCLAMATION MARK
+ u'$' # 0x5b -> DOLLAR SIGN
+ u'*' # 0x5c -> ASTERISK
+ u')' # 0x5d -> RIGHT PARENTHESIS
+ u';' # 0x5e -> SEMICOLON
+ u'\xac' # 0x5f -> NOT SIGN
+ u'-' # 0x60 -> HYPHEN-MINUS
+ u'/' # 0x61 -> SOLIDUS
+ u'\xc2' # 0x62 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xc4' # 0x63 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc0' # 0x64 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0x65 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc3' # 0x66 -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xc5' # 0x67 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc7' # 0x68 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xd1' # 0x69 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xa6' # 0x6a -> BROKEN BAR
+ u',' # 0x6b -> COMMA
+ u'%' # 0x6c -> PERCENT SIGN
+ u'_' # 0x6d -> LOW LINE
+ u'>' # 0x6e -> GREATER-THAN SIGN
+ u'?' # 0x6f -> QUESTION MARK
+ u'\xf8' # 0x70 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xc9' # 0x71 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0x72 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0x73 -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xc8' # 0x74 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xcd' # 0x75 -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0x76 -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0x77 -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xcc' # 0x78 -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'`' # 0x79 -> GRAVE ACCENT
+ u':' # 0x7a -> COLON
+ u'#' # 0x7b -> NUMBER SIGN
+ u'@' # 0x7c -> COMMERCIAL AT
+ u"'" # 0x7d -> APOSTROPHE
+ u'=' # 0x7e -> EQUALS SIGN
+ u'"' # 0x7f -> QUOTATION MARK
+ u'\xd8' # 0x80 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'a' # 0x81 -> LATIN SMALL LETTER A
+ u'b' # 0x82 -> LATIN SMALL LETTER B
+ u'c' # 0x83 -> LATIN SMALL LETTER C
+ u'd' # 0x84 -> LATIN SMALL LETTER D
+ u'e' # 0x85 -> LATIN SMALL LETTER E
+ u'f' # 0x86 -> LATIN SMALL LETTER F
+ u'g' # 0x87 -> LATIN SMALL LETTER G
+ u'h' # 0x88 -> LATIN SMALL LETTER H
+ u'i' # 0x89 -> LATIN SMALL LETTER I
+ u'\xab' # 0x8a -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0x8b -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xf0' # 0x8c -> LATIN SMALL LETTER ETH (ICELANDIC)
+ u'\xfd' # 0x8d -> LATIN SMALL LETTER Y WITH ACUTE
+ u'\xfe' # 0x8e -> LATIN SMALL LETTER THORN (ICELANDIC)
+ u'\xb1' # 0x8f -> PLUS-MINUS SIGN
+ u'\xb0' # 0x90 -> DEGREE SIGN
+ u'j' # 0x91 -> LATIN SMALL LETTER J
+ u'k' # 0x92 -> LATIN SMALL LETTER K
+ u'l' # 0x93 -> LATIN SMALL LETTER L
+ u'm' # 0x94 -> LATIN SMALL LETTER M
+ u'n' # 0x95 -> LATIN SMALL LETTER N
+ u'o' # 0x96 -> LATIN SMALL LETTER O
+ u'p' # 0x97 -> LATIN SMALL LETTER P
+ u'q' # 0x98 -> LATIN SMALL LETTER Q
+ u'r' # 0x99 -> LATIN SMALL LETTER R
+ u'\xaa' # 0x9a -> FEMININE ORDINAL INDICATOR
+ u'\xba' # 0x9b -> MASCULINE ORDINAL INDICATOR
+ u'\xe6' # 0x9c -> LATIN SMALL LIGATURE AE
+ u'\xb8' # 0x9d -> CEDILLA
+ u'\xc6' # 0x9e -> LATIN CAPITAL LIGATURE AE
+ u'\xa4' # 0x9f -> CURRENCY SIGN
+ u'\xb5' # 0xa0 -> MICRO SIGN
+ u'~' # 0xa1 -> TILDE
+ u's' # 0xa2 -> LATIN SMALL LETTER S
+ u't' # 0xa3 -> LATIN SMALL LETTER T
+ u'u' # 0xa4 -> LATIN SMALL LETTER U
+ u'v' # 0xa5 -> LATIN SMALL LETTER V
+ u'w' # 0xa6 -> LATIN SMALL LETTER W
+ u'x' # 0xa7 -> LATIN SMALL LETTER X
+ u'y' # 0xa8 -> LATIN SMALL LETTER Y
+ u'z' # 0xa9 -> LATIN SMALL LETTER Z
+ u'\xa1' # 0xaa -> INVERTED EXCLAMATION MARK
+ u'\xbf' # 0xab -> INVERTED QUESTION MARK
+ u'\xd0' # 0xac -> LATIN CAPITAL LETTER ETH (ICELANDIC)
+ u'\xdd' # 0xad -> LATIN CAPITAL LETTER Y WITH ACUTE
+ u'\xde' # 0xae -> LATIN CAPITAL LETTER THORN (ICELANDIC)
+ u'\xae' # 0xaf -> REGISTERED SIGN
+ u'^' # 0xb0 -> CIRCUMFLEX ACCENT
+ u'\xa3' # 0xb1 -> POUND SIGN
+ u'\xa5' # 0xb2 -> YEN SIGN
+ u'\xb7' # 0xb3 -> MIDDLE DOT
+ u'\xa9' # 0xb4 -> COPYRIGHT SIGN
+ u'\xa7' # 0xb5 -> SECTION SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xbc' # 0xb7 -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xb8 -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xb9 -> VULGAR FRACTION THREE QUARTERS
+ u'[' # 0xba -> LEFT SQUARE BRACKET
+ u']' # 0xbb -> RIGHT SQUARE BRACKET
+ u'\xaf' # 0xbc -> MACRON
+ u'\xa8' # 0xbd -> DIAERESIS
+ u'\xb4' # 0xbe -> ACUTE ACCENT
+ u'\xd7' # 0xbf -> MULTIPLICATION SIGN
+ u'{' # 0xc0 -> LEFT CURLY BRACKET
+ u'A' # 0xc1 -> LATIN CAPITAL LETTER A
+ u'B' # 0xc2 -> LATIN CAPITAL LETTER B
+ u'C' # 0xc3 -> LATIN CAPITAL LETTER C
+ u'D' # 0xc4 -> LATIN CAPITAL LETTER D
+ u'E' # 0xc5 -> LATIN CAPITAL LETTER E
+ u'F' # 0xc6 -> LATIN CAPITAL LETTER F
+ u'G' # 0xc7 -> LATIN CAPITAL LETTER G
+ u'H' # 0xc8 -> LATIN CAPITAL LETTER H
+ u'I' # 0xc9 -> LATIN CAPITAL LETTER I
+ u'\xad' # 0xca -> SOFT HYPHEN
+ u'\xf4' # 0xcb -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf6' # 0xcc -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf2' # 0xcd -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf3' # 0xce -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf5' # 0xcf -> LATIN SMALL LETTER O WITH TILDE
+ u'}' # 0xd0 -> RIGHT CURLY BRACKET
+ u'J' # 0xd1 -> LATIN CAPITAL LETTER J
+ u'K' # 0xd2 -> LATIN CAPITAL LETTER K
+ u'L' # 0xd3 -> LATIN CAPITAL LETTER L
+ u'M' # 0xd4 -> LATIN CAPITAL LETTER M
+ u'N' # 0xd5 -> LATIN CAPITAL LETTER N
+ u'O' # 0xd6 -> LATIN CAPITAL LETTER O
+ u'P' # 0xd7 -> LATIN CAPITAL LETTER P
+ u'Q' # 0xd8 -> LATIN CAPITAL LETTER Q
+ u'R' # 0xd9 -> LATIN CAPITAL LETTER R
+ u'\xb9' # 0xda -> SUPERSCRIPT ONE
+ u'\xfb' # 0xdb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xdc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\xf9' # 0xdd -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xde -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xff' # 0xdf -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\\' # 0xe0 -> REVERSE SOLIDUS
+ u'\xf7' # 0xe1 -> DIVISION SIGN
+ u'S' # 0xe2 -> LATIN CAPITAL LETTER S
+ u'T' # 0xe3 -> LATIN CAPITAL LETTER T
+ u'U' # 0xe4 -> LATIN CAPITAL LETTER U
+ u'V' # 0xe5 -> LATIN CAPITAL LETTER V
+ u'W' # 0xe6 -> LATIN CAPITAL LETTER W
+ u'X' # 0xe7 -> LATIN CAPITAL LETTER X
+ u'Y' # 0xe8 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0xe9 -> LATIN CAPITAL LETTER Z
+ u'\xb2' # 0xea -> SUPERSCRIPT TWO
+ u'\xd4' # 0xeb -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\xd6' # 0xec -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd2' # 0xed -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xd3' # 0xee -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd5' # 0xef -> LATIN CAPITAL LETTER O WITH TILDE
+ u'0' # 0xf0 -> DIGIT ZERO
+ u'1' # 0xf1 -> DIGIT ONE
+ u'2' # 0xf2 -> DIGIT TWO
+ u'3' # 0xf3 -> DIGIT THREE
+ u'4' # 0xf4 -> DIGIT FOUR
+ u'5' # 0xf5 -> DIGIT FIVE
+ u'6' # 0xf6 -> DIGIT SIX
+ u'7' # 0xf7 -> DIGIT SEVEN
+ u'8' # 0xf8 -> DIGIT EIGHT
+ u'9' # 0xf9 -> DIGIT NINE
+ u'\xb3' # 0xfa -> SUPERSCRIPT THREE
+ u'\xdb' # 0xfb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xfc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xd9' # 0xfd -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xfe -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\x9f' # 0xff -> CONTROL
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0037, # END OF TRANSMISSION
- 0x0005: 0x002d, # ENQUIRY
- 0x0006: 0x002e, # ACKNOWLEDGE
- 0x0007: 0x002f, # BELL
- 0x0008: 0x0016, # BACKSPACE
- 0x0009: 0x0005, # HORIZONTAL TABULATION
- 0x000a: 0x0025, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x003c, # DEVICE CONTROL FOUR
- 0x0015: 0x003d, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0032, # SYNCHRONOUS IDLE
- 0x0017: 0x0026, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x003f, # SUBSTITUTE
- 0x001b: 0x0027, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0040, # SPACE
- 0x0021: 0x005a, # EXCLAMATION MARK
- 0x0022: 0x007f, # QUOTATION MARK
- 0x0023: 0x007b, # NUMBER SIGN
- 0x0024: 0x005b, # DOLLAR SIGN
- 0x0025: 0x006c, # PERCENT SIGN
- 0x0026: 0x0050, # AMPERSAND
- 0x0027: 0x007d, # APOSTROPHE
- 0x0028: 0x004d, # LEFT PARENTHESIS
- 0x0029: 0x005d, # RIGHT PARENTHESIS
- 0x002a: 0x005c, # ASTERISK
- 0x002b: 0x004e, # PLUS SIGN
- 0x002c: 0x006b, # COMMA
- 0x002d: 0x0060, # HYPHEN-MINUS
- 0x002e: 0x004b, # FULL STOP
- 0x002f: 0x0061, # SOLIDUS
- 0x0030: 0x00f0, # DIGIT ZERO
- 0x0031: 0x00f1, # DIGIT ONE
- 0x0032: 0x00f2, # DIGIT TWO
- 0x0033: 0x00f3, # DIGIT THREE
- 0x0034: 0x00f4, # DIGIT FOUR
- 0x0035: 0x00f5, # DIGIT FIVE
- 0x0036: 0x00f6, # DIGIT SIX
- 0x0037: 0x00f7, # DIGIT SEVEN
- 0x0038: 0x00f8, # DIGIT EIGHT
- 0x0039: 0x00f9, # DIGIT NINE
- 0x003a: 0x007a, # COLON
- 0x003b: 0x005e, # SEMICOLON
- 0x003c: 0x004c, # LESS-THAN SIGN
- 0x003d: 0x007e, # EQUALS SIGN
- 0x003e: 0x006e, # GREATER-THAN SIGN
- 0x003f: 0x006f, # QUESTION MARK
- 0x0040: 0x007c, # COMMERCIAL AT
- 0x0041: 0x00c1, # LATIN CAPITAL LETTER A
- 0x0042: 0x00c2, # LATIN CAPITAL LETTER B
- 0x0043: 0x00c3, # LATIN CAPITAL LETTER C
- 0x0044: 0x00c4, # LATIN CAPITAL LETTER D
- 0x0045: 0x00c5, # LATIN CAPITAL LETTER E
- 0x0046: 0x00c6, # LATIN CAPITAL LETTER F
- 0x0047: 0x00c7, # LATIN CAPITAL LETTER G
- 0x0048: 0x00c8, # LATIN CAPITAL LETTER H
- 0x0049: 0x00c9, # LATIN CAPITAL LETTER I
- 0x004a: 0x00d1, # LATIN CAPITAL LETTER J
- 0x004b: 0x00d2, # LATIN CAPITAL LETTER K
- 0x004c: 0x00d3, # LATIN CAPITAL LETTER L
- 0x004d: 0x00d4, # LATIN CAPITAL LETTER M
- 0x004e: 0x00d5, # LATIN CAPITAL LETTER N
- 0x004f: 0x00d6, # LATIN CAPITAL LETTER O
- 0x0050: 0x00d7, # LATIN CAPITAL LETTER P
- 0x0051: 0x00d8, # LATIN CAPITAL LETTER Q
- 0x0052: 0x00d9, # LATIN CAPITAL LETTER R
- 0x0053: 0x00e2, # LATIN CAPITAL LETTER S
- 0x0054: 0x00e3, # LATIN CAPITAL LETTER T
- 0x0055: 0x00e4, # LATIN CAPITAL LETTER U
- 0x0056: 0x00e5, # LATIN CAPITAL LETTER V
- 0x0057: 0x00e6, # LATIN CAPITAL LETTER W
- 0x0058: 0x00e7, # LATIN CAPITAL LETTER X
- 0x0059: 0x00e8, # LATIN CAPITAL LETTER Y
- 0x005a: 0x00e9, # LATIN CAPITAL LETTER Z
- 0x005b: 0x00ba, # LEFT SQUARE BRACKET
- 0x005c: 0x00e0, # REVERSE SOLIDUS
- 0x005d: 0x00bb, # RIGHT SQUARE BRACKET
- 0x005e: 0x00b0, # CIRCUMFLEX ACCENT
- 0x005f: 0x006d, # LOW LINE
- 0x0060: 0x0079, # GRAVE ACCENT
- 0x0061: 0x0081, # LATIN SMALL LETTER A
- 0x0062: 0x0082, # LATIN SMALL LETTER B
- 0x0063: 0x0083, # LATIN SMALL LETTER C
- 0x0064: 0x0084, # LATIN SMALL LETTER D
- 0x0065: 0x0085, # LATIN SMALL LETTER E
- 0x0066: 0x0086, # LATIN SMALL LETTER F
- 0x0067: 0x0087, # LATIN SMALL LETTER G
- 0x0068: 0x0088, # LATIN SMALL LETTER H
- 0x0069: 0x0089, # LATIN SMALL LETTER I
- 0x006a: 0x0091, # LATIN SMALL LETTER J
- 0x006b: 0x0092, # LATIN SMALL LETTER K
- 0x006c: 0x0093, # LATIN SMALL LETTER L
- 0x006d: 0x0094, # LATIN SMALL LETTER M
- 0x006e: 0x0095, # LATIN SMALL LETTER N
- 0x006f: 0x0096, # LATIN SMALL LETTER O
- 0x0070: 0x0097, # LATIN SMALL LETTER P
- 0x0071: 0x0098, # LATIN SMALL LETTER Q
- 0x0072: 0x0099, # LATIN SMALL LETTER R
- 0x0073: 0x00a2, # LATIN SMALL LETTER S
- 0x0074: 0x00a3, # LATIN SMALL LETTER T
- 0x0075: 0x00a4, # LATIN SMALL LETTER U
- 0x0076: 0x00a5, # LATIN SMALL LETTER V
- 0x0077: 0x00a6, # LATIN SMALL LETTER W
- 0x0078: 0x00a7, # LATIN SMALL LETTER X
- 0x0079: 0x00a8, # LATIN SMALL LETTER Y
- 0x007a: 0x00a9, # LATIN SMALL LETTER Z
- 0x007b: 0x00c0, # LEFT CURLY BRACKET
- 0x007c: 0x004f, # VERTICAL LINE
- 0x007d: 0x00d0, # RIGHT CURLY BRACKET
- 0x007e: 0x00a1, # TILDE
- 0x007f: 0x0007, # DELETE
- 0x0080: 0x0020, # CONTROL
- 0x0081: 0x0021, # CONTROL
- 0x0082: 0x0022, # CONTROL
- 0x0083: 0x0023, # CONTROL
- 0x0084: 0x0024, # CONTROL
- 0x0085: 0x0015, # CONTROL
- 0x0086: 0x0006, # CONTROL
- 0x0087: 0x0017, # CONTROL
- 0x0088: 0x0028, # CONTROL
- 0x0089: 0x0029, # CONTROL
- 0x008a: 0x002a, # CONTROL
- 0x008b: 0x002b, # CONTROL
- 0x008c: 0x002c, # CONTROL
- 0x008d: 0x0009, # CONTROL
- 0x008e: 0x000a, # CONTROL
- 0x008f: 0x001b, # CONTROL
- 0x0090: 0x0030, # CONTROL
- 0x0091: 0x0031, # CONTROL
- 0x0092: 0x001a, # CONTROL
- 0x0093: 0x0033, # CONTROL
- 0x0094: 0x0034, # CONTROL
- 0x0095: 0x0035, # CONTROL
- 0x0096: 0x0036, # CONTROL
- 0x0097: 0x0008, # CONTROL
- 0x0098: 0x0038, # CONTROL
- 0x0099: 0x0039, # CONTROL
- 0x009a: 0x003a, # CONTROL
- 0x009b: 0x003b, # CONTROL
- 0x009c: 0x0004, # CONTROL
- 0x009d: 0x0014, # CONTROL
- 0x009e: 0x003e, # CONTROL
- 0x009f: 0x00ff, # CONTROL
- 0x00a0: 0x0041, # NO-BREAK SPACE
- 0x00a1: 0x00aa, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x004a, # CENT SIGN
- 0x00a3: 0x00b1, # POUND SIGN
- 0x00a4: 0x009f, # CURRENCY SIGN
- 0x00a5: 0x00b2, # YEN SIGN
- 0x00a6: 0x006a, # BROKEN BAR
- 0x00a7: 0x00b5, # SECTION SIGN
- 0x00a8: 0x00bd, # DIAERESIS
- 0x00a9: 0x00b4, # COPYRIGHT SIGN
- 0x00aa: 0x009a, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x008a, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x005f, # NOT SIGN
- 0x00ad: 0x00ca, # SOFT HYPHEN
- 0x00ae: 0x00af, # REGISTERED SIGN
- 0x00af: 0x00bc, # MACRON
- 0x00b0: 0x0090, # DEGREE SIGN
- 0x00b1: 0x008f, # PLUS-MINUS SIGN
- 0x00b2: 0x00ea, # SUPERSCRIPT TWO
- 0x00b3: 0x00fa, # SUPERSCRIPT THREE
- 0x00b4: 0x00be, # ACUTE ACCENT
- 0x00b5: 0x00a0, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b3, # MIDDLE DOT
- 0x00b8: 0x009d, # CEDILLA
- 0x00b9: 0x00da, # SUPERSCRIPT ONE
- 0x00ba: 0x009b, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x008b, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00b7, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00b8, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00b9, # VULGAR FRACTION THREE QUARTERS
- 0x00bf: 0x00ab, # INVERTED QUESTION MARK
- 0x00c0: 0x0064, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x0065, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x0062, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x0066, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x0063, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x0067, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x009e, # LATIN CAPITAL LIGATURE AE
- 0x00c7: 0x0068, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x0074, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x0071, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x0072, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x0073, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x0078, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x0075, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x0076, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x0077, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d0: 0x00ac, # LATIN CAPITAL LETTER ETH (ICELANDIC)
- 0x00d1: 0x0069, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00ed, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00ee, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00eb, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00ef, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x00ec, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00bf, # MULTIPLICATION SIGN
- 0x00d8: 0x0080, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00fd, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00fe, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00fb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00fc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00dd: 0x00ad, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00de: 0x00ae, # LATIN CAPITAL LETTER THORN (ICELANDIC)
- 0x00df: 0x0059, # LATIN SMALL LETTER SHARP S (GERMAN)
- 0x00e0: 0x0044, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x0045, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x0042, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x0046, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x0043, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x0047, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x009c, # LATIN SMALL LIGATURE AE
- 0x00e7: 0x0048, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x0054, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x0051, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x0052, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x0053, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x0058, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x0055, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x0056, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x0057, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f0: 0x008c, # LATIN SMALL LETTER ETH (ICELANDIC)
- 0x00f1: 0x0049, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x00cd, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x00ce, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00cb, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x00cf, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00cc, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00e1, # DIVISION SIGN
- 0x00f8: 0x0070, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x00dd, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x00de, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00db, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00dc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00fd: 0x008d, # LATIN SMALL LETTER Y WITH ACUTE
- 0x00fe: 0x008e, # LATIN SMALL LETTER THORN (ICELANDIC)
- 0x00ff: 0x00df, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x37, # END OF TRANSMISSION
+ 0x0005: 0x2d, # ENQUIRY
+ 0x0006: 0x2e, # ACKNOWLEDGE
+ 0x0007: 0x2f, # BELL
+ 0x0008: 0x16, # BACKSPACE
+ 0x0009: 0x05, # HORIZONTAL TABULATION
+ 0x000a: 0x25, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x3c, # DEVICE CONTROL FOUR
+ 0x0015: 0x3d, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x32, # SYNCHRONOUS IDLE
+ 0x0017: 0x26, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x3f, # SUBSTITUTE
+ 0x001b: 0x27, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x40, # SPACE
+ 0x0021: 0x5a, # EXCLAMATION MARK
+ 0x0022: 0x7f, # QUOTATION MARK
+ 0x0023: 0x7b, # NUMBER SIGN
+ 0x0024: 0x5b, # DOLLAR SIGN
+ 0x0025: 0x6c, # PERCENT SIGN
+ 0x0026: 0x50, # AMPERSAND
+ 0x0027: 0x7d, # APOSTROPHE
+ 0x0028: 0x4d, # LEFT PARENTHESIS
+ 0x0029: 0x5d, # RIGHT PARENTHESIS
+ 0x002a: 0x5c, # ASTERISK
+ 0x002b: 0x4e, # PLUS SIGN
+ 0x002c: 0x6b, # COMMA
+ 0x002d: 0x60, # HYPHEN-MINUS
+ 0x002e: 0x4b, # FULL STOP
+ 0x002f: 0x61, # SOLIDUS
+ 0x0030: 0xf0, # DIGIT ZERO
+ 0x0031: 0xf1, # DIGIT ONE
+ 0x0032: 0xf2, # DIGIT TWO
+ 0x0033: 0xf3, # DIGIT THREE
+ 0x0034: 0xf4, # DIGIT FOUR
+ 0x0035: 0xf5, # DIGIT FIVE
+ 0x0036: 0xf6, # DIGIT SIX
+ 0x0037: 0xf7, # DIGIT SEVEN
+ 0x0038: 0xf8, # DIGIT EIGHT
+ 0x0039: 0xf9, # DIGIT NINE
+ 0x003a: 0x7a, # COLON
+ 0x003b: 0x5e, # SEMICOLON
+ 0x003c: 0x4c, # LESS-THAN SIGN
+ 0x003d: 0x7e, # EQUALS SIGN
+ 0x003e: 0x6e, # GREATER-THAN SIGN
+ 0x003f: 0x6f, # QUESTION MARK
+ 0x0040: 0x7c, # COMMERCIAL AT
+ 0x0041: 0xc1, # LATIN CAPITAL LETTER A
+ 0x0042: 0xc2, # LATIN CAPITAL LETTER B
+ 0x0043: 0xc3, # LATIN CAPITAL LETTER C
+ 0x0044: 0xc4, # LATIN CAPITAL LETTER D
+ 0x0045: 0xc5, # LATIN CAPITAL LETTER E
+ 0x0046: 0xc6, # LATIN CAPITAL LETTER F
+ 0x0047: 0xc7, # LATIN CAPITAL LETTER G
+ 0x0048: 0xc8, # LATIN CAPITAL LETTER H
+ 0x0049: 0xc9, # LATIN CAPITAL LETTER I
+ 0x004a: 0xd1, # LATIN CAPITAL LETTER J
+ 0x004b: 0xd2, # LATIN CAPITAL LETTER K
+ 0x004c: 0xd3, # LATIN CAPITAL LETTER L
+ 0x004d: 0xd4, # LATIN CAPITAL LETTER M
+ 0x004e: 0xd5, # LATIN CAPITAL LETTER N
+ 0x004f: 0xd6, # LATIN CAPITAL LETTER O
+ 0x0050: 0xd7, # LATIN CAPITAL LETTER P
+ 0x0051: 0xd8, # LATIN CAPITAL LETTER Q
+ 0x0052: 0xd9, # LATIN CAPITAL LETTER R
+ 0x0053: 0xe2, # LATIN CAPITAL LETTER S
+ 0x0054: 0xe3, # LATIN CAPITAL LETTER T
+ 0x0055: 0xe4, # LATIN CAPITAL LETTER U
+ 0x0056: 0xe5, # LATIN CAPITAL LETTER V
+ 0x0057: 0xe6, # LATIN CAPITAL LETTER W
+ 0x0058: 0xe7, # LATIN CAPITAL LETTER X
+ 0x0059: 0xe8, # LATIN CAPITAL LETTER Y
+ 0x005a: 0xe9, # LATIN CAPITAL LETTER Z
+ 0x005b: 0xba, # LEFT SQUARE BRACKET
+ 0x005c: 0xe0, # REVERSE SOLIDUS
+ 0x005d: 0xbb, # RIGHT SQUARE BRACKET
+ 0x005e: 0xb0, # CIRCUMFLEX ACCENT
+ 0x005f: 0x6d, # LOW LINE
+ 0x0060: 0x79, # GRAVE ACCENT
+ 0x0061: 0x81, # LATIN SMALL LETTER A
+ 0x0062: 0x82, # LATIN SMALL LETTER B
+ 0x0063: 0x83, # LATIN SMALL LETTER C
+ 0x0064: 0x84, # LATIN SMALL LETTER D
+ 0x0065: 0x85, # LATIN SMALL LETTER E
+ 0x0066: 0x86, # LATIN SMALL LETTER F
+ 0x0067: 0x87, # LATIN SMALL LETTER G
+ 0x0068: 0x88, # LATIN SMALL LETTER H
+ 0x0069: 0x89, # LATIN SMALL LETTER I
+ 0x006a: 0x91, # LATIN SMALL LETTER J
+ 0x006b: 0x92, # LATIN SMALL LETTER K
+ 0x006c: 0x93, # LATIN SMALL LETTER L
+ 0x006d: 0x94, # LATIN SMALL LETTER M
+ 0x006e: 0x95, # LATIN SMALL LETTER N
+ 0x006f: 0x96, # LATIN SMALL LETTER O
+ 0x0070: 0x97, # LATIN SMALL LETTER P
+ 0x0071: 0x98, # LATIN SMALL LETTER Q
+ 0x0072: 0x99, # LATIN SMALL LETTER R
+ 0x0073: 0xa2, # LATIN SMALL LETTER S
+ 0x0074: 0xa3, # LATIN SMALL LETTER T
+ 0x0075: 0xa4, # LATIN SMALL LETTER U
+ 0x0076: 0xa5, # LATIN SMALL LETTER V
+ 0x0077: 0xa6, # LATIN SMALL LETTER W
+ 0x0078: 0xa7, # LATIN SMALL LETTER X
+ 0x0079: 0xa8, # LATIN SMALL LETTER Y
+ 0x007a: 0xa9, # LATIN SMALL LETTER Z
+ 0x007b: 0xc0, # LEFT CURLY BRACKET
+ 0x007c: 0x4f, # VERTICAL LINE
+ 0x007d: 0xd0, # RIGHT CURLY BRACKET
+ 0x007e: 0xa1, # TILDE
+ 0x007f: 0x07, # DELETE
+ 0x0080: 0x20, # CONTROL
+ 0x0081: 0x21, # CONTROL
+ 0x0082: 0x22, # CONTROL
+ 0x0083: 0x23, # CONTROL
+ 0x0084: 0x24, # CONTROL
+ 0x0085: 0x15, # CONTROL
+ 0x0086: 0x06, # CONTROL
+ 0x0087: 0x17, # CONTROL
+ 0x0088: 0x28, # CONTROL
+ 0x0089: 0x29, # CONTROL
+ 0x008a: 0x2a, # CONTROL
+ 0x008b: 0x2b, # CONTROL
+ 0x008c: 0x2c, # CONTROL
+ 0x008d: 0x09, # CONTROL
+ 0x008e: 0x0a, # CONTROL
+ 0x008f: 0x1b, # CONTROL
+ 0x0090: 0x30, # CONTROL
+ 0x0091: 0x31, # CONTROL
+ 0x0092: 0x1a, # CONTROL
+ 0x0093: 0x33, # CONTROL
+ 0x0094: 0x34, # CONTROL
+ 0x0095: 0x35, # CONTROL
+ 0x0096: 0x36, # CONTROL
+ 0x0097: 0x08, # CONTROL
+ 0x0098: 0x38, # CONTROL
+ 0x0099: 0x39, # CONTROL
+ 0x009a: 0x3a, # CONTROL
+ 0x009b: 0x3b, # CONTROL
+ 0x009c: 0x04, # CONTROL
+ 0x009d: 0x14, # CONTROL
+ 0x009e: 0x3e, # CONTROL
+ 0x009f: 0xff, # CONTROL
+ 0x00a0: 0x41, # NO-BREAK SPACE
+ 0x00a1: 0xaa, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0x4a, # CENT SIGN
+ 0x00a3: 0xb1, # POUND SIGN
+ 0x00a4: 0x9f, # CURRENCY SIGN
+ 0x00a5: 0xb2, # YEN SIGN
+ 0x00a6: 0x6a, # BROKEN BAR
+ 0x00a7: 0xb5, # SECTION SIGN
+ 0x00a8: 0xbd, # DIAERESIS
+ 0x00a9: 0xb4, # COPYRIGHT SIGN
+ 0x00aa: 0x9a, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0x8a, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0x5f, # NOT SIGN
+ 0x00ad: 0xca, # SOFT HYPHEN
+ 0x00ae: 0xaf, # REGISTERED SIGN
+ 0x00af: 0xbc, # MACRON
+ 0x00b0: 0x90, # DEGREE SIGN
+ 0x00b1: 0x8f, # PLUS-MINUS SIGN
+ 0x00b2: 0xea, # SUPERSCRIPT TWO
+ 0x00b3: 0xfa, # SUPERSCRIPT THREE
+ 0x00b4: 0xbe, # ACUTE ACCENT
+ 0x00b5: 0xa0, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb3, # MIDDLE DOT
+ 0x00b8: 0x9d, # CEDILLA
+ 0x00b9: 0xda, # SUPERSCRIPT ONE
+ 0x00ba: 0x9b, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0x8b, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xb7, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xb8, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xb9, # VULGAR FRACTION THREE QUARTERS
+ 0x00bf: 0xab, # INVERTED QUESTION MARK
+ 0x00c0: 0x64, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0x65, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0x62, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0x66, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0x63, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0x67, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0x9e, # LATIN CAPITAL LIGATURE AE
+ 0x00c7: 0x68, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0x74, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0x71, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0x72, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0x73, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0x78, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0x75, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0x76, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0x77, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d0: 0xac, # LATIN CAPITAL LETTER ETH (ICELANDIC)
+ 0x00d1: 0x69, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xed, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xee, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xeb, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xef, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xec, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xbf, # MULTIPLICATION SIGN
+ 0x00d8: 0x80, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xfd, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xfe, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xfb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xfc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00dd: 0xad, # LATIN CAPITAL LETTER Y WITH ACUTE
+ 0x00de: 0xae, # LATIN CAPITAL LETTER THORN (ICELANDIC)
+ 0x00df: 0x59, # LATIN SMALL LETTER SHARP S (GERMAN)
+ 0x00e0: 0x44, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0x45, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0x42, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0x46, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0x43, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0x47, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0x9c, # LATIN SMALL LIGATURE AE
+ 0x00e7: 0x48, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0x54, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0x51, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0x52, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0x53, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0x58, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0x55, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0x56, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0x57, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f0: 0x8c, # LATIN SMALL LETTER ETH (ICELANDIC)
+ 0x00f1: 0x49, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0xcd, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0xce, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xcb, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0xcf, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xcc, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xe1, # DIVISION SIGN
+ 0x00f8: 0x70, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0xdd, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xde, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xdb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xdc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00fd: 0x8d, # LATIN SMALL LETTER Y WITH ACUTE
+ 0x00fe: 0x8e, # LATIN SMALL LETTER THORN (ICELANDIC)
+ 0x00ff: 0xdf, # LATIN SMALL LETTER Y WITH DIAERESIS
} \ No newline at end of file
diff --git a/Lib/encodings/cp1006.py b/Lib/encodings/cp1006.py
index 93f2688f22f..ca10c54849a 100644
--- a/Lib/encodings/cp1006.py
+++ b/Lib/encodings/cp1006.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MISC/CP1006.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MISC/CP1006.TXT' with gencodec.py.
"""#"
@@ -28,623 +28,524 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: 0x06f0, # EXTENDED ARABIC-INDIC DIGIT ZERO
- 0x00a2: 0x06f1, # EXTENDED ARABIC-INDIC DIGIT ONE
- 0x00a3: 0x06f2, # EXTENDED ARABIC-INDIC DIGIT TWO
- 0x00a4: 0x06f3, # EXTENDED ARABIC-INDIC DIGIT THREE
- 0x00a5: 0x06f4, # EXTENDED ARABIC-INDIC DIGIT FOUR
- 0x00a6: 0x06f5, # EXTENDED ARABIC-INDIC DIGIT FIVE
- 0x00a7: 0x06f6, # EXTENDED ARABIC-INDIC DIGIT SIX
- 0x00a8: 0x06f7, # EXTENDED ARABIC-INDIC DIGIT SEVEN
- 0x00a9: 0x06f8, # EXTENDED ARABIC-INDIC DIGIT EIGHT
- 0x00aa: 0x06f9, # EXTENDED ARABIC-INDIC DIGIT NINE
- 0x00ab: 0x060c, # ARABIC COMMA
- 0x00ac: 0x061b, # ARABIC SEMICOLON
- 0x00ae: 0x061f, # ARABIC QUESTION MARK
- 0x00af: 0xfe81, # ARABIC LETTER ALEF WITH MADDA ABOVE ISOLATED FORM
- 0x00b0: 0xfe8d, # ARABIC LETTER ALEF ISOLATED FORM
- 0x00b1: 0xfe8e, # ARABIC LETTER ALEF FINAL FORM
- 0x00b2: 0xfe8e, # ARABIC LETTER ALEF FINAL FORM
- 0x00b3: 0xfe8f, # ARABIC LETTER BEH ISOLATED FORM
- 0x00b4: 0xfe91, # ARABIC LETTER BEH INITIAL FORM
- 0x00b5: 0xfb56, # ARABIC LETTER PEH ISOLATED FORM
- 0x00b6: 0xfb58, # ARABIC LETTER PEH INITIAL FORM
- 0x00b7: 0xfe93, # ARABIC LETTER TEH MARBUTA ISOLATED FORM
- 0x00b8: 0xfe95, # ARABIC LETTER TEH ISOLATED FORM
- 0x00b9: 0xfe97, # ARABIC LETTER TEH INITIAL FORM
- 0x00ba: 0xfb66, # ARABIC LETTER TTEH ISOLATED FORM
- 0x00bb: 0xfb68, # ARABIC LETTER TTEH INITIAL FORM
- 0x00bc: 0xfe99, # ARABIC LETTER THEH ISOLATED FORM
- 0x00bd: 0xfe9b, # ARABIC LETTER THEH INITIAL FORM
- 0x00be: 0xfe9d, # ARABIC LETTER JEEM ISOLATED FORM
- 0x00bf: 0xfe9f, # ARABIC LETTER JEEM INITIAL FORM
- 0x00c0: 0xfb7a, # ARABIC LETTER TCHEH ISOLATED FORM
- 0x00c1: 0xfb7c, # ARABIC LETTER TCHEH INITIAL FORM
- 0x00c2: 0xfea1, # ARABIC LETTER HAH ISOLATED FORM
- 0x00c3: 0xfea3, # ARABIC LETTER HAH INITIAL FORM
- 0x00c4: 0xfea5, # ARABIC LETTER KHAH ISOLATED FORM
- 0x00c5: 0xfea7, # ARABIC LETTER KHAH INITIAL FORM
- 0x00c6: 0xfea9, # ARABIC LETTER DAL ISOLATED FORM
- 0x00c7: 0xfb84, # ARABIC LETTER DAHAL ISOLATED FORMN
- 0x00c8: 0xfeab, # ARABIC LETTER THAL ISOLATED FORM
- 0x00c9: 0xfead, # ARABIC LETTER REH ISOLATED FORM
- 0x00ca: 0xfb8c, # ARABIC LETTER RREH ISOLATED FORM
- 0x00cb: 0xfeaf, # ARABIC LETTER ZAIN ISOLATED FORM
- 0x00cc: 0xfb8a, # ARABIC LETTER JEH ISOLATED FORM
- 0x00cd: 0xfeb1, # ARABIC LETTER SEEN ISOLATED FORM
- 0x00ce: 0xfeb3, # ARABIC LETTER SEEN INITIAL FORM
- 0x00cf: 0xfeb5, # ARABIC LETTER SHEEN ISOLATED FORM
- 0x00d0: 0xfeb7, # ARABIC LETTER SHEEN INITIAL FORM
- 0x00d1: 0xfeb9, # ARABIC LETTER SAD ISOLATED FORM
- 0x00d2: 0xfebb, # ARABIC LETTER SAD INITIAL FORM
- 0x00d3: 0xfebd, # ARABIC LETTER DAD ISOLATED FORM
- 0x00d4: 0xfebf, # ARABIC LETTER DAD INITIAL FORM
- 0x00d5: 0xfec1, # ARABIC LETTER TAH ISOLATED FORM
- 0x00d6: 0xfec5, # ARABIC LETTER ZAH ISOLATED FORM
- 0x00d7: 0xfec9, # ARABIC LETTER AIN ISOLATED FORM
- 0x00d8: 0xfeca, # ARABIC LETTER AIN FINAL FORM
- 0x00d9: 0xfecb, # ARABIC LETTER AIN INITIAL FORM
- 0x00da: 0xfecc, # ARABIC LETTER AIN MEDIAL FORM
- 0x00db: 0xfecd, # ARABIC LETTER GHAIN ISOLATED FORM
- 0x00dc: 0xfece, # ARABIC LETTER GHAIN FINAL FORM
- 0x00dd: 0xfecf, # ARABIC LETTER GHAIN INITIAL FORM
- 0x00de: 0xfed0, # ARABIC LETTER GHAIN MEDIAL FORM
- 0x00df: 0xfed1, # ARABIC LETTER FEH ISOLATED FORM
- 0x00e0: 0xfed3, # ARABIC LETTER FEH INITIAL FORM
- 0x00e1: 0xfed5, # ARABIC LETTER QAF ISOLATED FORM
- 0x00e2: 0xfed7, # ARABIC LETTER QAF INITIAL FORM
- 0x00e3: 0xfed9, # ARABIC LETTER KAF ISOLATED FORM
- 0x00e4: 0xfedb, # ARABIC LETTER KAF INITIAL FORM
- 0x00e5: 0xfb92, # ARABIC LETTER GAF ISOLATED FORM
- 0x00e6: 0xfb94, # ARABIC LETTER GAF INITIAL FORM
- 0x00e7: 0xfedd, # ARABIC LETTER LAM ISOLATED FORM
- 0x00e8: 0xfedf, # ARABIC LETTER LAM INITIAL FORM
- 0x00e9: 0xfee0, # ARABIC LETTER LAM MEDIAL FORM
- 0x00ea: 0xfee1, # ARABIC LETTER MEEM ISOLATED FORM
- 0x00eb: 0xfee3, # ARABIC LETTER MEEM INITIAL FORM
- 0x00ec: 0xfb9e, # ARABIC LETTER NOON GHUNNA ISOLATED FORM
- 0x00ed: 0xfee5, # ARABIC LETTER NOON ISOLATED FORM
- 0x00ee: 0xfee7, # ARABIC LETTER NOON INITIAL FORM
- 0x00ef: 0xfe85, # ARABIC LETTER WAW WITH HAMZA ABOVE ISOLATED FORM
- 0x00f0: 0xfeed, # ARABIC LETTER WAW ISOLATED FORM
- 0x00f1: 0xfba6, # ARABIC LETTER HEH GOAL ISOLATED FORM
- 0x00f2: 0xfba8, # ARABIC LETTER HEH GOAL INITIAL FORM
- 0x00f3: 0xfba9, # ARABIC LETTER HEH GOAL MEDIAL FORM
- 0x00f4: 0xfbaa, # ARABIC LETTER HEH DOACHASHMEE ISOLATED FORM
- 0x00f5: 0xfe80, # ARABIC LETTER HAMZA ISOLATED FORM
- 0x00f6: 0xfe89, # ARABIC LETTER YEH WITH HAMZA ABOVE ISOLATED FORM
- 0x00f7: 0xfe8a, # ARABIC LETTER YEH WITH HAMZA ABOVE FINAL FORM
- 0x00f8: 0xfe8b, # ARABIC LETTER YEH WITH HAMZA ABOVE INITIAL FORM
- 0x00f9: 0xfef1, # ARABIC LETTER YEH ISOLATED FORM
- 0x00fa: 0xfef2, # ARABIC LETTER YEH FINAL FORM
- 0x00fb: 0xfef3, # ARABIC LETTER YEH INITIAL FORM
- 0x00fc: 0xfbb0, # ARABIC LETTER YEH BARREE WITH HAMZA ABOVE ISOLATED FORM
- 0x00fd: 0xfbae, # ARABIC LETTER YEH BARREE ISOLATED FORM
- 0x00fe: 0xfe7c, # ARABIC SHADDA ISOLATED FORM
- 0x00ff: 0xfe7d, # ARABIC SHADDA MEDIAL FORM
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u06f0' # 0x00a1 -> EXTENDED ARABIC-INDIC DIGIT ZERO
- u'\u06f1' # 0x00a2 -> EXTENDED ARABIC-INDIC DIGIT ONE
- u'\u06f2' # 0x00a3 -> EXTENDED ARABIC-INDIC DIGIT TWO
- u'\u06f3' # 0x00a4 -> EXTENDED ARABIC-INDIC DIGIT THREE
- u'\u06f4' # 0x00a5 -> EXTENDED ARABIC-INDIC DIGIT FOUR
- u'\u06f5' # 0x00a6 -> EXTENDED ARABIC-INDIC DIGIT FIVE
- u'\u06f6' # 0x00a7 -> EXTENDED ARABIC-INDIC DIGIT SIX
- u'\u06f7' # 0x00a8 -> EXTENDED ARABIC-INDIC DIGIT SEVEN
- u'\u06f8' # 0x00a9 -> EXTENDED ARABIC-INDIC DIGIT EIGHT
- u'\u06f9' # 0x00aa -> EXTENDED ARABIC-INDIC DIGIT NINE
- u'\u060c' # 0x00ab -> ARABIC COMMA
- u'\u061b' # 0x00ac -> ARABIC SEMICOLON
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\u061f' # 0x00ae -> ARABIC QUESTION MARK
- u'\ufe81' # 0x00af -> ARABIC LETTER ALEF WITH MADDA ABOVE ISOLATED FORM
- u'\ufe8d' # 0x00b0 -> ARABIC LETTER ALEF ISOLATED FORM
- u'\ufe8e' # 0x00b1 -> ARABIC LETTER ALEF FINAL FORM
- u'\ufe8e' # 0x00b2 -> ARABIC LETTER ALEF FINAL FORM
- u'\ufe8f' # 0x00b3 -> ARABIC LETTER BEH ISOLATED FORM
- u'\ufe91' # 0x00b4 -> ARABIC LETTER BEH INITIAL FORM
- u'\ufb56' # 0x00b5 -> ARABIC LETTER PEH ISOLATED FORM
- u'\ufb58' # 0x00b6 -> ARABIC LETTER PEH INITIAL FORM
- u'\ufe93' # 0x00b7 -> ARABIC LETTER TEH MARBUTA ISOLATED FORM
- u'\ufe95' # 0x00b8 -> ARABIC LETTER TEH ISOLATED FORM
- u'\ufe97' # 0x00b9 -> ARABIC LETTER TEH INITIAL FORM
- u'\ufb66' # 0x00ba -> ARABIC LETTER TTEH ISOLATED FORM
- u'\ufb68' # 0x00bb -> ARABIC LETTER TTEH INITIAL FORM
- u'\ufe99' # 0x00bc -> ARABIC LETTER THEH ISOLATED FORM
- u'\ufe9b' # 0x00bd -> ARABIC LETTER THEH INITIAL FORM
- u'\ufe9d' # 0x00be -> ARABIC LETTER JEEM ISOLATED FORM
- u'\ufe9f' # 0x00bf -> ARABIC LETTER JEEM INITIAL FORM
- u'\ufb7a' # 0x00c0 -> ARABIC LETTER TCHEH ISOLATED FORM
- u'\ufb7c' # 0x00c1 -> ARABIC LETTER TCHEH INITIAL FORM
- u'\ufea1' # 0x00c2 -> ARABIC LETTER HAH ISOLATED FORM
- u'\ufea3' # 0x00c3 -> ARABIC LETTER HAH INITIAL FORM
- u'\ufea5' # 0x00c4 -> ARABIC LETTER KHAH ISOLATED FORM
- u'\ufea7' # 0x00c5 -> ARABIC LETTER KHAH INITIAL FORM
- u'\ufea9' # 0x00c6 -> ARABIC LETTER DAL ISOLATED FORM
- u'\ufb84' # 0x00c7 -> ARABIC LETTER DAHAL ISOLATED FORMN
- u'\ufeab' # 0x00c8 -> ARABIC LETTER THAL ISOLATED FORM
- u'\ufead' # 0x00c9 -> ARABIC LETTER REH ISOLATED FORM
- u'\ufb8c' # 0x00ca -> ARABIC LETTER RREH ISOLATED FORM
- u'\ufeaf' # 0x00cb -> ARABIC LETTER ZAIN ISOLATED FORM
- u'\ufb8a' # 0x00cc -> ARABIC LETTER JEH ISOLATED FORM
- u'\ufeb1' # 0x00cd -> ARABIC LETTER SEEN ISOLATED FORM
- u'\ufeb3' # 0x00ce -> ARABIC LETTER SEEN INITIAL FORM
- u'\ufeb5' # 0x00cf -> ARABIC LETTER SHEEN ISOLATED FORM
- u'\ufeb7' # 0x00d0 -> ARABIC LETTER SHEEN INITIAL FORM
- u'\ufeb9' # 0x00d1 -> ARABIC LETTER SAD ISOLATED FORM
- u'\ufebb' # 0x00d2 -> ARABIC LETTER SAD INITIAL FORM
- u'\ufebd' # 0x00d3 -> ARABIC LETTER DAD ISOLATED FORM
- u'\ufebf' # 0x00d4 -> ARABIC LETTER DAD INITIAL FORM
- u'\ufec1' # 0x00d5 -> ARABIC LETTER TAH ISOLATED FORM
- u'\ufec5' # 0x00d6 -> ARABIC LETTER ZAH ISOLATED FORM
- u'\ufec9' # 0x00d7 -> ARABIC LETTER AIN ISOLATED FORM
- u'\ufeca' # 0x00d8 -> ARABIC LETTER AIN FINAL FORM
- u'\ufecb' # 0x00d9 -> ARABIC LETTER AIN INITIAL FORM
- u'\ufecc' # 0x00da -> ARABIC LETTER AIN MEDIAL FORM
- u'\ufecd' # 0x00db -> ARABIC LETTER GHAIN ISOLATED FORM
- u'\ufece' # 0x00dc -> ARABIC LETTER GHAIN FINAL FORM
- u'\ufecf' # 0x00dd -> ARABIC LETTER GHAIN INITIAL FORM
- u'\ufed0' # 0x00de -> ARABIC LETTER GHAIN MEDIAL FORM
- u'\ufed1' # 0x00df -> ARABIC LETTER FEH ISOLATED FORM
- u'\ufed3' # 0x00e0 -> ARABIC LETTER FEH INITIAL FORM
- u'\ufed5' # 0x00e1 -> ARABIC LETTER QAF ISOLATED FORM
- u'\ufed7' # 0x00e2 -> ARABIC LETTER QAF INITIAL FORM
- u'\ufed9' # 0x00e3 -> ARABIC LETTER KAF ISOLATED FORM
- u'\ufedb' # 0x00e4 -> ARABIC LETTER KAF INITIAL FORM
- u'\ufb92' # 0x00e5 -> ARABIC LETTER GAF ISOLATED FORM
- u'\ufb94' # 0x00e6 -> ARABIC LETTER GAF INITIAL FORM
- u'\ufedd' # 0x00e7 -> ARABIC LETTER LAM ISOLATED FORM
- u'\ufedf' # 0x00e8 -> ARABIC LETTER LAM INITIAL FORM
- u'\ufee0' # 0x00e9 -> ARABIC LETTER LAM MEDIAL FORM
- u'\ufee1' # 0x00ea -> ARABIC LETTER MEEM ISOLATED FORM
- u'\ufee3' # 0x00eb -> ARABIC LETTER MEEM INITIAL FORM
- u'\ufb9e' # 0x00ec -> ARABIC LETTER NOON GHUNNA ISOLATED FORM
- u'\ufee5' # 0x00ed -> ARABIC LETTER NOON ISOLATED FORM
- u'\ufee7' # 0x00ee -> ARABIC LETTER NOON INITIAL FORM
- u'\ufe85' # 0x00ef -> ARABIC LETTER WAW WITH HAMZA ABOVE ISOLATED FORM
- u'\ufeed' # 0x00f0 -> ARABIC LETTER WAW ISOLATED FORM
- u'\ufba6' # 0x00f1 -> ARABIC LETTER HEH GOAL ISOLATED FORM
- u'\ufba8' # 0x00f2 -> ARABIC LETTER HEH GOAL INITIAL FORM
- u'\ufba9' # 0x00f3 -> ARABIC LETTER HEH GOAL MEDIAL FORM
- u'\ufbaa' # 0x00f4 -> ARABIC LETTER HEH DOACHASHMEE ISOLATED FORM
- u'\ufe80' # 0x00f5 -> ARABIC LETTER HAMZA ISOLATED FORM
- u'\ufe89' # 0x00f6 -> ARABIC LETTER YEH WITH HAMZA ABOVE ISOLATED FORM
- u'\ufe8a' # 0x00f7 -> ARABIC LETTER YEH WITH HAMZA ABOVE FINAL FORM
- u'\ufe8b' # 0x00f8 -> ARABIC LETTER YEH WITH HAMZA ABOVE INITIAL FORM
- u'\ufef1' # 0x00f9 -> ARABIC LETTER YEH ISOLATED FORM
- u'\ufef2' # 0x00fa -> ARABIC LETTER YEH FINAL FORM
- u'\ufef3' # 0x00fb -> ARABIC LETTER YEH INITIAL FORM
- u'\ufbb0' # 0x00fc -> ARABIC LETTER YEH BARREE WITH HAMZA ABOVE ISOLATED FORM
- u'\ufbae' # 0x00fd -> ARABIC LETTER YEH BARREE ISOLATED FORM
- u'\ufe7c' # 0x00fe -> ARABIC SHADDA ISOLATED FORM
- u'\ufe7d' # 0x00ff -> ARABIC SHADDA MEDIAL FORM
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u06f0' # 0xa1 -> EXTENDED ARABIC-INDIC DIGIT ZERO
+ u'\u06f1' # 0xa2 -> EXTENDED ARABIC-INDIC DIGIT ONE
+ u'\u06f2' # 0xa3 -> EXTENDED ARABIC-INDIC DIGIT TWO
+ u'\u06f3' # 0xa4 -> EXTENDED ARABIC-INDIC DIGIT THREE
+ u'\u06f4' # 0xa5 -> EXTENDED ARABIC-INDIC DIGIT FOUR
+ u'\u06f5' # 0xa6 -> EXTENDED ARABIC-INDIC DIGIT FIVE
+ u'\u06f6' # 0xa7 -> EXTENDED ARABIC-INDIC DIGIT SIX
+ u'\u06f7' # 0xa8 -> EXTENDED ARABIC-INDIC DIGIT SEVEN
+ u'\u06f8' # 0xa9 -> EXTENDED ARABIC-INDIC DIGIT EIGHT
+ u'\u06f9' # 0xaa -> EXTENDED ARABIC-INDIC DIGIT NINE
+ u'\u060c' # 0xab -> ARABIC COMMA
+ u'\u061b' # 0xac -> ARABIC SEMICOLON
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\u061f' # 0xae -> ARABIC QUESTION MARK
+ u'\ufe81' # 0xaf -> ARABIC LETTER ALEF WITH MADDA ABOVE ISOLATED FORM
+ u'\ufe8d' # 0xb0 -> ARABIC LETTER ALEF ISOLATED FORM
+ u'\ufe8e' # 0xb1 -> ARABIC LETTER ALEF FINAL FORM
+ u'\ufe8e' # 0xb2 -> ARABIC LETTER ALEF FINAL FORM
+ u'\ufe8f' # 0xb3 -> ARABIC LETTER BEH ISOLATED FORM
+ u'\ufe91' # 0xb4 -> ARABIC LETTER BEH INITIAL FORM
+ u'\ufb56' # 0xb5 -> ARABIC LETTER PEH ISOLATED FORM
+ u'\ufb58' # 0xb6 -> ARABIC LETTER PEH INITIAL FORM
+ u'\ufe93' # 0xb7 -> ARABIC LETTER TEH MARBUTA ISOLATED FORM
+ u'\ufe95' # 0xb8 -> ARABIC LETTER TEH ISOLATED FORM
+ u'\ufe97' # 0xb9 -> ARABIC LETTER TEH INITIAL FORM
+ u'\ufb66' # 0xba -> ARABIC LETTER TTEH ISOLATED FORM
+ u'\ufb68' # 0xbb -> ARABIC LETTER TTEH INITIAL FORM
+ u'\ufe99' # 0xbc -> ARABIC LETTER THEH ISOLATED FORM
+ u'\ufe9b' # 0xbd -> ARABIC LETTER THEH INITIAL FORM
+ u'\ufe9d' # 0xbe -> ARABIC LETTER JEEM ISOLATED FORM
+ u'\ufe9f' # 0xbf -> ARABIC LETTER JEEM INITIAL FORM
+ u'\ufb7a' # 0xc0 -> ARABIC LETTER TCHEH ISOLATED FORM
+ u'\ufb7c' # 0xc1 -> ARABIC LETTER TCHEH INITIAL FORM
+ u'\ufea1' # 0xc2 -> ARABIC LETTER HAH ISOLATED FORM
+ u'\ufea3' # 0xc3 -> ARABIC LETTER HAH INITIAL FORM
+ u'\ufea5' # 0xc4 -> ARABIC LETTER KHAH ISOLATED FORM
+ u'\ufea7' # 0xc5 -> ARABIC LETTER KHAH INITIAL FORM
+ u'\ufea9' # 0xc6 -> ARABIC LETTER DAL ISOLATED FORM
+ u'\ufb84' # 0xc7 -> ARABIC LETTER DAHAL ISOLATED FORMN
+ u'\ufeab' # 0xc8 -> ARABIC LETTER THAL ISOLATED FORM
+ u'\ufead' # 0xc9 -> ARABIC LETTER REH ISOLATED FORM
+ u'\ufb8c' # 0xca -> ARABIC LETTER RREH ISOLATED FORM
+ u'\ufeaf' # 0xcb -> ARABIC LETTER ZAIN ISOLATED FORM
+ u'\ufb8a' # 0xcc -> ARABIC LETTER JEH ISOLATED FORM
+ u'\ufeb1' # 0xcd -> ARABIC LETTER SEEN ISOLATED FORM
+ u'\ufeb3' # 0xce -> ARABIC LETTER SEEN INITIAL FORM
+ u'\ufeb5' # 0xcf -> ARABIC LETTER SHEEN ISOLATED FORM
+ u'\ufeb7' # 0xd0 -> ARABIC LETTER SHEEN INITIAL FORM
+ u'\ufeb9' # 0xd1 -> ARABIC LETTER SAD ISOLATED FORM
+ u'\ufebb' # 0xd2 -> ARABIC LETTER SAD INITIAL FORM
+ u'\ufebd' # 0xd3 -> ARABIC LETTER DAD ISOLATED FORM
+ u'\ufebf' # 0xd4 -> ARABIC LETTER DAD INITIAL FORM
+ u'\ufec1' # 0xd5 -> ARABIC LETTER TAH ISOLATED FORM
+ u'\ufec5' # 0xd6 -> ARABIC LETTER ZAH ISOLATED FORM
+ u'\ufec9' # 0xd7 -> ARABIC LETTER AIN ISOLATED FORM
+ u'\ufeca' # 0xd8 -> ARABIC LETTER AIN FINAL FORM
+ u'\ufecb' # 0xd9 -> ARABIC LETTER AIN INITIAL FORM
+ u'\ufecc' # 0xda -> ARABIC LETTER AIN MEDIAL FORM
+ u'\ufecd' # 0xdb -> ARABIC LETTER GHAIN ISOLATED FORM
+ u'\ufece' # 0xdc -> ARABIC LETTER GHAIN FINAL FORM
+ u'\ufecf' # 0xdd -> ARABIC LETTER GHAIN INITIAL FORM
+ u'\ufed0' # 0xde -> ARABIC LETTER GHAIN MEDIAL FORM
+ u'\ufed1' # 0xdf -> ARABIC LETTER FEH ISOLATED FORM
+ u'\ufed3' # 0xe0 -> ARABIC LETTER FEH INITIAL FORM
+ u'\ufed5' # 0xe1 -> ARABIC LETTER QAF ISOLATED FORM
+ u'\ufed7' # 0xe2 -> ARABIC LETTER QAF INITIAL FORM
+ u'\ufed9' # 0xe3 -> ARABIC LETTER KAF ISOLATED FORM
+ u'\ufedb' # 0xe4 -> ARABIC LETTER KAF INITIAL FORM
+ u'\ufb92' # 0xe5 -> ARABIC LETTER GAF ISOLATED FORM
+ u'\ufb94' # 0xe6 -> ARABIC LETTER GAF INITIAL FORM
+ u'\ufedd' # 0xe7 -> ARABIC LETTER LAM ISOLATED FORM
+ u'\ufedf' # 0xe8 -> ARABIC LETTER LAM INITIAL FORM
+ u'\ufee0' # 0xe9 -> ARABIC LETTER LAM MEDIAL FORM
+ u'\ufee1' # 0xea -> ARABIC LETTER MEEM ISOLATED FORM
+ u'\ufee3' # 0xeb -> ARABIC LETTER MEEM INITIAL FORM
+ u'\ufb9e' # 0xec -> ARABIC LETTER NOON GHUNNA ISOLATED FORM
+ u'\ufee5' # 0xed -> ARABIC LETTER NOON ISOLATED FORM
+ u'\ufee7' # 0xee -> ARABIC LETTER NOON INITIAL FORM
+ u'\ufe85' # 0xef -> ARABIC LETTER WAW WITH HAMZA ABOVE ISOLATED FORM
+ u'\ufeed' # 0xf0 -> ARABIC LETTER WAW ISOLATED FORM
+ u'\ufba6' # 0xf1 -> ARABIC LETTER HEH GOAL ISOLATED FORM
+ u'\ufba8' # 0xf2 -> ARABIC LETTER HEH GOAL INITIAL FORM
+ u'\ufba9' # 0xf3 -> ARABIC LETTER HEH GOAL MEDIAL FORM
+ u'\ufbaa' # 0xf4 -> ARABIC LETTER HEH DOACHASHMEE ISOLATED FORM
+ u'\ufe80' # 0xf5 -> ARABIC LETTER HAMZA ISOLATED FORM
+ u'\ufe89' # 0xf6 -> ARABIC LETTER YEH WITH HAMZA ABOVE ISOLATED FORM
+ u'\ufe8a' # 0xf7 -> ARABIC LETTER YEH WITH HAMZA ABOVE FINAL FORM
+ u'\ufe8b' # 0xf8 -> ARABIC LETTER YEH WITH HAMZA ABOVE INITIAL FORM
+ u'\ufef1' # 0xf9 -> ARABIC LETTER YEH ISOLATED FORM
+ u'\ufef2' # 0xfa -> ARABIC LETTER YEH FINAL FORM
+ u'\ufef3' # 0xfb -> ARABIC LETTER YEH INITIAL FORM
+ u'\ufbb0' # 0xfc -> ARABIC LETTER YEH BARREE WITH HAMZA ABOVE ISOLATED FORM
+ u'\ufbae' # 0xfd -> ARABIC LETTER YEH BARREE ISOLATED FORM
+ u'\ufe7c' # 0xfe -> ARABIC SHADDA ISOLATED FORM
+ u'\ufe7d' # 0xff -> ARABIC SHADDA MEDIAL FORM
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x060c: 0x00ab, # ARABIC COMMA
- 0x061b: 0x00ac, # ARABIC SEMICOLON
- 0x061f: 0x00ae, # ARABIC QUESTION MARK
- 0x06f0: 0x00a1, # EXTENDED ARABIC-INDIC DIGIT ZERO
- 0x06f1: 0x00a2, # EXTENDED ARABIC-INDIC DIGIT ONE
- 0x06f2: 0x00a3, # EXTENDED ARABIC-INDIC DIGIT TWO
- 0x06f3: 0x00a4, # EXTENDED ARABIC-INDIC DIGIT THREE
- 0x06f4: 0x00a5, # EXTENDED ARABIC-INDIC DIGIT FOUR
- 0x06f5: 0x00a6, # EXTENDED ARABIC-INDIC DIGIT FIVE
- 0x06f6: 0x00a7, # EXTENDED ARABIC-INDIC DIGIT SIX
- 0x06f7: 0x00a8, # EXTENDED ARABIC-INDIC DIGIT SEVEN
- 0x06f8: 0x00a9, # EXTENDED ARABIC-INDIC DIGIT EIGHT
- 0x06f9: 0x00aa, # EXTENDED ARABIC-INDIC DIGIT NINE
- 0xfb56: 0x00b5, # ARABIC LETTER PEH ISOLATED FORM
- 0xfb58: 0x00b6, # ARABIC LETTER PEH INITIAL FORM
- 0xfb66: 0x00ba, # ARABIC LETTER TTEH ISOLATED FORM
- 0xfb68: 0x00bb, # ARABIC LETTER TTEH INITIAL FORM
- 0xfb7a: 0x00c0, # ARABIC LETTER TCHEH ISOLATED FORM
- 0xfb7c: 0x00c1, # ARABIC LETTER TCHEH INITIAL FORM
- 0xfb84: 0x00c7, # ARABIC LETTER DAHAL ISOLATED FORMN
- 0xfb8a: 0x00cc, # ARABIC LETTER JEH ISOLATED FORM
- 0xfb8c: 0x00ca, # ARABIC LETTER RREH ISOLATED FORM
- 0xfb92: 0x00e5, # ARABIC LETTER GAF ISOLATED FORM
- 0xfb94: 0x00e6, # ARABIC LETTER GAF INITIAL FORM
- 0xfb9e: 0x00ec, # ARABIC LETTER NOON GHUNNA ISOLATED FORM
- 0xfba6: 0x00f1, # ARABIC LETTER HEH GOAL ISOLATED FORM
- 0xfba8: 0x00f2, # ARABIC LETTER HEH GOAL INITIAL FORM
- 0xfba9: 0x00f3, # ARABIC LETTER HEH GOAL MEDIAL FORM
- 0xfbaa: 0x00f4, # ARABIC LETTER HEH DOACHASHMEE ISOLATED FORM
- 0xfbae: 0x00fd, # ARABIC LETTER YEH BARREE ISOLATED FORM
- 0xfbb0: 0x00fc, # ARABIC LETTER YEH BARREE WITH HAMZA ABOVE ISOLATED FORM
- 0xfe7c: 0x00fe, # ARABIC SHADDA ISOLATED FORM
- 0xfe7d: 0x00ff, # ARABIC SHADDA MEDIAL FORM
- 0xfe80: 0x00f5, # ARABIC LETTER HAMZA ISOLATED FORM
- 0xfe81: 0x00af, # ARABIC LETTER ALEF WITH MADDA ABOVE ISOLATED FORM
- 0xfe85: 0x00ef, # ARABIC LETTER WAW WITH HAMZA ABOVE ISOLATED FORM
- 0xfe89: 0x00f6, # ARABIC LETTER YEH WITH HAMZA ABOVE ISOLATED FORM
- 0xfe8a: 0x00f7, # ARABIC LETTER YEH WITH HAMZA ABOVE FINAL FORM
- 0xfe8b: 0x00f8, # ARABIC LETTER YEH WITH HAMZA ABOVE INITIAL FORM
- 0xfe8d: 0x00b0, # ARABIC LETTER ALEF ISOLATED FORM
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x060c: 0xab, # ARABIC COMMA
+ 0x061b: 0xac, # ARABIC SEMICOLON
+ 0x061f: 0xae, # ARABIC QUESTION MARK
+ 0x06f0: 0xa1, # EXTENDED ARABIC-INDIC DIGIT ZERO
+ 0x06f1: 0xa2, # EXTENDED ARABIC-INDIC DIGIT ONE
+ 0x06f2: 0xa3, # EXTENDED ARABIC-INDIC DIGIT TWO
+ 0x06f3: 0xa4, # EXTENDED ARABIC-INDIC DIGIT THREE
+ 0x06f4: 0xa5, # EXTENDED ARABIC-INDIC DIGIT FOUR
+ 0x06f5: 0xa6, # EXTENDED ARABIC-INDIC DIGIT FIVE
+ 0x06f6: 0xa7, # EXTENDED ARABIC-INDIC DIGIT SIX
+ 0x06f7: 0xa8, # EXTENDED ARABIC-INDIC DIGIT SEVEN
+ 0x06f8: 0xa9, # EXTENDED ARABIC-INDIC DIGIT EIGHT
+ 0x06f9: 0xaa, # EXTENDED ARABIC-INDIC DIGIT NINE
+ 0xfb56: 0xb5, # ARABIC LETTER PEH ISOLATED FORM
+ 0xfb58: 0xb6, # ARABIC LETTER PEH INITIAL FORM
+ 0xfb66: 0xba, # ARABIC LETTER TTEH ISOLATED FORM
+ 0xfb68: 0xbb, # ARABIC LETTER TTEH INITIAL FORM
+ 0xfb7a: 0xc0, # ARABIC LETTER TCHEH ISOLATED FORM
+ 0xfb7c: 0xc1, # ARABIC LETTER TCHEH INITIAL FORM
+ 0xfb84: 0xc7, # ARABIC LETTER DAHAL ISOLATED FORMN
+ 0xfb8a: 0xcc, # ARABIC LETTER JEH ISOLATED FORM
+ 0xfb8c: 0xca, # ARABIC LETTER RREH ISOLATED FORM
+ 0xfb92: 0xe5, # ARABIC LETTER GAF ISOLATED FORM
+ 0xfb94: 0xe6, # ARABIC LETTER GAF INITIAL FORM
+ 0xfb9e: 0xec, # ARABIC LETTER NOON GHUNNA ISOLATED FORM
+ 0xfba6: 0xf1, # ARABIC LETTER HEH GOAL ISOLATED FORM
+ 0xfba8: 0xf2, # ARABIC LETTER HEH GOAL INITIAL FORM
+ 0xfba9: 0xf3, # ARABIC LETTER HEH GOAL MEDIAL FORM
+ 0xfbaa: 0xf4, # ARABIC LETTER HEH DOACHASHMEE ISOLATED FORM
+ 0xfbae: 0xfd, # ARABIC LETTER YEH BARREE ISOLATED FORM
+ 0xfbb0: 0xfc, # ARABIC LETTER YEH BARREE WITH HAMZA ABOVE ISOLATED FORM
+ 0xfe7c: 0xfe, # ARABIC SHADDA ISOLATED FORM
+ 0xfe7d: 0xff, # ARABIC SHADDA MEDIAL FORM
+ 0xfe80: 0xf5, # ARABIC LETTER HAMZA ISOLATED FORM
+ 0xfe81: 0xaf, # ARABIC LETTER ALEF WITH MADDA ABOVE ISOLATED FORM
+ 0xfe85: 0xef, # ARABIC LETTER WAW WITH HAMZA ABOVE ISOLATED FORM
+ 0xfe89: 0xf6, # ARABIC LETTER YEH WITH HAMZA ABOVE ISOLATED FORM
+ 0xfe8a: 0xf7, # ARABIC LETTER YEH WITH HAMZA ABOVE FINAL FORM
+ 0xfe8b: 0xf8, # ARABIC LETTER YEH WITH HAMZA ABOVE INITIAL FORM
+ 0xfe8d: 0xb0, # ARABIC LETTER ALEF ISOLATED FORM
0xfe8e: None, # ARABIC LETTER ALEF FINAL FORM
- 0xfe8f: 0x00b3, # ARABIC LETTER BEH ISOLATED FORM
- 0xfe91: 0x00b4, # ARABIC LETTER BEH INITIAL FORM
- 0xfe93: 0x00b7, # ARABIC LETTER TEH MARBUTA ISOLATED FORM
- 0xfe95: 0x00b8, # ARABIC LETTER TEH ISOLATED FORM
- 0xfe97: 0x00b9, # ARABIC LETTER TEH INITIAL FORM
- 0xfe99: 0x00bc, # ARABIC LETTER THEH ISOLATED FORM
- 0xfe9b: 0x00bd, # ARABIC LETTER THEH INITIAL FORM
- 0xfe9d: 0x00be, # ARABIC LETTER JEEM ISOLATED FORM
- 0xfe9f: 0x00bf, # ARABIC LETTER JEEM INITIAL FORM
- 0xfea1: 0x00c2, # ARABIC LETTER HAH ISOLATED FORM
- 0xfea3: 0x00c3, # ARABIC LETTER HAH INITIAL FORM
- 0xfea5: 0x00c4, # ARABIC LETTER KHAH ISOLATED FORM
- 0xfea7: 0x00c5, # ARABIC LETTER KHAH INITIAL FORM
- 0xfea9: 0x00c6, # ARABIC LETTER DAL ISOLATED FORM
- 0xfeab: 0x00c8, # ARABIC LETTER THAL ISOLATED FORM
- 0xfead: 0x00c9, # ARABIC LETTER REH ISOLATED FORM
- 0xfeaf: 0x00cb, # ARABIC LETTER ZAIN ISOLATED FORM
- 0xfeb1: 0x00cd, # ARABIC LETTER SEEN ISOLATED FORM
- 0xfeb3: 0x00ce, # ARABIC LETTER SEEN INITIAL FORM
- 0xfeb5: 0x00cf, # ARABIC LETTER SHEEN ISOLATED FORM
- 0xfeb7: 0x00d0, # ARABIC LETTER SHEEN INITIAL FORM
- 0xfeb9: 0x00d1, # ARABIC LETTER SAD ISOLATED FORM
- 0xfebb: 0x00d2, # ARABIC LETTER SAD INITIAL FORM
- 0xfebd: 0x00d3, # ARABIC LETTER DAD ISOLATED FORM
- 0xfebf: 0x00d4, # ARABIC LETTER DAD INITIAL FORM
- 0xfec1: 0x00d5, # ARABIC LETTER TAH ISOLATED FORM
- 0xfec5: 0x00d6, # ARABIC LETTER ZAH ISOLATED FORM
- 0xfec9: 0x00d7, # ARABIC LETTER AIN ISOLATED FORM
- 0xfeca: 0x00d8, # ARABIC LETTER AIN FINAL FORM
- 0xfecb: 0x00d9, # ARABIC LETTER AIN INITIAL FORM
- 0xfecc: 0x00da, # ARABIC LETTER AIN MEDIAL FORM
- 0xfecd: 0x00db, # ARABIC LETTER GHAIN ISOLATED FORM
- 0xfece: 0x00dc, # ARABIC LETTER GHAIN FINAL FORM
- 0xfecf: 0x00dd, # ARABIC LETTER GHAIN INITIAL FORM
- 0xfed0: 0x00de, # ARABIC LETTER GHAIN MEDIAL FORM
- 0xfed1: 0x00df, # ARABIC LETTER FEH ISOLATED FORM
- 0xfed3: 0x00e0, # ARABIC LETTER FEH INITIAL FORM
- 0xfed5: 0x00e1, # ARABIC LETTER QAF ISOLATED FORM
- 0xfed7: 0x00e2, # ARABIC LETTER QAF INITIAL FORM
- 0xfed9: 0x00e3, # ARABIC LETTER KAF ISOLATED FORM
- 0xfedb: 0x00e4, # ARABIC LETTER KAF INITIAL FORM
- 0xfedd: 0x00e7, # ARABIC LETTER LAM ISOLATED FORM
- 0xfedf: 0x00e8, # ARABIC LETTER LAM INITIAL FORM
- 0xfee0: 0x00e9, # ARABIC LETTER LAM MEDIAL FORM
- 0xfee1: 0x00ea, # ARABIC LETTER MEEM ISOLATED FORM
- 0xfee3: 0x00eb, # ARABIC LETTER MEEM INITIAL FORM
- 0xfee5: 0x00ed, # ARABIC LETTER NOON ISOLATED FORM
- 0xfee7: 0x00ee, # ARABIC LETTER NOON INITIAL FORM
- 0xfeed: 0x00f0, # ARABIC LETTER WAW ISOLATED FORM
- 0xfef1: 0x00f9, # ARABIC LETTER YEH ISOLATED FORM
- 0xfef2: 0x00fa, # ARABIC LETTER YEH FINAL FORM
- 0xfef3: 0x00fb, # ARABIC LETTER YEH INITIAL FORM
+ 0xfe8f: 0xb3, # ARABIC LETTER BEH ISOLATED FORM
+ 0xfe91: 0xb4, # ARABIC LETTER BEH INITIAL FORM
+ 0xfe93: 0xb7, # ARABIC LETTER TEH MARBUTA ISOLATED FORM
+ 0xfe95: 0xb8, # ARABIC LETTER TEH ISOLATED FORM
+ 0xfe97: 0xb9, # ARABIC LETTER TEH INITIAL FORM
+ 0xfe99: 0xbc, # ARABIC LETTER THEH ISOLATED FORM
+ 0xfe9b: 0xbd, # ARABIC LETTER THEH INITIAL FORM
+ 0xfe9d: 0xbe, # ARABIC LETTER JEEM ISOLATED FORM
+ 0xfe9f: 0xbf, # ARABIC LETTER JEEM INITIAL FORM
+ 0xfea1: 0xc2, # ARABIC LETTER HAH ISOLATED FORM
+ 0xfea3: 0xc3, # ARABIC LETTER HAH INITIAL FORM
+ 0xfea5: 0xc4, # ARABIC LETTER KHAH ISOLATED FORM
+ 0xfea7: 0xc5, # ARABIC LETTER KHAH INITIAL FORM
+ 0xfea9: 0xc6, # ARABIC LETTER DAL ISOLATED FORM
+ 0xfeab: 0xc8, # ARABIC LETTER THAL ISOLATED FORM
+ 0xfead: 0xc9, # ARABIC LETTER REH ISOLATED FORM
+ 0xfeaf: 0xcb, # ARABIC LETTER ZAIN ISOLATED FORM
+ 0xfeb1: 0xcd, # ARABIC LETTER SEEN ISOLATED FORM
+ 0xfeb3: 0xce, # ARABIC LETTER SEEN INITIAL FORM
+ 0xfeb5: 0xcf, # ARABIC LETTER SHEEN ISOLATED FORM
+ 0xfeb7: 0xd0, # ARABIC LETTER SHEEN INITIAL FORM
+ 0xfeb9: 0xd1, # ARABIC LETTER SAD ISOLATED FORM
+ 0xfebb: 0xd2, # ARABIC LETTER SAD INITIAL FORM
+ 0xfebd: 0xd3, # ARABIC LETTER DAD ISOLATED FORM
+ 0xfebf: 0xd4, # ARABIC LETTER DAD INITIAL FORM
+ 0xfec1: 0xd5, # ARABIC LETTER TAH ISOLATED FORM
+ 0xfec5: 0xd6, # ARABIC LETTER ZAH ISOLATED FORM
+ 0xfec9: 0xd7, # ARABIC LETTER AIN ISOLATED FORM
+ 0xfeca: 0xd8, # ARABIC LETTER AIN FINAL FORM
+ 0xfecb: 0xd9, # ARABIC LETTER AIN INITIAL FORM
+ 0xfecc: 0xda, # ARABIC LETTER AIN MEDIAL FORM
+ 0xfecd: 0xdb, # ARABIC LETTER GHAIN ISOLATED FORM
+ 0xfece: 0xdc, # ARABIC LETTER GHAIN FINAL FORM
+ 0xfecf: 0xdd, # ARABIC LETTER GHAIN INITIAL FORM
+ 0xfed0: 0xde, # ARABIC LETTER GHAIN MEDIAL FORM
+ 0xfed1: 0xdf, # ARABIC LETTER FEH ISOLATED FORM
+ 0xfed3: 0xe0, # ARABIC LETTER FEH INITIAL FORM
+ 0xfed5: 0xe1, # ARABIC LETTER QAF ISOLATED FORM
+ 0xfed7: 0xe2, # ARABIC LETTER QAF INITIAL FORM
+ 0xfed9: 0xe3, # ARABIC LETTER KAF ISOLATED FORM
+ 0xfedb: 0xe4, # ARABIC LETTER KAF INITIAL FORM
+ 0xfedd: 0xe7, # ARABIC LETTER LAM ISOLATED FORM
+ 0xfedf: 0xe8, # ARABIC LETTER LAM INITIAL FORM
+ 0xfee0: 0xe9, # ARABIC LETTER LAM MEDIAL FORM
+ 0xfee1: 0xea, # ARABIC LETTER MEEM ISOLATED FORM
+ 0xfee3: 0xeb, # ARABIC LETTER MEEM INITIAL FORM
+ 0xfee5: 0xed, # ARABIC LETTER NOON ISOLATED FORM
+ 0xfee7: 0xee, # ARABIC LETTER NOON INITIAL FORM
+ 0xfeed: 0xf0, # ARABIC LETTER WAW ISOLATED FORM
+ 0xfef1: 0xf9, # ARABIC LETTER YEH ISOLATED FORM
+ 0xfef2: 0xfa, # ARABIC LETTER YEH FINAL FORM
+ 0xfef3: 0xfb, # ARABIC LETTER YEH INITIAL FORM
} \ No newline at end of file
diff --git a/Lib/encodings/cp1026.py b/Lib/encodings/cp1026.py
index a7ce6df74b7..463008dc4b9 100644
--- a/Lib/encodings/cp1026.py
+++ b/Lib/encodings/cp1026.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/EBCDIC/CP1026.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/EBCDIC/CP1026.TXT' with gencodec.py.
"""#"
@@ -28,766 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0004: 0x009c, # CONTROL
- 0x0005: 0x0009, # HORIZONTAL TABULATION
- 0x0006: 0x0086, # CONTROL
- 0x0007: 0x007f, # DELETE
- 0x0008: 0x0097, # CONTROL
- 0x0009: 0x008d, # CONTROL
- 0x000a: 0x008e, # CONTROL
- 0x0014: 0x009d, # CONTROL
- 0x0015: 0x0085, # CONTROL
- 0x0016: 0x0008, # BACKSPACE
- 0x0017: 0x0087, # CONTROL
- 0x001a: 0x0092, # CONTROL
- 0x001b: 0x008f, # CONTROL
- 0x0020: 0x0080, # CONTROL
- 0x0021: 0x0081, # CONTROL
- 0x0022: 0x0082, # CONTROL
- 0x0023: 0x0083, # CONTROL
- 0x0024: 0x0084, # CONTROL
- 0x0025: 0x000a, # LINE FEED
- 0x0026: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0027: 0x001b, # ESCAPE
- 0x0028: 0x0088, # CONTROL
- 0x0029: 0x0089, # CONTROL
- 0x002a: 0x008a, # CONTROL
- 0x002b: 0x008b, # CONTROL
- 0x002c: 0x008c, # CONTROL
- 0x002d: 0x0005, # ENQUIRY
- 0x002e: 0x0006, # ACKNOWLEDGE
- 0x002f: 0x0007, # BELL
- 0x0030: 0x0090, # CONTROL
- 0x0031: 0x0091, # CONTROL
- 0x0032: 0x0016, # SYNCHRONOUS IDLE
- 0x0033: 0x0093, # CONTROL
- 0x0034: 0x0094, # CONTROL
- 0x0035: 0x0095, # CONTROL
- 0x0036: 0x0096, # CONTROL
- 0x0037: 0x0004, # END OF TRANSMISSION
- 0x0038: 0x0098, # CONTROL
- 0x0039: 0x0099, # CONTROL
- 0x003a: 0x009a, # CONTROL
- 0x003b: 0x009b, # CONTROL
- 0x003c: 0x0014, # DEVICE CONTROL FOUR
- 0x003d: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x003e: 0x009e, # CONTROL
- 0x003f: 0x001a, # SUBSTITUTE
- 0x0040: 0x0020, # SPACE
- 0x0041: 0x00a0, # NO-BREAK SPACE
- 0x0042: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x0043: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x0044: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x0045: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x0046: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x0047: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x0048: 0x007b, # LEFT CURLY BRACKET
- 0x0049: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x004a: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x004b: 0x002e, # FULL STOP
- 0x004c: 0x003c, # LESS-THAN SIGN
- 0x004d: 0x0028, # LEFT PARENTHESIS
- 0x004e: 0x002b, # PLUS SIGN
- 0x004f: 0x0021, # EXCLAMATION MARK
- 0x0050: 0x0026, # AMPERSAND
- 0x0051: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x0052: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x0053: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x0054: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x0055: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x0056: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x0057: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x0058: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x0059: 0x00df, # LATIN SMALL LETTER SHARP S (GERMAN)
- 0x005a: 0x011e, # LATIN CAPITAL LETTER G WITH BREVE
- 0x005b: 0x0130, # LATIN CAPITAL LETTER I WITH DOT ABOVE
- 0x005c: 0x002a, # ASTERISK
- 0x005d: 0x0029, # RIGHT PARENTHESIS
- 0x005e: 0x003b, # SEMICOLON
- 0x005f: 0x005e, # CIRCUMFLEX ACCENT
- 0x0060: 0x002d, # HYPHEN-MINUS
- 0x0061: 0x002f, # SOLIDUS
- 0x0062: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x0063: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x0064: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x0065: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x0066: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x0067: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x0068: 0x005b, # LEFT SQUARE BRACKET
- 0x0069: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x006a: 0x015f, # LATIN SMALL LETTER S WITH CEDILLA
- 0x006b: 0x002c, # COMMA
- 0x006c: 0x0025, # PERCENT SIGN
- 0x006d: 0x005f, # LOW LINE
- 0x006e: 0x003e, # GREATER-THAN SIGN
- 0x006f: 0x003f, # QUESTION MARK
- 0x0070: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x0071: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x0072: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x0073: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x0074: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x0075: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x0076: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x0077: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x0078: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x0079: 0x0131, # LATIN SMALL LETTER DOTLESS I
- 0x007a: 0x003a, # COLON
- 0x007b: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x007c: 0x015e, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x007d: 0x0027, # APOSTROPHE
- 0x007e: 0x003d, # EQUALS SIGN
- 0x007f: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x0080: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x0081: 0x0061, # LATIN SMALL LETTER A
- 0x0082: 0x0062, # LATIN SMALL LETTER B
- 0x0083: 0x0063, # LATIN SMALL LETTER C
- 0x0084: 0x0064, # LATIN SMALL LETTER D
- 0x0085: 0x0065, # LATIN SMALL LETTER E
- 0x0086: 0x0066, # LATIN SMALL LETTER F
- 0x0087: 0x0067, # LATIN SMALL LETTER G
- 0x0088: 0x0068, # LATIN SMALL LETTER H
- 0x0089: 0x0069, # LATIN SMALL LETTER I
- 0x008a: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x008b: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x008c: 0x007d, # RIGHT CURLY BRACKET
- 0x008d: 0x0060, # GRAVE ACCENT
- 0x008e: 0x00a6, # BROKEN BAR
- 0x008f: 0x00b1, # PLUS-MINUS SIGN
- 0x0090: 0x00b0, # DEGREE SIGN
- 0x0091: 0x006a, # LATIN SMALL LETTER J
- 0x0092: 0x006b, # LATIN SMALL LETTER K
- 0x0093: 0x006c, # LATIN SMALL LETTER L
- 0x0094: 0x006d, # LATIN SMALL LETTER M
- 0x0095: 0x006e, # LATIN SMALL LETTER N
- 0x0096: 0x006f, # LATIN SMALL LETTER O
- 0x0097: 0x0070, # LATIN SMALL LETTER P
- 0x0098: 0x0071, # LATIN SMALL LETTER Q
- 0x0099: 0x0072, # LATIN SMALL LETTER R
- 0x009a: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x009b: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x009c: 0x00e6, # LATIN SMALL LIGATURE AE
- 0x009d: 0x00b8, # CEDILLA
- 0x009e: 0x00c6, # LATIN CAPITAL LIGATURE AE
- 0x009f: 0x00a4, # CURRENCY SIGN
- 0x00a0: 0x00b5, # MICRO SIGN
- 0x00a1: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00a2: 0x0073, # LATIN SMALL LETTER S
- 0x00a3: 0x0074, # LATIN SMALL LETTER T
- 0x00a4: 0x0075, # LATIN SMALL LETTER U
- 0x00a5: 0x0076, # LATIN SMALL LETTER V
- 0x00a6: 0x0077, # LATIN SMALL LETTER W
- 0x00a7: 0x0078, # LATIN SMALL LETTER X
- 0x00a8: 0x0079, # LATIN SMALL LETTER Y
- 0x00a9: 0x007a, # LATIN SMALL LETTER Z
- 0x00aa: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00ab: 0x00bf, # INVERTED QUESTION MARK
- 0x00ac: 0x005d, # RIGHT SQUARE BRACKET
- 0x00ad: 0x0024, # DOLLAR SIGN
- 0x00ae: 0x0040, # COMMERCIAL AT
- 0x00af: 0x00ae, # REGISTERED SIGN
- 0x00b0: 0x00a2, # CENT SIGN
- 0x00b1: 0x00a3, # POUND SIGN
- 0x00b2: 0x00a5, # YEN SIGN
- 0x00b3: 0x00b7, # MIDDLE DOT
- 0x00b4: 0x00a9, # COPYRIGHT SIGN
- 0x00b5: 0x00a7, # SECTION SIGN
- 0x00b7: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00b8: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00b9: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00ba: 0x00ac, # NOT SIGN
- 0x00bb: 0x007c, # VERTICAL LINE
- 0x00bc: 0x00af, # MACRON
- 0x00bd: 0x00a8, # DIAERESIS
- 0x00be: 0x00b4, # ACUTE ACCENT
- 0x00bf: 0x00d7, # MULTIPLICATION SIGN
- 0x00c0: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00c1: 0x0041, # LATIN CAPITAL LETTER A
- 0x00c2: 0x0042, # LATIN CAPITAL LETTER B
- 0x00c3: 0x0043, # LATIN CAPITAL LETTER C
- 0x00c4: 0x0044, # LATIN CAPITAL LETTER D
- 0x00c5: 0x0045, # LATIN CAPITAL LETTER E
- 0x00c6: 0x0046, # LATIN CAPITAL LETTER F
- 0x00c7: 0x0047, # LATIN CAPITAL LETTER G
- 0x00c8: 0x0048, # LATIN CAPITAL LETTER H
- 0x00c9: 0x0049, # LATIN CAPITAL LETTER I
- 0x00ca: 0x00ad, # SOFT HYPHEN
- 0x00cb: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00cc: 0x007e, # TILDE
- 0x00cd: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x00ce: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00cf: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00d0: 0x011f, # LATIN SMALL LETTER G WITH BREVE
- 0x00d1: 0x004a, # LATIN CAPITAL LETTER J
- 0x00d2: 0x004b, # LATIN CAPITAL LETTER K
- 0x00d3: 0x004c, # LATIN CAPITAL LETTER L
- 0x00d4: 0x004d, # LATIN CAPITAL LETTER M
- 0x00d5: 0x004e, # LATIN CAPITAL LETTER N
- 0x00d6: 0x004f, # LATIN CAPITAL LETTER O
- 0x00d7: 0x0050, # LATIN CAPITAL LETTER P
- 0x00d8: 0x0051, # LATIN CAPITAL LETTER Q
- 0x00d9: 0x0052, # LATIN CAPITAL LETTER R
- 0x00da: 0x00b9, # SUPERSCRIPT ONE
- 0x00db: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x005c, # REVERSE SOLIDUS
- 0x00dd: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00de: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00df: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x00e0: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00e1: 0x00f7, # DIVISION SIGN
- 0x00e2: 0x0053, # LATIN CAPITAL LETTER S
- 0x00e3: 0x0054, # LATIN CAPITAL LETTER T
- 0x00e4: 0x0055, # LATIN CAPITAL LETTER U
- 0x00e5: 0x0056, # LATIN CAPITAL LETTER V
- 0x00e6: 0x0057, # LATIN CAPITAL LETTER W
- 0x00e7: 0x0058, # LATIN CAPITAL LETTER X
- 0x00e8: 0x0059, # LATIN CAPITAL LETTER Y
- 0x00e9: 0x005a, # LATIN CAPITAL LETTER Z
- 0x00ea: 0x00b2, # SUPERSCRIPT TWO
- 0x00eb: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00ec: 0x0023, # NUMBER SIGN
- 0x00ed: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00ee: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00ef: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00f0: 0x0030, # DIGIT ZERO
- 0x00f1: 0x0031, # DIGIT ONE
- 0x00f2: 0x0032, # DIGIT TWO
- 0x00f3: 0x0033, # DIGIT THREE
- 0x00f4: 0x0034, # DIGIT FOUR
- 0x00f5: 0x0035, # DIGIT FIVE
- 0x00f6: 0x0036, # DIGIT SIX
- 0x00f7: 0x0037, # DIGIT SEVEN
- 0x00f8: 0x0038, # DIGIT EIGHT
- 0x00f9: 0x0039, # DIGIT NINE
- 0x00fa: 0x00b3, # SUPERSCRIPT THREE
- 0x00fb: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x0022, # QUOTATION MARK
- 0x00fd: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00fe: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00ff: 0x009f, # CONTROL
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x9c' # 0x0004 -> CONTROL
- u'\t' # 0x0005 -> HORIZONTAL TABULATION
- u'\x86' # 0x0006 -> CONTROL
- u'\x7f' # 0x0007 -> DELETE
- u'\x97' # 0x0008 -> CONTROL
- u'\x8d' # 0x0009 -> CONTROL
- u'\x8e' # 0x000a -> CONTROL
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x9d' # 0x0014 -> CONTROL
- u'\x85' # 0x0015 -> CONTROL
- u'\x08' # 0x0016 -> BACKSPACE
- u'\x87' # 0x0017 -> CONTROL
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x92' # 0x001a -> CONTROL
- u'\x8f' # 0x001b -> CONTROL
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u'\x80' # 0x0020 -> CONTROL
- u'\x81' # 0x0021 -> CONTROL
- u'\x82' # 0x0022 -> CONTROL
- u'\x83' # 0x0023 -> CONTROL
- u'\x84' # 0x0024 -> CONTROL
- u'\n' # 0x0025 -> LINE FEED
- u'\x17' # 0x0026 -> END OF TRANSMISSION BLOCK
- u'\x1b' # 0x0027 -> ESCAPE
- u'\x88' # 0x0028 -> CONTROL
- u'\x89' # 0x0029 -> CONTROL
- u'\x8a' # 0x002a -> CONTROL
- u'\x8b' # 0x002b -> CONTROL
- u'\x8c' # 0x002c -> CONTROL
- u'\x05' # 0x002d -> ENQUIRY
- u'\x06' # 0x002e -> ACKNOWLEDGE
- u'\x07' # 0x002f -> BELL
- u'\x90' # 0x0030 -> CONTROL
- u'\x91' # 0x0031 -> CONTROL
- u'\x16' # 0x0032 -> SYNCHRONOUS IDLE
- u'\x93' # 0x0033 -> CONTROL
- u'\x94' # 0x0034 -> CONTROL
- u'\x95' # 0x0035 -> CONTROL
- u'\x96' # 0x0036 -> CONTROL
- u'\x04' # 0x0037 -> END OF TRANSMISSION
- u'\x98' # 0x0038 -> CONTROL
- u'\x99' # 0x0039 -> CONTROL
- u'\x9a' # 0x003a -> CONTROL
- u'\x9b' # 0x003b -> CONTROL
- u'\x14' # 0x003c -> DEVICE CONTROL FOUR
- u'\x15' # 0x003d -> NEGATIVE ACKNOWLEDGE
- u'\x9e' # 0x003e -> CONTROL
- u'\x1a' # 0x003f -> SUBSTITUTE
- u' ' # 0x0040 -> SPACE
- u'\xa0' # 0x0041 -> NO-BREAK SPACE
- u'\xe2' # 0x0042 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe4' # 0x0043 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe0' # 0x0044 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe1' # 0x0045 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe3' # 0x0046 -> LATIN SMALL LETTER A WITH TILDE
- u'\xe5' # 0x0047 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'{' # 0x0048 -> LEFT CURLY BRACKET
- u'\xf1' # 0x0049 -> LATIN SMALL LETTER N WITH TILDE
- u'\xc7' # 0x004a -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'.' # 0x004b -> FULL STOP
- u'<' # 0x004c -> LESS-THAN SIGN
- u'(' # 0x004d -> LEFT PARENTHESIS
- u'+' # 0x004e -> PLUS SIGN
- u'!' # 0x004f -> EXCLAMATION MARK
- u'&' # 0x0050 -> AMPERSAND
- u'\xe9' # 0x0051 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x0052 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x0053 -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xe8' # 0x0054 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xed' # 0x0055 -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x0056 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x0057 -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xec' # 0x0058 -> LATIN SMALL LETTER I WITH GRAVE
- u'\xdf' # 0x0059 -> LATIN SMALL LETTER SHARP S (GERMAN)
- u'\u011e' # 0x005a -> LATIN CAPITAL LETTER G WITH BREVE
- u'\u0130' # 0x005b -> LATIN CAPITAL LETTER I WITH DOT ABOVE
- u'*' # 0x005c -> ASTERISK
- u')' # 0x005d -> RIGHT PARENTHESIS
- u';' # 0x005e -> SEMICOLON
- u'^' # 0x005f -> CIRCUMFLEX ACCENT
- u'-' # 0x0060 -> HYPHEN-MINUS
- u'/' # 0x0061 -> SOLIDUS
- u'\xc2' # 0x0062 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xc4' # 0x0063 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc0' # 0x0064 -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc1' # 0x0065 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc3' # 0x0066 -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xc5' # 0x0067 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'[' # 0x0068 -> LEFT SQUARE BRACKET
- u'\xd1' # 0x0069 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\u015f' # 0x006a -> LATIN SMALL LETTER S WITH CEDILLA
- u',' # 0x006b -> COMMA
- u'%' # 0x006c -> PERCENT SIGN
- u'_' # 0x006d -> LOW LINE
- u'>' # 0x006e -> GREATER-THAN SIGN
- u'?' # 0x006f -> QUESTION MARK
- u'\xf8' # 0x0070 -> LATIN SMALL LETTER O WITH STROKE
- u'\xc9' # 0x0071 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xca' # 0x0072 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xcb' # 0x0073 -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xc8' # 0x0074 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xcd' # 0x0075 -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x0076 -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x0077 -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\xcc' # 0x0078 -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\u0131' # 0x0079 -> LATIN SMALL LETTER DOTLESS I
- u':' # 0x007a -> COLON
- u'\xd6' # 0x007b -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\u015e' # 0x007c -> LATIN CAPITAL LETTER S WITH CEDILLA
- u"'" # 0x007d -> APOSTROPHE
- u'=' # 0x007e -> EQUALS SIGN
- u'\xdc' # 0x007f -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xd8' # 0x0080 -> LATIN CAPITAL LETTER O WITH STROKE
- u'a' # 0x0081 -> LATIN SMALL LETTER A
- u'b' # 0x0082 -> LATIN SMALL LETTER B
- u'c' # 0x0083 -> LATIN SMALL LETTER C
- u'd' # 0x0084 -> LATIN SMALL LETTER D
- u'e' # 0x0085 -> LATIN SMALL LETTER E
- u'f' # 0x0086 -> LATIN SMALL LETTER F
- u'g' # 0x0087 -> LATIN SMALL LETTER G
- u'h' # 0x0088 -> LATIN SMALL LETTER H
- u'i' # 0x0089 -> LATIN SMALL LETTER I
- u'\xab' # 0x008a -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbb' # 0x008b -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'}' # 0x008c -> RIGHT CURLY BRACKET
- u'`' # 0x008d -> GRAVE ACCENT
- u'\xa6' # 0x008e -> BROKEN BAR
- u'\xb1' # 0x008f -> PLUS-MINUS SIGN
- u'\xb0' # 0x0090 -> DEGREE SIGN
- u'j' # 0x0091 -> LATIN SMALL LETTER J
- u'k' # 0x0092 -> LATIN SMALL LETTER K
- u'l' # 0x0093 -> LATIN SMALL LETTER L
- u'm' # 0x0094 -> LATIN SMALL LETTER M
- u'n' # 0x0095 -> LATIN SMALL LETTER N
- u'o' # 0x0096 -> LATIN SMALL LETTER O
- u'p' # 0x0097 -> LATIN SMALL LETTER P
- u'q' # 0x0098 -> LATIN SMALL LETTER Q
- u'r' # 0x0099 -> LATIN SMALL LETTER R
- u'\xaa' # 0x009a -> FEMININE ORDINAL INDICATOR
- u'\xba' # 0x009b -> MASCULINE ORDINAL INDICATOR
- u'\xe6' # 0x009c -> LATIN SMALL LIGATURE AE
- u'\xb8' # 0x009d -> CEDILLA
- u'\xc6' # 0x009e -> LATIN CAPITAL LIGATURE AE
- u'\xa4' # 0x009f -> CURRENCY SIGN
- u'\xb5' # 0x00a0 -> MICRO SIGN
- u'\xf6' # 0x00a1 -> LATIN SMALL LETTER O WITH DIAERESIS
- u's' # 0x00a2 -> LATIN SMALL LETTER S
- u't' # 0x00a3 -> LATIN SMALL LETTER T
- u'u' # 0x00a4 -> LATIN SMALL LETTER U
- u'v' # 0x00a5 -> LATIN SMALL LETTER V
- u'w' # 0x00a6 -> LATIN SMALL LETTER W
- u'x' # 0x00a7 -> LATIN SMALL LETTER X
- u'y' # 0x00a8 -> LATIN SMALL LETTER Y
- u'z' # 0x00a9 -> LATIN SMALL LETTER Z
- u'\xa1' # 0x00aa -> INVERTED EXCLAMATION MARK
- u'\xbf' # 0x00ab -> INVERTED QUESTION MARK
- u']' # 0x00ac -> RIGHT SQUARE BRACKET
- u'$' # 0x00ad -> DOLLAR SIGN
- u'@' # 0x00ae -> COMMERCIAL AT
- u'\xae' # 0x00af -> REGISTERED SIGN
- u'\xa2' # 0x00b0 -> CENT SIGN
- u'\xa3' # 0x00b1 -> POUND SIGN
- u'\xa5' # 0x00b2 -> YEN SIGN
- u'\xb7' # 0x00b3 -> MIDDLE DOT
- u'\xa9' # 0x00b4 -> COPYRIGHT SIGN
- u'\xa7' # 0x00b5 -> SECTION SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xbc' # 0x00b7 -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00b8 -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00b9 -> VULGAR FRACTION THREE QUARTERS
- u'\xac' # 0x00ba -> NOT SIGN
- u'|' # 0x00bb -> VERTICAL LINE
- u'\xaf' # 0x00bc -> MACRON
- u'\xa8' # 0x00bd -> DIAERESIS
- u'\xb4' # 0x00be -> ACUTE ACCENT
- u'\xd7' # 0x00bf -> MULTIPLICATION SIGN
- u'\xe7' # 0x00c0 -> LATIN SMALL LETTER C WITH CEDILLA
- u'A' # 0x00c1 -> LATIN CAPITAL LETTER A
- u'B' # 0x00c2 -> LATIN CAPITAL LETTER B
- u'C' # 0x00c3 -> LATIN CAPITAL LETTER C
- u'D' # 0x00c4 -> LATIN CAPITAL LETTER D
- u'E' # 0x00c5 -> LATIN CAPITAL LETTER E
- u'F' # 0x00c6 -> LATIN CAPITAL LETTER F
- u'G' # 0x00c7 -> LATIN CAPITAL LETTER G
- u'H' # 0x00c8 -> LATIN CAPITAL LETTER H
- u'I' # 0x00c9 -> LATIN CAPITAL LETTER I
- u'\xad' # 0x00ca -> SOFT HYPHEN
- u'\xf4' # 0x00cb -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'~' # 0x00cc -> TILDE
- u'\xf2' # 0x00cd -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf3' # 0x00ce -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf5' # 0x00cf -> LATIN SMALL LETTER O WITH TILDE
- u'\u011f' # 0x00d0 -> LATIN SMALL LETTER G WITH BREVE
- u'J' # 0x00d1 -> LATIN CAPITAL LETTER J
- u'K' # 0x00d2 -> LATIN CAPITAL LETTER K
- u'L' # 0x00d3 -> LATIN CAPITAL LETTER L
- u'M' # 0x00d4 -> LATIN CAPITAL LETTER M
- u'N' # 0x00d5 -> LATIN CAPITAL LETTER N
- u'O' # 0x00d6 -> LATIN CAPITAL LETTER O
- u'P' # 0x00d7 -> LATIN CAPITAL LETTER P
- u'Q' # 0x00d8 -> LATIN CAPITAL LETTER Q
- u'R' # 0x00d9 -> LATIN CAPITAL LETTER R
- u'\xb9' # 0x00da -> SUPERSCRIPT ONE
- u'\xfb' # 0x00db -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\\' # 0x00dc -> REVERSE SOLIDUS
- u'\xf9' # 0x00dd -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfa' # 0x00de -> LATIN SMALL LETTER U WITH ACUTE
- u'\xff' # 0x00df -> LATIN SMALL LETTER Y WITH DIAERESIS
- u'\xfc' # 0x00e0 -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\xf7' # 0x00e1 -> DIVISION SIGN
- u'S' # 0x00e2 -> LATIN CAPITAL LETTER S
- u'T' # 0x00e3 -> LATIN CAPITAL LETTER T
- u'U' # 0x00e4 -> LATIN CAPITAL LETTER U
- u'V' # 0x00e5 -> LATIN CAPITAL LETTER V
- u'W' # 0x00e6 -> LATIN CAPITAL LETTER W
- u'X' # 0x00e7 -> LATIN CAPITAL LETTER X
- u'Y' # 0x00e8 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x00e9 -> LATIN CAPITAL LETTER Z
- u'\xb2' # 0x00ea -> SUPERSCRIPT TWO
- u'\xd4' # 0x00eb -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'#' # 0x00ec -> NUMBER SIGN
- u'\xd2' # 0x00ed -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xd3' # 0x00ee -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd5' # 0x00ef -> LATIN CAPITAL LETTER O WITH TILDE
- u'0' # 0x00f0 -> DIGIT ZERO
- u'1' # 0x00f1 -> DIGIT ONE
- u'2' # 0x00f2 -> DIGIT TWO
- u'3' # 0x00f3 -> DIGIT THREE
- u'4' # 0x00f4 -> DIGIT FOUR
- u'5' # 0x00f5 -> DIGIT FIVE
- u'6' # 0x00f6 -> DIGIT SIX
- u'7' # 0x00f7 -> DIGIT SEVEN
- u'8' # 0x00f8 -> DIGIT EIGHT
- u'9' # 0x00f9 -> DIGIT NINE
- u'\xb3' # 0x00fa -> SUPERSCRIPT THREE
- u'\xdb' # 0x00fb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'"' # 0x00fc -> QUOTATION MARK
- u'\xd9' # 0x00fd -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\xda' # 0x00fe -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\x9f' # 0x00ff -> CONTROL
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x9c' # 0x04 -> CONTROL
+ u'\t' # 0x05 -> HORIZONTAL TABULATION
+ u'\x86' # 0x06 -> CONTROL
+ u'\x7f' # 0x07 -> DELETE
+ u'\x97' # 0x08 -> CONTROL
+ u'\x8d' # 0x09 -> CONTROL
+ u'\x8e' # 0x0a -> CONTROL
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x9d' # 0x14 -> CONTROL
+ u'\x85' # 0x15 -> CONTROL
+ u'\x08' # 0x16 -> BACKSPACE
+ u'\x87' # 0x17 -> CONTROL
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x92' # 0x1a -> CONTROL
+ u'\x8f' # 0x1b -> CONTROL
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u'\x80' # 0x20 -> CONTROL
+ u'\x81' # 0x21 -> CONTROL
+ u'\x82' # 0x22 -> CONTROL
+ u'\x83' # 0x23 -> CONTROL
+ u'\x84' # 0x24 -> CONTROL
+ u'\n' # 0x25 -> LINE FEED
+ u'\x17' # 0x26 -> END OF TRANSMISSION BLOCK
+ u'\x1b' # 0x27 -> ESCAPE
+ u'\x88' # 0x28 -> CONTROL
+ u'\x89' # 0x29 -> CONTROL
+ u'\x8a' # 0x2a -> CONTROL
+ u'\x8b' # 0x2b -> CONTROL
+ u'\x8c' # 0x2c -> CONTROL
+ u'\x05' # 0x2d -> ENQUIRY
+ u'\x06' # 0x2e -> ACKNOWLEDGE
+ u'\x07' # 0x2f -> BELL
+ u'\x90' # 0x30 -> CONTROL
+ u'\x91' # 0x31 -> CONTROL
+ u'\x16' # 0x32 -> SYNCHRONOUS IDLE
+ u'\x93' # 0x33 -> CONTROL
+ u'\x94' # 0x34 -> CONTROL
+ u'\x95' # 0x35 -> CONTROL
+ u'\x96' # 0x36 -> CONTROL
+ u'\x04' # 0x37 -> END OF TRANSMISSION
+ u'\x98' # 0x38 -> CONTROL
+ u'\x99' # 0x39 -> CONTROL
+ u'\x9a' # 0x3a -> CONTROL
+ u'\x9b' # 0x3b -> CONTROL
+ u'\x14' # 0x3c -> DEVICE CONTROL FOUR
+ u'\x15' # 0x3d -> NEGATIVE ACKNOWLEDGE
+ u'\x9e' # 0x3e -> CONTROL
+ u'\x1a' # 0x3f -> SUBSTITUTE
+ u' ' # 0x40 -> SPACE
+ u'\xa0' # 0x41 -> NO-BREAK SPACE
+ u'\xe2' # 0x42 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe4' # 0x43 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe0' # 0x44 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0x45 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe3' # 0x46 -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe5' # 0x47 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'{' # 0x48 -> LEFT CURLY BRACKET
+ u'\xf1' # 0x49 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xc7' # 0x4a -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'.' # 0x4b -> FULL STOP
+ u'<' # 0x4c -> LESS-THAN SIGN
+ u'(' # 0x4d -> LEFT PARENTHESIS
+ u'+' # 0x4e -> PLUS SIGN
+ u'!' # 0x4f -> EXCLAMATION MARK
+ u'&' # 0x50 -> AMPERSAND
+ u'\xe9' # 0x51 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0x52 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0x53 -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xe8' # 0x54 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xed' # 0x55 -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0x56 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0x57 -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xec' # 0x58 -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xdf' # 0x59 -> LATIN SMALL LETTER SHARP S (GERMAN)
+ u'\u011e' # 0x5a -> LATIN CAPITAL LETTER G WITH BREVE
+ u'\u0130' # 0x5b -> LATIN CAPITAL LETTER I WITH DOT ABOVE
+ u'*' # 0x5c -> ASTERISK
+ u')' # 0x5d -> RIGHT PARENTHESIS
+ u';' # 0x5e -> SEMICOLON
+ u'^' # 0x5f -> CIRCUMFLEX ACCENT
+ u'-' # 0x60 -> HYPHEN-MINUS
+ u'/' # 0x61 -> SOLIDUS
+ u'\xc2' # 0x62 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xc4' # 0x63 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc0' # 0x64 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0x65 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc3' # 0x66 -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xc5' # 0x67 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'[' # 0x68 -> LEFT SQUARE BRACKET
+ u'\xd1' # 0x69 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\u015f' # 0x6a -> LATIN SMALL LETTER S WITH CEDILLA
+ u',' # 0x6b -> COMMA
+ u'%' # 0x6c -> PERCENT SIGN
+ u'_' # 0x6d -> LOW LINE
+ u'>' # 0x6e -> GREATER-THAN SIGN
+ u'?' # 0x6f -> QUESTION MARK
+ u'\xf8' # 0x70 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xc9' # 0x71 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0x72 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0x73 -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xc8' # 0x74 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xcd' # 0x75 -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0x76 -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0x77 -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xcc' # 0x78 -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\u0131' # 0x79 -> LATIN SMALL LETTER DOTLESS I
+ u':' # 0x7a -> COLON
+ u'\xd6' # 0x7b -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\u015e' # 0x7c -> LATIN CAPITAL LETTER S WITH CEDILLA
+ u"'" # 0x7d -> APOSTROPHE
+ u'=' # 0x7e -> EQUALS SIGN
+ u'\xdc' # 0x7f -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xd8' # 0x80 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'a' # 0x81 -> LATIN SMALL LETTER A
+ u'b' # 0x82 -> LATIN SMALL LETTER B
+ u'c' # 0x83 -> LATIN SMALL LETTER C
+ u'd' # 0x84 -> LATIN SMALL LETTER D
+ u'e' # 0x85 -> LATIN SMALL LETTER E
+ u'f' # 0x86 -> LATIN SMALL LETTER F
+ u'g' # 0x87 -> LATIN SMALL LETTER G
+ u'h' # 0x88 -> LATIN SMALL LETTER H
+ u'i' # 0x89 -> LATIN SMALL LETTER I
+ u'\xab' # 0x8a -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0x8b -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'}' # 0x8c -> RIGHT CURLY BRACKET
+ u'`' # 0x8d -> GRAVE ACCENT
+ u'\xa6' # 0x8e -> BROKEN BAR
+ u'\xb1' # 0x8f -> PLUS-MINUS SIGN
+ u'\xb0' # 0x90 -> DEGREE SIGN
+ u'j' # 0x91 -> LATIN SMALL LETTER J
+ u'k' # 0x92 -> LATIN SMALL LETTER K
+ u'l' # 0x93 -> LATIN SMALL LETTER L
+ u'm' # 0x94 -> LATIN SMALL LETTER M
+ u'n' # 0x95 -> LATIN SMALL LETTER N
+ u'o' # 0x96 -> LATIN SMALL LETTER O
+ u'p' # 0x97 -> LATIN SMALL LETTER P
+ u'q' # 0x98 -> LATIN SMALL LETTER Q
+ u'r' # 0x99 -> LATIN SMALL LETTER R
+ u'\xaa' # 0x9a -> FEMININE ORDINAL INDICATOR
+ u'\xba' # 0x9b -> MASCULINE ORDINAL INDICATOR
+ u'\xe6' # 0x9c -> LATIN SMALL LIGATURE AE
+ u'\xb8' # 0x9d -> CEDILLA
+ u'\xc6' # 0x9e -> LATIN CAPITAL LIGATURE AE
+ u'\xa4' # 0x9f -> CURRENCY SIGN
+ u'\xb5' # 0xa0 -> MICRO SIGN
+ u'\xf6' # 0xa1 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u's' # 0xa2 -> LATIN SMALL LETTER S
+ u't' # 0xa3 -> LATIN SMALL LETTER T
+ u'u' # 0xa4 -> LATIN SMALL LETTER U
+ u'v' # 0xa5 -> LATIN SMALL LETTER V
+ u'w' # 0xa6 -> LATIN SMALL LETTER W
+ u'x' # 0xa7 -> LATIN SMALL LETTER X
+ u'y' # 0xa8 -> LATIN SMALL LETTER Y
+ u'z' # 0xa9 -> LATIN SMALL LETTER Z
+ u'\xa1' # 0xaa -> INVERTED EXCLAMATION MARK
+ u'\xbf' # 0xab -> INVERTED QUESTION MARK
+ u']' # 0xac -> RIGHT SQUARE BRACKET
+ u'$' # 0xad -> DOLLAR SIGN
+ u'@' # 0xae -> COMMERCIAL AT
+ u'\xae' # 0xaf -> REGISTERED SIGN
+ u'\xa2' # 0xb0 -> CENT SIGN
+ u'\xa3' # 0xb1 -> POUND SIGN
+ u'\xa5' # 0xb2 -> YEN SIGN
+ u'\xb7' # 0xb3 -> MIDDLE DOT
+ u'\xa9' # 0xb4 -> COPYRIGHT SIGN
+ u'\xa7' # 0xb5 -> SECTION SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xbc' # 0xb7 -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xb8 -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xb9 -> VULGAR FRACTION THREE QUARTERS
+ u'\xac' # 0xba -> NOT SIGN
+ u'|' # 0xbb -> VERTICAL LINE
+ u'\xaf' # 0xbc -> MACRON
+ u'\xa8' # 0xbd -> DIAERESIS
+ u'\xb4' # 0xbe -> ACUTE ACCENT
+ u'\xd7' # 0xbf -> MULTIPLICATION SIGN
+ u'\xe7' # 0xc0 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'A' # 0xc1 -> LATIN CAPITAL LETTER A
+ u'B' # 0xc2 -> LATIN CAPITAL LETTER B
+ u'C' # 0xc3 -> LATIN CAPITAL LETTER C
+ u'D' # 0xc4 -> LATIN CAPITAL LETTER D
+ u'E' # 0xc5 -> LATIN CAPITAL LETTER E
+ u'F' # 0xc6 -> LATIN CAPITAL LETTER F
+ u'G' # 0xc7 -> LATIN CAPITAL LETTER G
+ u'H' # 0xc8 -> LATIN CAPITAL LETTER H
+ u'I' # 0xc9 -> LATIN CAPITAL LETTER I
+ u'\xad' # 0xca -> SOFT HYPHEN
+ u'\xf4' # 0xcb -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'~' # 0xcc -> TILDE
+ u'\xf2' # 0xcd -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf3' # 0xce -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf5' # 0xcf -> LATIN SMALL LETTER O WITH TILDE
+ u'\u011f' # 0xd0 -> LATIN SMALL LETTER G WITH BREVE
+ u'J' # 0xd1 -> LATIN CAPITAL LETTER J
+ u'K' # 0xd2 -> LATIN CAPITAL LETTER K
+ u'L' # 0xd3 -> LATIN CAPITAL LETTER L
+ u'M' # 0xd4 -> LATIN CAPITAL LETTER M
+ u'N' # 0xd5 -> LATIN CAPITAL LETTER N
+ u'O' # 0xd6 -> LATIN CAPITAL LETTER O
+ u'P' # 0xd7 -> LATIN CAPITAL LETTER P
+ u'Q' # 0xd8 -> LATIN CAPITAL LETTER Q
+ u'R' # 0xd9 -> LATIN CAPITAL LETTER R
+ u'\xb9' # 0xda -> SUPERSCRIPT ONE
+ u'\xfb' # 0xdb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\\' # 0xdc -> REVERSE SOLIDUS
+ u'\xf9' # 0xdd -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xde -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xff' # 0xdf -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\xfc' # 0xe0 -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\xf7' # 0xe1 -> DIVISION SIGN
+ u'S' # 0xe2 -> LATIN CAPITAL LETTER S
+ u'T' # 0xe3 -> LATIN CAPITAL LETTER T
+ u'U' # 0xe4 -> LATIN CAPITAL LETTER U
+ u'V' # 0xe5 -> LATIN CAPITAL LETTER V
+ u'W' # 0xe6 -> LATIN CAPITAL LETTER W
+ u'X' # 0xe7 -> LATIN CAPITAL LETTER X
+ u'Y' # 0xe8 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0xe9 -> LATIN CAPITAL LETTER Z
+ u'\xb2' # 0xea -> SUPERSCRIPT TWO
+ u'\xd4' # 0xeb -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'#' # 0xec -> NUMBER SIGN
+ u'\xd2' # 0xed -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xd3' # 0xee -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd5' # 0xef -> LATIN CAPITAL LETTER O WITH TILDE
+ u'0' # 0xf0 -> DIGIT ZERO
+ u'1' # 0xf1 -> DIGIT ONE
+ u'2' # 0xf2 -> DIGIT TWO
+ u'3' # 0xf3 -> DIGIT THREE
+ u'4' # 0xf4 -> DIGIT FOUR
+ u'5' # 0xf5 -> DIGIT FIVE
+ u'6' # 0xf6 -> DIGIT SIX
+ u'7' # 0xf7 -> DIGIT SEVEN
+ u'8' # 0xf8 -> DIGIT EIGHT
+ u'9' # 0xf9 -> DIGIT NINE
+ u'\xb3' # 0xfa -> SUPERSCRIPT THREE
+ u'\xdb' # 0xfb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'"' # 0xfc -> QUOTATION MARK
+ u'\xd9' # 0xfd -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xfe -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\x9f' # 0xff -> CONTROL
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0037, # END OF TRANSMISSION
- 0x0005: 0x002d, # ENQUIRY
- 0x0006: 0x002e, # ACKNOWLEDGE
- 0x0007: 0x002f, # BELL
- 0x0008: 0x0016, # BACKSPACE
- 0x0009: 0x0005, # HORIZONTAL TABULATION
- 0x000a: 0x0025, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x003c, # DEVICE CONTROL FOUR
- 0x0015: 0x003d, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0032, # SYNCHRONOUS IDLE
- 0x0017: 0x0026, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x003f, # SUBSTITUTE
- 0x001b: 0x0027, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0040, # SPACE
- 0x0021: 0x004f, # EXCLAMATION MARK
- 0x0022: 0x00fc, # QUOTATION MARK
- 0x0023: 0x00ec, # NUMBER SIGN
- 0x0024: 0x00ad, # DOLLAR SIGN
- 0x0025: 0x006c, # PERCENT SIGN
- 0x0026: 0x0050, # AMPERSAND
- 0x0027: 0x007d, # APOSTROPHE
- 0x0028: 0x004d, # LEFT PARENTHESIS
- 0x0029: 0x005d, # RIGHT PARENTHESIS
- 0x002a: 0x005c, # ASTERISK
- 0x002b: 0x004e, # PLUS SIGN
- 0x002c: 0x006b, # COMMA
- 0x002d: 0x0060, # HYPHEN-MINUS
- 0x002e: 0x004b, # FULL STOP
- 0x002f: 0x0061, # SOLIDUS
- 0x0030: 0x00f0, # DIGIT ZERO
- 0x0031: 0x00f1, # DIGIT ONE
- 0x0032: 0x00f2, # DIGIT TWO
- 0x0033: 0x00f3, # DIGIT THREE
- 0x0034: 0x00f4, # DIGIT FOUR
- 0x0035: 0x00f5, # DIGIT FIVE
- 0x0036: 0x00f6, # DIGIT SIX
- 0x0037: 0x00f7, # DIGIT SEVEN
- 0x0038: 0x00f8, # DIGIT EIGHT
- 0x0039: 0x00f9, # DIGIT NINE
- 0x003a: 0x007a, # COLON
- 0x003b: 0x005e, # SEMICOLON
- 0x003c: 0x004c, # LESS-THAN SIGN
- 0x003d: 0x007e, # EQUALS SIGN
- 0x003e: 0x006e, # GREATER-THAN SIGN
- 0x003f: 0x006f, # QUESTION MARK
- 0x0040: 0x00ae, # COMMERCIAL AT
- 0x0041: 0x00c1, # LATIN CAPITAL LETTER A
- 0x0042: 0x00c2, # LATIN CAPITAL LETTER B
- 0x0043: 0x00c3, # LATIN CAPITAL LETTER C
- 0x0044: 0x00c4, # LATIN CAPITAL LETTER D
- 0x0045: 0x00c5, # LATIN CAPITAL LETTER E
- 0x0046: 0x00c6, # LATIN CAPITAL LETTER F
- 0x0047: 0x00c7, # LATIN CAPITAL LETTER G
- 0x0048: 0x00c8, # LATIN CAPITAL LETTER H
- 0x0049: 0x00c9, # LATIN CAPITAL LETTER I
- 0x004a: 0x00d1, # LATIN CAPITAL LETTER J
- 0x004b: 0x00d2, # LATIN CAPITAL LETTER K
- 0x004c: 0x00d3, # LATIN CAPITAL LETTER L
- 0x004d: 0x00d4, # LATIN CAPITAL LETTER M
- 0x004e: 0x00d5, # LATIN CAPITAL LETTER N
- 0x004f: 0x00d6, # LATIN CAPITAL LETTER O
- 0x0050: 0x00d7, # LATIN CAPITAL LETTER P
- 0x0051: 0x00d8, # LATIN CAPITAL LETTER Q
- 0x0052: 0x00d9, # LATIN CAPITAL LETTER R
- 0x0053: 0x00e2, # LATIN CAPITAL LETTER S
- 0x0054: 0x00e3, # LATIN CAPITAL LETTER T
- 0x0055: 0x00e4, # LATIN CAPITAL LETTER U
- 0x0056: 0x00e5, # LATIN CAPITAL LETTER V
- 0x0057: 0x00e6, # LATIN CAPITAL LETTER W
- 0x0058: 0x00e7, # LATIN CAPITAL LETTER X
- 0x0059: 0x00e8, # LATIN CAPITAL LETTER Y
- 0x005a: 0x00e9, # LATIN CAPITAL LETTER Z
- 0x005b: 0x0068, # LEFT SQUARE BRACKET
- 0x005c: 0x00dc, # REVERSE SOLIDUS
- 0x005d: 0x00ac, # RIGHT SQUARE BRACKET
- 0x005e: 0x005f, # CIRCUMFLEX ACCENT
- 0x005f: 0x006d, # LOW LINE
- 0x0060: 0x008d, # GRAVE ACCENT
- 0x0061: 0x0081, # LATIN SMALL LETTER A
- 0x0062: 0x0082, # LATIN SMALL LETTER B
- 0x0063: 0x0083, # LATIN SMALL LETTER C
- 0x0064: 0x0084, # LATIN SMALL LETTER D
- 0x0065: 0x0085, # LATIN SMALL LETTER E
- 0x0066: 0x0086, # LATIN SMALL LETTER F
- 0x0067: 0x0087, # LATIN SMALL LETTER G
- 0x0068: 0x0088, # LATIN SMALL LETTER H
- 0x0069: 0x0089, # LATIN SMALL LETTER I
- 0x006a: 0x0091, # LATIN SMALL LETTER J
- 0x006b: 0x0092, # LATIN SMALL LETTER K
- 0x006c: 0x0093, # LATIN SMALL LETTER L
- 0x006d: 0x0094, # LATIN SMALL LETTER M
- 0x006e: 0x0095, # LATIN SMALL LETTER N
- 0x006f: 0x0096, # LATIN SMALL LETTER O
- 0x0070: 0x0097, # LATIN SMALL LETTER P
- 0x0071: 0x0098, # LATIN SMALL LETTER Q
- 0x0072: 0x0099, # LATIN SMALL LETTER R
- 0x0073: 0x00a2, # LATIN SMALL LETTER S
- 0x0074: 0x00a3, # LATIN SMALL LETTER T
- 0x0075: 0x00a4, # LATIN SMALL LETTER U
- 0x0076: 0x00a5, # LATIN SMALL LETTER V
- 0x0077: 0x00a6, # LATIN SMALL LETTER W
- 0x0078: 0x00a7, # LATIN SMALL LETTER X
- 0x0079: 0x00a8, # LATIN SMALL LETTER Y
- 0x007a: 0x00a9, # LATIN SMALL LETTER Z
- 0x007b: 0x0048, # LEFT CURLY BRACKET
- 0x007c: 0x00bb, # VERTICAL LINE
- 0x007d: 0x008c, # RIGHT CURLY BRACKET
- 0x007e: 0x00cc, # TILDE
- 0x007f: 0x0007, # DELETE
- 0x0080: 0x0020, # CONTROL
- 0x0081: 0x0021, # CONTROL
- 0x0082: 0x0022, # CONTROL
- 0x0083: 0x0023, # CONTROL
- 0x0084: 0x0024, # CONTROL
- 0x0085: 0x0015, # CONTROL
- 0x0086: 0x0006, # CONTROL
- 0x0087: 0x0017, # CONTROL
- 0x0088: 0x0028, # CONTROL
- 0x0089: 0x0029, # CONTROL
- 0x008a: 0x002a, # CONTROL
- 0x008b: 0x002b, # CONTROL
- 0x008c: 0x002c, # CONTROL
- 0x008d: 0x0009, # CONTROL
- 0x008e: 0x000a, # CONTROL
- 0x008f: 0x001b, # CONTROL
- 0x0090: 0x0030, # CONTROL
- 0x0091: 0x0031, # CONTROL
- 0x0092: 0x001a, # CONTROL
- 0x0093: 0x0033, # CONTROL
- 0x0094: 0x0034, # CONTROL
- 0x0095: 0x0035, # CONTROL
- 0x0096: 0x0036, # CONTROL
- 0x0097: 0x0008, # CONTROL
- 0x0098: 0x0038, # CONTROL
- 0x0099: 0x0039, # CONTROL
- 0x009a: 0x003a, # CONTROL
- 0x009b: 0x003b, # CONTROL
- 0x009c: 0x0004, # CONTROL
- 0x009d: 0x0014, # CONTROL
- 0x009e: 0x003e, # CONTROL
- 0x009f: 0x00ff, # CONTROL
- 0x00a0: 0x0041, # NO-BREAK SPACE
- 0x00a1: 0x00aa, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00b0, # CENT SIGN
- 0x00a3: 0x00b1, # POUND SIGN
- 0x00a4: 0x009f, # CURRENCY SIGN
- 0x00a5: 0x00b2, # YEN SIGN
- 0x00a6: 0x008e, # BROKEN BAR
- 0x00a7: 0x00b5, # SECTION SIGN
- 0x00a8: 0x00bd, # DIAERESIS
- 0x00a9: 0x00b4, # COPYRIGHT SIGN
- 0x00aa: 0x009a, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x008a, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ba, # NOT SIGN
- 0x00ad: 0x00ca, # SOFT HYPHEN
- 0x00ae: 0x00af, # REGISTERED SIGN
- 0x00af: 0x00bc, # MACRON
- 0x00b0: 0x0090, # DEGREE SIGN
- 0x00b1: 0x008f, # PLUS-MINUS SIGN
- 0x00b2: 0x00ea, # SUPERSCRIPT TWO
- 0x00b3: 0x00fa, # SUPERSCRIPT THREE
- 0x00b4: 0x00be, # ACUTE ACCENT
- 0x00b5: 0x00a0, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b3, # MIDDLE DOT
- 0x00b8: 0x009d, # CEDILLA
- 0x00b9: 0x00da, # SUPERSCRIPT ONE
- 0x00ba: 0x009b, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x008b, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00b7, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00b8, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00b9, # VULGAR FRACTION THREE QUARTERS
- 0x00bf: 0x00ab, # INVERTED QUESTION MARK
- 0x00c0: 0x0064, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x0065, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x0062, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x0066, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x0063, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x0067, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x009e, # LATIN CAPITAL LIGATURE AE
- 0x00c7: 0x004a, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x0074, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x0071, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x0072, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x0073, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x0078, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x0075, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x0076, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x0077, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d1: 0x0069, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00ed, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00ee, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00eb, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00ef, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x007b, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00bf, # MULTIPLICATION SIGN
- 0x00d8: 0x0080, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00fd, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00fe, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00fb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x007f, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x0059, # LATIN SMALL LETTER SHARP S (GERMAN)
- 0x00e0: 0x0044, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x0045, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x0042, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x0046, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x0043, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x0047, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x009c, # LATIN SMALL LIGATURE AE
- 0x00e7: 0x00c0, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x0054, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x0051, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x0052, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x0053, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x0058, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x0055, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x0056, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x0057, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f1: 0x0049, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x00cd, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x00ce, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00cb, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x00cf, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00a1, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00e1, # DIVISION SIGN
- 0x00f8: 0x0070, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x00dd, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x00de, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00db, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00e0, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00ff: 0x00df, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x011e: 0x005a, # LATIN CAPITAL LETTER G WITH BREVE
- 0x011f: 0x00d0, # LATIN SMALL LETTER G WITH BREVE
- 0x0130: 0x005b, # LATIN CAPITAL LETTER I WITH DOT ABOVE
- 0x0131: 0x0079, # LATIN SMALL LETTER DOTLESS I
- 0x015e: 0x007c, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x015f: 0x006a, # LATIN SMALL LETTER S WITH CEDILLA
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x37, # END OF TRANSMISSION
+ 0x0005: 0x2d, # ENQUIRY
+ 0x0006: 0x2e, # ACKNOWLEDGE
+ 0x0007: 0x2f, # BELL
+ 0x0008: 0x16, # BACKSPACE
+ 0x0009: 0x05, # HORIZONTAL TABULATION
+ 0x000a: 0x25, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x3c, # DEVICE CONTROL FOUR
+ 0x0015: 0x3d, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x32, # SYNCHRONOUS IDLE
+ 0x0017: 0x26, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x3f, # SUBSTITUTE
+ 0x001b: 0x27, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x40, # SPACE
+ 0x0021: 0x4f, # EXCLAMATION MARK
+ 0x0022: 0xfc, # QUOTATION MARK
+ 0x0023: 0xec, # NUMBER SIGN
+ 0x0024: 0xad, # DOLLAR SIGN
+ 0x0025: 0x6c, # PERCENT SIGN
+ 0x0026: 0x50, # AMPERSAND
+ 0x0027: 0x7d, # APOSTROPHE
+ 0x0028: 0x4d, # LEFT PARENTHESIS
+ 0x0029: 0x5d, # RIGHT PARENTHESIS
+ 0x002a: 0x5c, # ASTERISK
+ 0x002b: 0x4e, # PLUS SIGN
+ 0x002c: 0x6b, # COMMA
+ 0x002d: 0x60, # HYPHEN-MINUS
+ 0x002e: 0x4b, # FULL STOP
+ 0x002f: 0x61, # SOLIDUS
+ 0x0030: 0xf0, # DIGIT ZERO
+ 0x0031: 0xf1, # DIGIT ONE
+ 0x0032: 0xf2, # DIGIT TWO
+ 0x0033: 0xf3, # DIGIT THREE
+ 0x0034: 0xf4, # DIGIT FOUR
+ 0x0035: 0xf5, # DIGIT FIVE
+ 0x0036: 0xf6, # DIGIT SIX
+ 0x0037: 0xf7, # DIGIT SEVEN
+ 0x0038: 0xf8, # DIGIT EIGHT
+ 0x0039: 0xf9, # DIGIT NINE
+ 0x003a: 0x7a, # COLON
+ 0x003b: 0x5e, # SEMICOLON
+ 0x003c: 0x4c, # LESS-THAN SIGN
+ 0x003d: 0x7e, # EQUALS SIGN
+ 0x003e: 0x6e, # GREATER-THAN SIGN
+ 0x003f: 0x6f, # QUESTION MARK
+ 0x0040: 0xae, # COMMERCIAL AT
+ 0x0041: 0xc1, # LATIN CAPITAL LETTER A
+ 0x0042: 0xc2, # LATIN CAPITAL LETTER B
+ 0x0043: 0xc3, # LATIN CAPITAL LETTER C
+ 0x0044: 0xc4, # LATIN CAPITAL LETTER D
+ 0x0045: 0xc5, # LATIN CAPITAL LETTER E
+ 0x0046: 0xc6, # LATIN CAPITAL LETTER F
+ 0x0047: 0xc7, # LATIN CAPITAL LETTER G
+ 0x0048: 0xc8, # LATIN CAPITAL LETTER H
+ 0x0049: 0xc9, # LATIN CAPITAL LETTER I
+ 0x004a: 0xd1, # LATIN CAPITAL LETTER J
+ 0x004b: 0xd2, # LATIN CAPITAL LETTER K
+ 0x004c: 0xd3, # LATIN CAPITAL LETTER L
+ 0x004d: 0xd4, # LATIN CAPITAL LETTER M
+ 0x004e: 0xd5, # LATIN CAPITAL LETTER N
+ 0x004f: 0xd6, # LATIN CAPITAL LETTER O
+ 0x0050: 0xd7, # LATIN CAPITAL LETTER P
+ 0x0051: 0xd8, # LATIN CAPITAL LETTER Q
+ 0x0052: 0xd9, # LATIN CAPITAL LETTER R
+ 0x0053: 0xe2, # LATIN CAPITAL LETTER S
+ 0x0054: 0xe3, # LATIN CAPITAL LETTER T
+ 0x0055: 0xe4, # LATIN CAPITAL LETTER U
+ 0x0056: 0xe5, # LATIN CAPITAL LETTER V
+ 0x0057: 0xe6, # LATIN CAPITAL LETTER W
+ 0x0058: 0xe7, # LATIN CAPITAL LETTER X
+ 0x0059: 0xe8, # LATIN CAPITAL LETTER Y
+ 0x005a: 0xe9, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x68, # LEFT SQUARE BRACKET
+ 0x005c: 0xdc, # REVERSE SOLIDUS
+ 0x005d: 0xac, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5f, # CIRCUMFLEX ACCENT
+ 0x005f: 0x6d, # LOW LINE
+ 0x0060: 0x8d, # GRAVE ACCENT
+ 0x0061: 0x81, # LATIN SMALL LETTER A
+ 0x0062: 0x82, # LATIN SMALL LETTER B
+ 0x0063: 0x83, # LATIN SMALL LETTER C
+ 0x0064: 0x84, # LATIN SMALL LETTER D
+ 0x0065: 0x85, # LATIN SMALL LETTER E
+ 0x0066: 0x86, # LATIN SMALL LETTER F
+ 0x0067: 0x87, # LATIN SMALL LETTER G
+ 0x0068: 0x88, # LATIN SMALL LETTER H
+ 0x0069: 0x89, # LATIN SMALL LETTER I
+ 0x006a: 0x91, # LATIN SMALL LETTER J
+ 0x006b: 0x92, # LATIN SMALL LETTER K
+ 0x006c: 0x93, # LATIN SMALL LETTER L
+ 0x006d: 0x94, # LATIN SMALL LETTER M
+ 0x006e: 0x95, # LATIN SMALL LETTER N
+ 0x006f: 0x96, # LATIN SMALL LETTER O
+ 0x0070: 0x97, # LATIN SMALL LETTER P
+ 0x0071: 0x98, # LATIN SMALL LETTER Q
+ 0x0072: 0x99, # LATIN SMALL LETTER R
+ 0x0073: 0xa2, # LATIN SMALL LETTER S
+ 0x0074: 0xa3, # LATIN SMALL LETTER T
+ 0x0075: 0xa4, # LATIN SMALL LETTER U
+ 0x0076: 0xa5, # LATIN SMALL LETTER V
+ 0x0077: 0xa6, # LATIN SMALL LETTER W
+ 0x0078: 0xa7, # LATIN SMALL LETTER X
+ 0x0079: 0xa8, # LATIN SMALL LETTER Y
+ 0x007a: 0xa9, # LATIN SMALL LETTER Z
+ 0x007b: 0x48, # LEFT CURLY BRACKET
+ 0x007c: 0xbb, # VERTICAL LINE
+ 0x007d: 0x8c, # RIGHT CURLY BRACKET
+ 0x007e: 0xcc, # TILDE
+ 0x007f: 0x07, # DELETE
+ 0x0080: 0x20, # CONTROL
+ 0x0081: 0x21, # CONTROL
+ 0x0082: 0x22, # CONTROL
+ 0x0083: 0x23, # CONTROL
+ 0x0084: 0x24, # CONTROL
+ 0x0085: 0x15, # CONTROL
+ 0x0086: 0x06, # CONTROL
+ 0x0087: 0x17, # CONTROL
+ 0x0088: 0x28, # CONTROL
+ 0x0089: 0x29, # CONTROL
+ 0x008a: 0x2a, # CONTROL
+ 0x008b: 0x2b, # CONTROL
+ 0x008c: 0x2c, # CONTROL
+ 0x008d: 0x09, # CONTROL
+ 0x008e: 0x0a, # CONTROL
+ 0x008f: 0x1b, # CONTROL
+ 0x0090: 0x30, # CONTROL
+ 0x0091: 0x31, # CONTROL
+ 0x0092: 0x1a, # CONTROL
+ 0x0093: 0x33, # CONTROL
+ 0x0094: 0x34, # CONTROL
+ 0x0095: 0x35, # CONTROL
+ 0x0096: 0x36, # CONTROL
+ 0x0097: 0x08, # CONTROL
+ 0x0098: 0x38, # CONTROL
+ 0x0099: 0x39, # CONTROL
+ 0x009a: 0x3a, # CONTROL
+ 0x009b: 0x3b, # CONTROL
+ 0x009c: 0x04, # CONTROL
+ 0x009d: 0x14, # CONTROL
+ 0x009e: 0x3e, # CONTROL
+ 0x009f: 0xff, # CONTROL
+ 0x00a0: 0x41, # NO-BREAK SPACE
+ 0x00a1: 0xaa, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xb0, # CENT SIGN
+ 0x00a3: 0xb1, # POUND SIGN
+ 0x00a4: 0x9f, # CURRENCY SIGN
+ 0x00a5: 0xb2, # YEN SIGN
+ 0x00a6: 0x8e, # BROKEN BAR
+ 0x00a7: 0xb5, # SECTION SIGN
+ 0x00a8: 0xbd, # DIAERESIS
+ 0x00a9: 0xb4, # COPYRIGHT SIGN
+ 0x00aa: 0x9a, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0x8a, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xba, # NOT SIGN
+ 0x00ad: 0xca, # SOFT HYPHEN
+ 0x00ae: 0xaf, # REGISTERED SIGN
+ 0x00af: 0xbc, # MACRON
+ 0x00b0: 0x90, # DEGREE SIGN
+ 0x00b1: 0x8f, # PLUS-MINUS SIGN
+ 0x00b2: 0xea, # SUPERSCRIPT TWO
+ 0x00b3: 0xfa, # SUPERSCRIPT THREE
+ 0x00b4: 0xbe, # ACUTE ACCENT
+ 0x00b5: 0xa0, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb3, # MIDDLE DOT
+ 0x00b8: 0x9d, # CEDILLA
+ 0x00b9: 0xda, # SUPERSCRIPT ONE
+ 0x00ba: 0x9b, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0x8b, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xb7, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xb8, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xb9, # VULGAR FRACTION THREE QUARTERS
+ 0x00bf: 0xab, # INVERTED QUESTION MARK
+ 0x00c0: 0x64, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0x65, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0x62, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0x66, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0x63, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0x67, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0x9e, # LATIN CAPITAL LIGATURE AE
+ 0x00c7: 0x4a, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0x74, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0x71, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0x72, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0x73, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0x78, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0x75, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0x76, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0x77, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d1: 0x69, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xed, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xee, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xeb, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xef, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0x7b, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xbf, # MULTIPLICATION SIGN
+ 0x00d8: 0x80, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xfd, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xfe, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xfb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0x7f, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0x59, # LATIN SMALL LETTER SHARP S (GERMAN)
+ 0x00e0: 0x44, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0x45, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0x42, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0x46, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0x43, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0x47, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0x9c, # LATIN SMALL LIGATURE AE
+ 0x00e7: 0xc0, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0x54, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0x51, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0x52, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0x53, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0x58, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0x55, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0x56, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0x57, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f1: 0x49, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0xcd, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0xce, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xcb, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0xcf, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xa1, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xe1, # DIVISION SIGN
+ 0x00f8: 0x70, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0xdd, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xde, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xdb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xe0, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00ff: 0xdf, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x011e: 0x5a, # LATIN CAPITAL LETTER G WITH BREVE
+ 0x011f: 0xd0, # LATIN SMALL LETTER G WITH BREVE
+ 0x0130: 0x5b, # LATIN CAPITAL LETTER I WITH DOT ABOVE
+ 0x0131: 0x79, # LATIN SMALL LETTER DOTLESS I
+ 0x015e: 0x7c, # LATIN CAPITAL LETTER S WITH CEDILLA
+ 0x015f: 0x6a, # LATIN SMALL LETTER S WITH CEDILLA
} \ No newline at end of file
diff --git a/Lib/encodings/cp1140.py b/Lib/encodings/cp1140.py
index 5fd31a654d7..7267507037a 100644
--- a/Lib/encodings/cp1140.py
+++ b/Lib/encodings/cp1140.py
@@ -1,11 +1,8 @@
-""" Python Character Mapping Codec for cp1140
+""" Python Character Mapping Codec generated from 'python-mappings/CP1140.TXT' with gencodec.py.
-Written by Brian Quinlan(brian@sweetapp.com). NO WARRANTY.
-"""
+"""#"
import codecs
-import copy
-import cp037
### Codec APIs
@@ -17,8 +14,8 @@ class Codec(codecs.Codec):
def decode(self,input,errors='strict'):
- return codecs.charmap_decode(input,errors,decoding_map)
-
+ return codecs.charmap_decode(input,errors,decoding_table)
+
class StreamWriter(Codec,codecs.StreamWriter):
pass
@@ -31,14 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-decoding_map = copy.copy(cp037.decoding_map)
+### Decoding Table
-decoding_map.update({
- 0x009f: 0x20ac # EURO SIGN
-})
+decoding_table = (
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x9c' # 0x04 -> CONTROL
+ u'\t' # 0x05 -> HORIZONTAL TABULATION
+ u'\x86' # 0x06 -> CONTROL
+ u'\x7f' # 0x07 -> DELETE
+ u'\x97' # 0x08 -> CONTROL
+ u'\x8d' # 0x09 -> CONTROL
+ u'\x8e' # 0x0a -> CONTROL
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x9d' # 0x14 -> CONTROL
+ u'\x85' # 0x15 -> CONTROL
+ u'\x08' # 0x16 -> BACKSPACE
+ u'\x87' # 0x17 -> CONTROL
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x92' # 0x1a -> CONTROL
+ u'\x8f' # 0x1b -> CONTROL
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u'\x80' # 0x20 -> CONTROL
+ u'\x81' # 0x21 -> CONTROL
+ u'\x82' # 0x22 -> CONTROL
+ u'\x83' # 0x23 -> CONTROL
+ u'\x84' # 0x24 -> CONTROL
+ u'\n' # 0x25 -> LINE FEED
+ u'\x17' # 0x26 -> END OF TRANSMISSION BLOCK
+ u'\x1b' # 0x27 -> ESCAPE
+ u'\x88' # 0x28 -> CONTROL
+ u'\x89' # 0x29 -> CONTROL
+ u'\x8a' # 0x2a -> CONTROL
+ u'\x8b' # 0x2b -> CONTROL
+ u'\x8c' # 0x2c -> CONTROL
+ u'\x05' # 0x2d -> ENQUIRY
+ u'\x06' # 0x2e -> ACKNOWLEDGE
+ u'\x07' # 0x2f -> BELL
+ u'\x90' # 0x30 -> CONTROL
+ u'\x91' # 0x31 -> CONTROL
+ u'\x16' # 0x32 -> SYNCHRONOUS IDLE
+ u'\x93' # 0x33 -> CONTROL
+ u'\x94' # 0x34 -> CONTROL
+ u'\x95' # 0x35 -> CONTROL
+ u'\x96' # 0x36 -> CONTROL
+ u'\x04' # 0x37 -> END OF TRANSMISSION
+ u'\x98' # 0x38 -> CONTROL
+ u'\x99' # 0x39 -> CONTROL
+ u'\x9a' # 0x3a -> CONTROL
+ u'\x9b' # 0x3b -> CONTROL
+ u'\x14' # 0x3c -> DEVICE CONTROL FOUR
+ u'\x15' # 0x3d -> NEGATIVE ACKNOWLEDGE
+ u'\x9e' # 0x3e -> CONTROL
+ u'\x1a' # 0x3f -> SUBSTITUTE
+ u' ' # 0x40 -> SPACE
+ u'\xa0' # 0x41 -> NO-BREAK SPACE
+ u'\xe2' # 0x42 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe4' # 0x43 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe0' # 0x44 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0x45 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe3' # 0x46 -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe5' # 0x47 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe7' # 0x48 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xf1' # 0x49 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xa2' # 0x4a -> CENT SIGN
+ u'.' # 0x4b -> FULL STOP
+ u'<' # 0x4c -> LESS-THAN SIGN
+ u'(' # 0x4d -> LEFT PARENTHESIS
+ u'+' # 0x4e -> PLUS SIGN
+ u'|' # 0x4f -> VERTICAL LINE
+ u'&' # 0x50 -> AMPERSAND
+ u'\xe9' # 0x51 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0x52 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0x53 -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xe8' # 0x54 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xed' # 0x55 -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0x56 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0x57 -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xec' # 0x58 -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xdf' # 0x59 -> LATIN SMALL LETTER SHARP S (GERMAN)
+ u'!' # 0x5a -> EXCLAMATION MARK
+ u'$' # 0x5b -> DOLLAR SIGN
+ u'*' # 0x5c -> ASTERISK
+ u')' # 0x5d -> RIGHT PARENTHESIS
+ u';' # 0x5e -> SEMICOLON
+ u'\xac' # 0x5f -> NOT SIGN
+ u'-' # 0x60 -> HYPHEN-MINUS
+ u'/' # 0x61 -> SOLIDUS
+ u'\xc2' # 0x62 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xc4' # 0x63 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc0' # 0x64 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0x65 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc3' # 0x66 -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xc5' # 0x67 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc7' # 0x68 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xd1' # 0x69 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xa6' # 0x6a -> BROKEN BAR
+ u',' # 0x6b -> COMMA
+ u'%' # 0x6c -> PERCENT SIGN
+ u'_' # 0x6d -> LOW LINE
+ u'>' # 0x6e -> GREATER-THAN SIGN
+ u'?' # 0x6f -> QUESTION MARK
+ u'\xf8' # 0x70 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xc9' # 0x71 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0x72 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0x73 -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xc8' # 0x74 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xcd' # 0x75 -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0x76 -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0x77 -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xcc' # 0x78 -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'`' # 0x79 -> GRAVE ACCENT
+ u':' # 0x7a -> COLON
+ u'#' # 0x7b -> NUMBER SIGN
+ u'@' # 0x7c -> COMMERCIAL AT
+ u"'" # 0x7d -> APOSTROPHE
+ u'=' # 0x7e -> EQUALS SIGN
+ u'"' # 0x7f -> QUOTATION MARK
+ u'\xd8' # 0x80 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'a' # 0x81 -> LATIN SMALL LETTER A
+ u'b' # 0x82 -> LATIN SMALL LETTER B
+ u'c' # 0x83 -> LATIN SMALL LETTER C
+ u'd' # 0x84 -> LATIN SMALL LETTER D
+ u'e' # 0x85 -> LATIN SMALL LETTER E
+ u'f' # 0x86 -> LATIN SMALL LETTER F
+ u'g' # 0x87 -> LATIN SMALL LETTER G
+ u'h' # 0x88 -> LATIN SMALL LETTER H
+ u'i' # 0x89 -> LATIN SMALL LETTER I
+ u'\xab' # 0x8a -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0x8b -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xf0' # 0x8c -> LATIN SMALL LETTER ETH (ICELANDIC)
+ u'\xfd' # 0x8d -> LATIN SMALL LETTER Y WITH ACUTE
+ u'\xfe' # 0x8e -> LATIN SMALL LETTER THORN (ICELANDIC)
+ u'\xb1' # 0x8f -> PLUS-MINUS SIGN
+ u'\xb0' # 0x90 -> DEGREE SIGN
+ u'j' # 0x91 -> LATIN SMALL LETTER J
+ u'k' # 0x92 -> LATIN SMALL LETTER K
+ u'l' # 0x93 -> LATIN SMALL LETTER L
+ u'm' # 0x94 -> LATIN SMALL LETTER M
+ u'n' # 0x95 -> LATIN SMALL LETTER N
+ u'o' # 0x96 -> LATIN SMALL LETTER O
+ u'p' # 0x97 -> LATIN SMALL LETTER P
+ u'q' # 0x98 -> LATIN SMALL LETTER Q
+ u'r' # 0x99 -> LATIN SMALL LETTER R
+ u'\xaa' # 0x9a -> FEMININE ORDINAL INDICATOR
+ u'\xba' # 0x9b -> MASCULINE ORDINAL INDICATOR
+ u'\xe6' # 0x9c -> LATIN SMALL LIGATURE AE
+ u'\xb8' # 0x9d -> CEDILLA
+ u'\xc6' # 0x9e -> LATIN CAPITAL LIGATURE AE
+ u'\u20ac' # 0x9f -> EURO SIGN
+ u'\xb5' # 0xa0 -> MICRO SIGN
+ u'~' # 0xa1 -> TILDE
+ u's' # 0xa2 -> LATIN SMALL LETTER S
+ u't' # 0xa3 -> LATIN SMALL LETTER T
+ u'u' # 0xa4 -> LATIN SMALL LETTER U
+ u'v' # 0xa5 -> LATIN SMALL LETTER V
+ u'w' # 0xa6 -> LATIN SMALL LETTER W
+ u'x' # 0xa7 -> LATIN SMALL LETTER X
+ u'y' # 0xa8 -> LATIN SMALL LETTER Y
+ u'z' # 0xa9 -> LATIN SMALL LETTER Z
+ u'\xa1' # 0xaa -> INVERTED EXCLAMATION MARK
+ u'\xbf' # 0xab -> INVERTED QUESTION MARK
+ u'\xd0' # 0xac -> LATIN CAPITAL LETTER ETH (ICELANDIC)
+ u'\xdd' # 0xad -> LATIN CAPITAL LETTER Y WITH ACUTE
+ u'\xde' # 0xae -> LATIN CAPITAL LETTER THORN (ICELANDIC)
+ u'\xae' # 0xaf -> REGISTERED SIGN
+ u'^' # 0xb0 -> CIRCUMFLEX ACCENT
+ u'\xa3' # 0xb1 -> POUND SIGN
+ u'\xa5' # 0xb2 -> YEN SIGN
+ u'\xb7' # 0xb3 -> MIDDLE DOT
+ u'\xa9' # 0xb4 -> COPYRIGHT SIGN
+ u'\xa7' # 0xb5 -> SECTION SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xbc' # 0xb7 -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xb8 -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xb9 -> VULGAR FRACTION THREE QUARTERS
+ u'[' # 0xba -> LEFT SQUARE BRACKET
+ u']' # 0xbb -> RIGHT SQUARE BRACKET
+ u'\xaf' # 0xbc -> MACRON
+ u'\xa8' # 0xbd -> DIAERESIS
+ u'\xb4' # 0xbe -> ACUTE ACCENT
+ u'\xd7' # 0xbf -> MULTIPLICATION SIGN
+ u'{' # 0xc0 -> LEFT CURLY BRACKET
+ u'A' # 0xc1 -> LATIN CAPITAL LETTER A
+ u'B' # 0xc2 -> LATIN CAPITAL LETTER B
+ u'C' # 0xc3 -> LATIN CAPITAL LETTER C
+ u'D' # 0xc4 -> LATIN CAPITAL LETTER D
+ u'E' # 0xc5 -> LATIN CAPITAL LETTER E
+ u'F' # 0xc6 -> LATIN CAPITAL LETTER F
+ u'G' # 0xc7 -> LATIN CAPITAL LETTER G
+ u'H' # 0xc8 -> LATIN CAPITAL LETTER H
+ u'I' # 0xc9 -> LATIN CAPITAL LETTER I
+ u'\xad' # 0xca -> SOFT HYPHEN
+ u'\xf4' # 0xcb -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf6' # 0xcc -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf2' # 0xcd -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf3' # 0xce -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf5' # 0xcf -> LATIN SMALL LETTER O WITH TILDE
+ u'}' # 0xd0 -> RIGHT CURLY BRACKET
+ u'J' # 0xd1 -> LATIN CAPITAL LETTER J
+ u'K' # 0xd2 -> LATIN CAPITAL LETTER K
+ u'L' # 0xd3 -> LATIN CAPITAL LETTER L
+ u'M' # 0xd4 -> LATIN CAPITAL LETTER M
+ u'N' # 0xd5 -> LATIN CAPITAL LETTER N
+ u'O' # 0xd6 -> LATIN CAPITAL LETTER O
+ u'P' # 0xd7 -> LATIN CAPITAL LETTER P
+ u'Q' # 0xd8 -> LATIN CAPITAL LETTER Q
+ u'R' # 0xd9 -> LATIN CAPITAL LETTER R
+ u'\xb9' # 0xda -> SUPERSCRIPT ONE
+ u'\xfb' # 0xdb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xdc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\xf9' # 0xdd -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xde -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xff' # 0xdf -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\\' # 0xe0 -> REVERSE SOLIDUS
+ u'\xf7' # 0xe1 -> DIVISION SIGN
+ u'S' # 0xe2 -> LATIN CAPITAL LETTER S
+ u'T' # 0xe3 -> LATIN CAPITAL LETTER T
+ u'U' # 0xe4 -> LATIN CAPITAL LETTER U
+ u'V' # 0xe5 -> LATIN CAPITAL LETTER V
+ u'W' # 0xe6 -> LATIN CAPITAL LETTER W
+ u'X' # 0xe7 -> LATIN CAPITAL LETTER X
+ u'Y' # 0xe8 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0xe9 -> LATIN CAPITAL LETTER Z
+ u'\xb2' # 0xea -> SUPERSCRIPT TWO
+ u'\xd4' # 0xeb -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\xd6' # 0xec -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd2' # 0xed -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xd3' # 0xee -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd5' # 0xef -> LATIN CAPITAL LETTER O WITH TILDE
+ u'0' # 0xf0 -> DIGIT ZERO
+ u'1' # 0xf1 -> DIGIT ONE
+ u'2' # 0xf2 -> DIGIT TWO
+ u'3' # 0xf3 -> DIGIT THREE
+ u'4' # 0xf4 -> DIGIT FOUR
+ u'5' # 0xf5 -> DIGIT FIVE
+ u'6' # 0xf6 -> DIGIT SIX
+ u'7' # 0xf7 -> DIGIT SEVEN
+ u'8' # 0xf8 -> DIGIT EIGHT
+ u'9' # 0xf9 -> DIGIT NINE
+ u'\xb3' # 0xfa -> SUPERSCRIPT THREE
+ u'\xdb' # 0xfb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xfc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xd9' # 0xfd -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xfe -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\x9f' # 0xff -> CONTROL
+)
### Encoding Map
-encoding_map = codecs.make_encoding_map(decoding_map)
+encoding_map = {
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x37, # END OF TRANSMISSION
+ 0x0005: 0x2d, # ENQUIRY
+ 0x0006: 0x2e, # ACKNOWLEDGE
+ 0x0007: 0x2f, # BELL
+ 0x0008: 0x16, # BACKSPACE
+ 0x0009: 0x05, # HORIZONTAL TABULATION
+ 0x000a: 0x25, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x3c, # DEVICE CONTROL FOUR
+ 0x0015: 0x3d, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x32, # SYNCHRONOUS IDLE
+ 0x0017: 0x26, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x3f, # SUBSTITUTE
+ 0x001b: 0x27, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x40, # SPACE
+ 0x0021: 0x5a, # EXCLAMATION MARK
+ 0x0022: 0x7f, # QUOTATION MARK
+ 0x0023: 0x7b, # NUMBER SIGN
+ 0x0024: 0x5b, # DOLLAR SIGN
+ 0x0025: 0x6c, # PERCENT SIGN
+ 0x0026: 0x50, # AMPERSAND
+ 0x0027: 0x7d, # APOSTROPHE
+ 0x0028: 0x4d, # LEFT PARENTHESIS
+ 0x0029: 0x5d, # RIGHT PARENTHESIS
+ 0x002a: 0x5c, # ASTERISK
+ 0x002b: 0x4e, # PLUS SIGN
+ 0x002c: 0x6b, # COMMA
+ 0x002d: 0x60, # HYPHEN-MINUS
+ 0x002e: 0x4b, # FULL STOP
+ 0x002f: 0x61, # SOLIDUS
+ 0x0030: 0xf0, # DIGIT ZERO
+ 0x0031: 0xf1, # DIGIT ONE
+ 0x0032: 0xf2, # DIGIT TWO
+ 0x0033: 0xf3, # DIGIT THREE
+ 0x0034: 0xf4, # DIGIT FOUR
+ 0x0035: 0xf5, # DIGIT FIVE
+ 0x0036: 0xf6, # DIGIT SIX
+ 0x0037: 0xf7, # DIGIT SEVEN
+ 0x0038: 0xf8, # DIGIT EIGHT
+ 0x0039: 0xf9, # DIGIT NINE
+ 0x003a: 0x7a, # COLON
+ 0x003b: 0x5e, # SEMICOLON
+ 0x003c: 0x4c, # LESS-THAN SIGN
+ 0x003d: 0x7e, # EQUALS SIGN
+ 0x003e: 0x6e, # GREATER-THAN SIGN
+ 0x003f: 0x6f, # QUESTION MARK
+ 0x0040: 0x7c, # COMMERCIAL AT
+ 0x0041: 0xc1, # LATIN CAPITAL LETTER A
+ 0x0042: 0xc2, # LATIN CAPITAL LETTER B
+ 0x0043: 0xc3, # LATIN CAPITAL LETTER C
+ 0x0044: 0xc4, # LATIN CAPITAL LETTER D
+ 0x0045: 0xc5, # LATIN CAPITAL LETTER E
+ 0x0046: 0xc6, # LATIN CAPITAL LETTER F
+ 0x0047: 0xc7, # LATIN CAPITAL LETTER G
+ 0x0048: 0xc8, # LATIN CAPITAL LETTER H
+ 0x0049: 0xc9, # LATIN CAPITAL LETTER I
+ 0x004a: 0xd1, # LATIN CAPITAL LETTER J
+ 0x004b: 0xd2, # LATIN CAPITAL LETTER K
+ 0x004c: 0xd3, # LATIN CAPITAL LETTER L
+ 0x004d: 0xd4, # LATIN CAPITAL LETTER M
+ 0x004e: 0xd5, # LATIN CAPITAL LETTER N
+ 0x004f: 0xd6, # LATIN CAPITAL LETTER O
+ 0x0050: 0xd7, # LATIN CAPITAL LETTER P
+ 0x0051: 0xd8, # LATIN CAPITAL LETTER Q
+ 0x0052: 0xd9, # LATIN CAPITAL LETTER R
+ 0x0053: 0xe2, # LATIN CAPITAL LETTER S
+ 0x0054: 0xe3, # LATIN CAPITAL LETTER T
+ 0x0055: 0xe4, # LATIN CAPITAL LETTER U
+ 0x0056: 0xe5, # LATIN CAPITAL LETTER V
+ 0x0057: 0xe6, # LATIN CAPITAL LETTER W
+ 0x0058: 0xe7, # LATIN CAPITAL LETTER X
+ 0x0059: 0xe8, # LATIN CAPITAL LETTER Y
+ 0x005a: 0xe9, # LATIN CAPITAL LETTER Z
+ 0x005b: 0xba, # LEFT SQUARE BRACKET
+ 0x005c: 0xe0, # REVERSE SOLIDUS
+ 0x005d: 0xbb, # RIGHT SQUARE BRACKET
+ 0x005e: 0xb0, # CIRCUMFLEX ACCENT
+ 0x005f: 0x6d, # LOW LINE
+ 0x0060: 0x79, # GRAVE ACCENT
+ 0x0061: 0x81, # LATIN SMALL LETTER A
+ 0x0062: 0x82, # LATIN SMALL LETTER B
+ 0x0063: 0x83, # LATIN SMALL LETTER C
+ 0x0064: 0x84, # LATIN SMALL LETTER D
+ 0x0065: 0x85, # LATIN SMALL LETTER E
+ 0x0066: 0x86, # LATIN SMALL LETTER F
+ 0x0067: 0x87, # LATIN SMALL LETTER G
+ 0x0068: 0x88, # LATIN SMALL LETTER H
+ 0x0069: 0x89, # LATIN SMALL LETTER I
+ 0x006a: 0x91, # LATIN SMALL LETTER J
+ 0x006b: 0x92, # LATIN SMALL LETTER K
+ 0x006c: 0x93, # LATIN SMALL LETTER L
+ 0x006d: 0x94, # LATIN SMALL LETTER M
+ 0x006e: 0x95, # LATIN SMALL LETTER N
+ 0x006f: 0x96, # LATIN SMALL LETTER O
+ 0x0070: 0x97, # LATIN SMALL LETTER P
+ 0x0071: 0x98, # LATIN SMALL LETTER Q
+ 0x0072: 0x99, # LATIN SMALL LETTER R
+ 0x0073: 0xa2, # LATIN SMALL LETTER S
+ 0x0074: 0xa3, # LATIN SMALL LETTER T
+ 0x0075: 0xa4, # LATIN SMALL LETTER U
+ 0x0076: 0xa5, # LATIN SMALL LETTER V
+ 0x0077: 0xa6, # LATIN SMALL LETTER W
+ 0x0078: 0xa7, # LATIN SMALL LETTER X
+ 0x0079: 0xa8, # LATIN SMALL LETTER Y
+ 0x007a: 0xa9, # LATIN SMALL LETTER Z
+ 0x007b: 0xc0, # LEFT CURLY BRACKET
+ 0x007c: 0x4f, # VERTICAL LINE
+ 0x007d: 0xd0, # RIGHT CURLY BRACKET
+ 0x007e: 0xa1, # TILDE
+ 0x007f: 0x07, # DELETE
+ 0x0080: 0x20, # CONTROL
+ 0x0081: 0x21, # CONTROL
+ 0x0082: 0x22, # CONTROL
+ 0x0083: 0x23, # CONTROL
+ 0x0084: 0x24, # CONTROL
+ 0x0085: 0x15, # CONTROL
+ 0x0086: 0x06, # CONTROL
+ 0x0087: 0x17, # CONTROL
+ 0x0088: 0x28, # CONTROL
+ 0x0089: 0x29, # CONTROL
+ 0x008a: 0x2a, # CONTROL
+ 0x008b: 0x2b, # CONTROL
+ 0x008c: 0x2c, # CONTROL
+ 0x008d: 0x09, # CONTROL
+ 0x008e: 0x0a, # CONTROL
+ 0x008f: 0x1b, # CONTROL
+ 0x0090: 0x30, # CONTROL
+ 0x0091: 0x31, # CONTROL
+ 0x0092: 0x1a, # CONTROL
+ 0x0093: 0x33, # CONTROL
+ 0x0094: 0x34, # CONTROL
+ 0x0095: 0x35, # CONTROL
+ 0x0096: 0x36, # CONTROL
+ 0x0097: 0x08, # CONTROL
+ 0x0098: 0x38, # CONTROL
+ 0x0099: 0x39, # CONTROL
+ 0x009a: 0x3a, # CONTROL
+ 0x009b: 0x3b, # CONTROL
+ 0x009c: 0x04, # CONTROL
+ 0x009d: 0x14, # CONTROL
+ 0x009e: 0x3e, # CONTROL
+ 0x009f: 0xff, # CONTROL
+ 0x00a0: 0x41, # NO-BREAK SPACE
+ 0x00a1: 0xaa, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0x4a, # CENT SIGN
+ 0x00a3: 0xb1, # POUND SIGN
+ 0x00a5: 0xb2, # YEN SIGN
+ 0x00a6: 0x6a, # BROKEN BAR
+ 0x00a7: 0xb5, # SECTION SIGN
+ 0x00a8: 0xbd, # DIAERESIS
+ 0x00a9: 0xb4, # COPYRIGHT SIGN
+ 0x00aa: 0x9a, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0x8a, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0x5f, # NOT SIGN
+ 0x00ad: 0xca, # SOFT HYPHEN
+ 0x00ae: 0xaf, # REGISTERED SIGN
+ 0x00af: 0xbc, # MACRON
+ 0x00b0: 0x90, # DEGREE SIGN
+ 0x00b1: 0x8f, # PLUS-MINUS SIGN
+ 0x00b2: 0xea, # SUPERSCRIPT TWO
+ 0x00b3: 0xfa, # SUPERSCRIPT THREE
+ 0x00b4: 0xbe, # ACUTE ACCENT
+ 0x00b5: 0xa0, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb3, # MIDDLE DOT
+ 0x00b8: 0x9d, # CEDILLA
+ 0x00b9: 0xda, # SUPERSCRIPT ONE
+ 0x00ba: 0x9b, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0x8b, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xb7, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xb8, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xb9, # VULGAR FRACTION THREE QUARTERS
+ 0x00bf: 0xab, # INVERTED QUESTION MARK
+ 0x00c0: 0x64, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0x65, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0x62, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0x66, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0x63, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0x67, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0x9e, # LATIN CAPITAL LIGATURE AE
+ 0x00c7: 0x68, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0x74, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0x71, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0x72, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0x73, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0x78, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0x75, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0x76, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0x77, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d0: 0xac, # LATIN CAPITAL LETTER ETH (ICELANDIC)
+ 0x00d1: 0x69, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xed, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xee, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xeb, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xef, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xec, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xbf, # MULTIPLICATION SIGN
+ 0x00d8: 0x80, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xfd, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xfe, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xfb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xfc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00dd: 0xad, # LATIN CAPITAL LETTER Y WITH ACUTE
+ 0x00de: 0xae, # LATIN CAPITAL LETTER THORN (ICELANDIC)
+ 0x00df: 0x59, # LATIN SMALL LETTER SHARP S (GERMAN)
+ 0x00e0: 0x44, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0x45, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0x42, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0x46, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0x43, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0x47, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0x9c, # LATIN SMALL LIGATURE AE
+ 0x00e7: 0x48, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0x54, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0x51, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0x52, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0x53, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0x58, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0x55, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0x56, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0x57, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f0: 0x8c, # LATIN SMALL LETTER ETH (ICELANDIC)
+ 0x00f1: 0x49, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0xcd, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0xce, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xcb, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0xcf, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xcc, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xe1, # DIVISION SIGN
+ 0x00f8: 0x70, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0xdd, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xde, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xdb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xdc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00fd: 0x8d, # LATIN SMALL LETTER Y WITH ACUTE
+ 0x00fe: 0x8e, # LATIN SMALL LETTER THORN (ICELANDIC)
+ 0x00ff: 0xdf, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x20ac: 0x9f, # EURO SIGN
+} \ No newline at end of file
diff --git a/Lib/encodings/cp1250.py b/Lib/encodings/cp1250.py
index a2272467664..3068d1d904a 100644
--- a/Lib/encodings/cp1250.py
+++ b/Lib/encodings/cp1250.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/WINDOWS/CP1250.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1250.TXT' with gencodec.py.
"""#"
@@ -28,604 +28,520 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x20ac, # EURO SIGN
- 0x0081: None, # UNDEFINED
- 0x0082: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x0083: None, # UNDEFINED
- 0x0084: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x0085: 0x2026, # HORIZONTAL ELLIPSIS
- 0x0086: 0x2020, # DAGGER
- 0x0087: 0x2021, # DOUBLE DAGGER
- 0x0088: None, # UNDEFINED
- 0x0089: 0x2030, # PER MILLE SIGN
- 0x008a: 0x0160, # LATIN CAPITAL LETTER S WITH CARON
- 0x008b: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x008c: 0x015a, # LATIN CAPITAL LETTER S WITH ACUTE
- 0x008d: 0x0164, # LATIN CAPITAL LETTER T WITH CARON
- 0x008e: 0x017d, # LATIN CAPITAL LETTER Z WITH CARON
- 0x008f: 0x0179, # LATIN CAPITAL LETTER Z WITH ACUTE
- 0x0090: None, # UNDEFINED
- 0x0091: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x0092: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x0093: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x0094: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x0095: 0x2022, # BULLET
- 0x0096: 0x2013, # EN DASH
- 0x0097: 0x2014, # EM DASH
- 0x0098: None, # UNDEFINED
- 0x0099: 0x2122, # TRADE MARK SIGN
- 0x009a: 0x0161, # LATIN SMALL LETTER S WITH CARON
- 0x009b: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x009c: 0x015b, # LATIN SMALL LETTER S WITH ACUTE
- 0x009d: 0x0165, # LATIN SMALL LETTER T WITH CARON
- 0x009e: 0x017e, # LATIN SMALL LETTER Z WITH CARON
- 0x009f: 0x017a, # LATIN SMALL LETTER Z WITH ACUTE
- 0x00a1: 0x02c7, # CARON
- 0x00a2: 0x02d8, # BREVE
- 0x00a3: 0x0141, # LATIN CAPITAL LETTER L WITH STROKE
- 0x00a5: 0x0104, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x00aa: 0x015e, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x00af: 0x017b, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x00b2: 0x02db, # OGONEK
- 0x00b3: 0x0142, # LATIN SMALL LETTER L WITH STROKE
- 0x00b9: 0x0105, # LATIN SMALL LETTER A WITH OGONEK
- 0x00ba: 0x015f, # LATIN SMALL LETTER S WITH CEDILLA
- 0x00bc: 0x013d, # LATIN CAPITAL LETTER L WITH CARON
- 0x00bd: 0x02dd, # DOUBLE ACUTE ACCENT
- 0x00be: 0x013e, # LATIN SMALL LETTER L WITH CARON
- 0x00bf: 0x017c, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x00c0: 0x0154, # LATIN CAPITAL LETTER R WITH ACUTE
- 0x00c3: 0x0102, # LATIN CAPITAL LETTER A WITH BREVE
- 0x00c5: 0x0139, # LATIN CAPITAL LETTER L WITH ACUTE
- 0x00c6: 0x0106, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x00c8: 0x010c, # LATIN CAPITAL LETTER C WITH CARON
- 0x00ca: 0x0118, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x00cc: 0x011a, # LATIN CAPITAL LETTER E WITH CARON
- 0x00cf: 0x010e, # LATIN CAPITAL LETTER D WITH CARON
- 0x00d0: 0x0110, # LATIN CAPITAL LETTER D WITH STROKE
- 0x00d1: 0x0143, # LATIN CAPITAL LETTER N WITH ACUTE
- 0x00d2: 0x0147, # LATIN CAPITAL LETTER N WITH CARON
- 0x00d5: 0x0150, # LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
- 0x00d8: 0x0158, # LATIN CAPITAL LETTER R WITH CARON
- 0x00d9: 0x016e, # LATIN CAPITAL LETTER U WITH RING ABOVE
- 0x00db: 0x0170, # LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
- 0x00de: 0x0162, # LATIN CAPITAL LETTER T WITH CEDILLA
- 0x00e0: 0x0155, # LATIN SMALL LETTER R WITH ACUTE
- 0x00e3: 0x0103, # LATIN SMALL LETTER A WITH BREVE
- 0x00e5: 0x013a, # LATIN SMALL LETTER L WITH ACUTE
- 0x00e6: 0x0107, # LATIN SMALL LETTER C WITH ACUTE
- 0x00e8: 0x010d, # LATIN SMALL LETTER C WITH CARON
- 0x00ea: 0x0119, # LATIN SMALL LETTER E WITH OGONEK
- 0x00ec: 0x011b, # LATIN SMALL LETTER E WITH CARON
- 0x00ef: 0x010f, # LATIN SMALL LETTER D WITH CARON
- 0x00f0: 0x0111, # LATIN SMALL LETTER D WITH STROKE
- 0x00f1: 0x0144, # LATIN SMALL LETTER N WITH ACUTE
- 0x00f2: 0x0148, # LATIN SMALL LETTER N WITH CARON
- 0x00f5: 0x0151, # LATIN SMALL LETTER O WITH DOUBLE ACUTE
- 0x00f8: 0x0159, # LATIN SMALL LETTER R WITH CARON
- 0x00f9: 0x016f, # LATIN SMALL LETTER U WITH RING ABOVE
- 0x00fb: 0x0171, # LATIN SMALL LETTER U WITH DOUBLE ACUTE
- 0x00fe: 0x0163, # LATIN SMALL LETTER T WITH CEDILLA
- 0x00ff: 0x02d9, # DOT ABOVE
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\u20ac' # 0x0080 -> EURO SIGN
- u'\ufffe' # 0x0081 -> UNDEFINED
- u'\u201a' # 0x0082 -> SINGLE LOW-9 QUOTATION MARK
- u'\ufffe' # 0x0083 -> UNDEFINED
- u'\u201e' # 0x0084 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2026' # 0x0085 -> HORIZONTAL ELLIPSIS
- u'\u2020' # 0x0086 -> DAGGER
- u'\u2021' # 0x0087 -> DOUBLE DAGGER
- u'\ufffe' # 0x0088 -> UNDEFINED
- u'\u2030' # 0x0089 -> PER MILLE SIGN
- u'\u0160' # 0x008a -> LATIN CAPITAL LETTER S WITH CARON
- u'\u2039' # 0x008b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\u015a' # 0x008c -> LATIN CAPITAL LETTER S WITH ACUTE
- u'\u0164' # 0x008d -> LATIN CAPITAL LETTER T WITH CARON
- u'\u017d' # 0x008e -> LATIN CAPITAL LETTER Z WITH CARON
- u'\u0179' # 0x008f -> LATIN CAPITAL LETTER Z WITH ACUTE
- u'\ufffe' # 0x0090 -> UNDEFINED
- u'\u2018' # 0x0091 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x0092 -> RIGHT SINGLE QUOTATION MARK
- u'\u201c' # 0x0093 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x0094 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2022' # 0x0095 -> BULLET
- u'\u2013' # 0x0096 -> EN DASH
- u'\u2014' # 0x0097 -> EM DASH
- u'\ufffe' # 0x0098 -> UNDEFINED
- u'\u2122' # 0x0099 -> TRADE MARK SIGN
- u'\u0161' # 0x009a -> LATIN SMALL LETTER S WITH CARON
- u'\u203a' # 0x009b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\u015b' # 0x009c -> LATIN SMALL LETTER S WITH ACUTE
- u'\u0165' # 0x009d -> LATIN SMALL LETTER T WITH CARON
- u'\u017e' # 0x009e -> LATIN SMALL LETTER Z WITH CARON
- u'\u017a' # 0x009f -> LATIN SMALL LETTER Z WITH ACUTE
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u02c7' # 0x00a1 -> CARON
- u'\u02d8' # 0x00a2 -> BREVE
- u'\u0141' # 0x00a3 -> LATIN CAPITAL LETTER L WITH STROKE
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\u0104' # 0x00a5 -> LATIN CAPITAL LETTER A WITH OGONEK
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u015e' # 0x00aa -> LATIN CAPITAL LETTER S WITH CEDILLA
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\u017b' # 0x00af -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\u02db' # 0x00b2 -> OGONEK
- u'\u0142' # 0x00b3 -> LATIN SMALL LETTER L WITH STROKE
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\xb8' # 0x00b8 -> CEDILLA
- u'\u0105' # 0x00b9 -> LATIN SMALL LETTER A WITH OGONEK
- u'\u015f' # 0x00ba -> LATIN SMALL LETTER S WITH CEDILLA
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u013d' # 0x00bc -> LATIN CAPITAL LETTER L WITH CARON
- u'\u02dd' # 0x00bd -> DOUBLE ACUTE ACCENT
- u'\u013e' # 0x00be -> LATIN SMALL LETTER L WITH CARON
- u'\u017c' # 0x00bf -> LATIN SMALL LETTER Z WITH DOT ABOVE
- u'\u0154' # 0x00c0 -> LATIN CAPITAL LETTER R WITH ACUTE
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\u0102' # 0x00c3 -> LATIN CAPITAL LETTER A WITH BREVE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\u0139' # 0x00c5 -> LATIN CAPITAL LETTER L WITH ACUTE
- u'\u0106' # 0x00c6 -> LATIN CAPITAL LETTER C WITH ACUTE
- u'\xc7' # 0x00c7 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\u010c' # 0x00c8 -> LATIN CAPITAL LETTER C WITH CARON
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\u0118' # 0x00ca -> LATIN CAPITAL LETTER E WITH OGONEK
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\u011a' # 0x00cc -> LATIN CAPITAL LETTER E WITH CARON
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\u010e' # 0x00cf -> LATIN CAPITAL LETTER D WITH CARON
- u'\u0110' # 0x00d0 -> LATIN CAPITAL LETTER D WITH STROKE
- u'\u0143' # 0x00d1 -> LATIN CAPITAL LETTER N WITH ACUTE
- u'\u0147' # 0x00d2 -> LATIN CAPITAL LETTER N WITH CARON
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\u0150' # 0x00d5 -> LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\u0158' # 0x00d8 -> LATIN CAPITAL LETTER R WITH CARON
- u'\u016e' # 0x00d9 -> LATIN CAPITAL LETTER U WITH RING ABOVE
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\u0170' # 0x00db -> LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xdd' # 0x00dd -> LATIN CAPITAL LETTER Y WITH ACUTE
- u'\u0162' # 0x00de -> LATIN CAPITAL LETTER T WITH CEDILLA
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S
- u'\u0155' # 0x00e0 -> LATIN SMALL LETTER R WITH ACUTE
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\u0103' # 0x00e3 -> LATIN SMALL LETTER A WITH BREVE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\u013a' # 0x00e5 -> LATIN SMALL LETTER L WITH ACUTE
- u'\u0107' # 0x00e6 -> LATIN SMALL LETTER C WITH ACUTE
- u'\xe7' # 0x00e7 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\u010d' # 0x00e8 -> LATIN SMALL LETTER C WITH CARON
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\u0119' # 0x00ea -> LATIN SMALL LETTER E WITH OGONEK
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\u011b' # 0x00ec -> LATIN SMALL LETTER E WITH CARON
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\u010f' # 0x00ef -> LATIN SMALL LETTER D WITH CARON
- u'\u0111' # 0x00f0 -> LATIN SMALL LETTER D WITH STROKE
- u'\u0144' # 0x00f1 -> LATIN SMALL LETTER N WITH ACUTE
- u'\u0148' # 0x00f2 -> LATIN SMALL LETTER N WITH CARON
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\u0151' # 0x00f5 -> LATIN SMALL LETTER O WITH DOUBLE ACUTE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\u0159' # 0x00f8 -> LATIN SMALL LETTER R WITH CARON
- u'\u016f' # 0x00f9 -> LATIN SMALL LETTER U WITH RING ABOVE
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\u0171' # 0x00fb -> LATIN SMALL LETTER U WITH DOUBLE ACUTE
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\xfd' # 0x00fd -> LATIN SMALL LETTER Y WITH ACUTE
- u'\u0163' # 0x00fe -> LATIN SMALL LETTER T WITH CEDILLA
- u'\u02d9' # 0x00ff -> DOT ABOVE
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u20ac' # 0x80 -> EURO SIGN
+ u'\ufffe' # 0x81 -> UNDEFINED
+ u'\u201a' # 0x82 -> SINGLE LOW-9 QUOTATION MARK
+ u'\ufffe' # 0x83 -> UNDEFINED
+ u'\u201e' # 0x84 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2026' # 0x85 -> HORIZONTAL ELLIPSIS
+ u'\u2020' # 0x86 -> DAGGER
+ u'\u2021' # 0x87 -> DOUBLE DAGGER
+ u'\ufffe' # 0x88 -> UNDEFINED
+ u'\u2030' # 0x89 -> PER MILLE SIGN
+ u'\u0160' # 0x8a -> LATIN CAPITAL LETTER S WITH CARON
+ u'\u2039' # 0x8b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\u015a' # 0x8c -> LATIN CAPITAL LETTER S WITH ACUTE
+ u'\u0164' # 0x8d -> LATIN CAPITAL LETTER T WITH CARON
+ u'\u017d' # 0x8e -> LATIN CAPITAL LETTER Z WITH CARON
+ u'\u0179' # 0x8f -> LATIN CAPITAL LETTER Z WITH ACUTE
+ u'\ufffe' # 0x90 -> UNDEFINED
+ u'\u2018' # 0x91 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0x92 -> RIGHT SINGLE QUOTATION MARK
+ u'\u201c' # 0x93 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0x94 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2022' # 0x95 -> BULLET
+ u'\u2013' # 0x96 -> EN DASH
+ u'\u2014' # 0x97 -> EM DASH
+ u'\ufffe' # 0x98 -> UNDEFINED
+ u'\u2122' # 0x99 -> TRADE MARK SIGN
+ u'\u0161' # 0x9a -> LATIN SMALL LETTER S WITH CARON
+ u'\u203a' # 0x9b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\u015b' # 0x9c -> LATIN SMALL LETTER S WITH ACUTE
+ u'\u0165' # 0x9d -> LATIN SMALL LETTER T WITH CARON
+ u'\u017e' # 0x9e -> LATIN SMALL LETTER Z WITH CARON
+ u'\u017a' # 0x9f -> LATIN SMALL LETTER Z WITH ACUTE
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u02c7' # 0xa1 -> CARON
+ u'\u02d8' # 0xa2 -> BREVE
+ u'\u0141' # 0xa3 -> LATIN CAPITAL LETTER L WITH STROKE
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\u0104' # 0xa5 -> LATIN CAPITAL LETTER A WITH OGONEK
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u015e' # 0xaa -> LATIN CAPITAL LETTER S WITH CEDILLA
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\u017b' # 0xaf -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\u02db' # 0xb2 -> OGONEK
+ u'\u0142' # 0xb3 -> LATIN SMALL LETTER L WITH STROKE
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\xb8' # 0xb8 -> CEDILLA
+ u'\u0105' # 0xb9 -> LATIN SMALL LETTER A WITH OGONEK
+ u'\u015f' # 0xba -> LATIN SMALL LETTER S WITH CEDILLA
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u013d' # 0xbc -> LATIN CAPITAL LETTER L WITH CARON
+ u'\u02dd' # 0xbd -> DOUBLE ACUTE ACCENT
+ u'\u013e' # 0xbe -> LATIN SMALL LETTER L WITH CARON
+ u'\u017c' # 0xbf -> LATIN SMALL LETTER Z WITH DOT ABOVE
+ u'\u0154' # 0xc0 -> LATIN CAPITAL LETTER R WITH ACUTE
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\u0102' # 0xc3 -> LATIN CAPITAL LETTER A WITH BREVE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\u0139' # 0xc5 -> LATIN CAPITAL LETTER L WITH ACUTE
+ u'\u0106' # 0xc6 -> LATIN CAPITAL LETTER C WITH ACUTE
+ u'\xc7' # 0xc7 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\u010c' # 0xc8 -> LATIN CAPITAL LETTER C WITH CARON
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\u0118' # 0xca -> LATIN CAPITAL LETTER E WITH OGONEK
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\u011a' # 0xcc -> LATIN CAPITAL LETTER E WITH CARON
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\u010e' # 0xcf -> LATIN CAPITAL LETTER D WITH CARON
+ u'\u0110' # 0xd0 -> LATIN CAPITAL LETTER D WITH STROKE
+ u'\u0143' # 0xd1 -> LATIN CAPITAL LETTER N WITH ACUTE
+ u'\u0147' # 0xd2 -> LATIN CAPITAL LETTER N WITH CARON
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\u0150' # 0xd5 -> LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\u0158' # 0xd8 -> LATIN CAPITAL LETTER R WITH CARON
+ u'\u016e' # 0xd9 -> LATIN CAPITAL LETTER U WITH RING ABOVE
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\u0170' # 0xdb -> LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xdd' # 0xdd -> LATIN CAPITAL LETTER Y WITH ACUTE
+ u'\u0162' # 0xde -> LATIN CAPITAL LETTER T WITH CEDILLA
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S
+ u'\u0155' # 0xe0 -> LATIN SMALL LETTER R WITH ACUTE
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\u0103' # 0xe3 -> LATIN SMALL LETTER A WITH BREVE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\u013a' # 0xe5 -> LATIN SMALL LETTER L WITH ACUTE
+ u'\u0107' # 0xe6 -> LATIN SMALL LETTER C WITH ACUTE
+ u'\xe7' # 0xe7 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\u010d' # 0xe8 -> LATIN SMALL LETTER C WITH CARON
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\u0119' # 0xea -> LATIN SMALL LETTER E WITH OGONEK
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\u011b' # 0xec -> LATIN SMALL LETTER E WITH CARON
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\u010f' # 0xef -> LATIN SMALL LETTER D WITH CARON
+ u'\u0111' # 0xf0 -> LATIN SMALL LETTER D WITH STROKE
+ u'\u0144' # 0xf1 -> LATIN SMALL LETTER N WITH ACUTE
+ u'\u0148' # 0xf2 -> LATIN SMALL LETTER N WITH CARON
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\u0151' # 0xf5 -> LATIN SMALL LETTER O WITH DOUBLE ACUTE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\u0159' # 0xf8 -> LATIN SMALL LETTER R WITH CARON
+ u'\u016f' # 0xf9 -> LATIN SMALL LETTER U WITH RING ABOVE
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\u0171' # 0xfb -> LATIN SMALL LETTER U WITH DOUBLE ACUTE
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\xfd' # 0xfd -> LATIN SMALL LETTER Y WITH ACUTE
+ u'\u0163' # 0xfe -> LATIN SMALL LETTER T WITH CEDILLA
+ u'\u02d9' # 0xff -> DOT ABOVE
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b8: 0x00b8, # CEDILLA
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c7: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00dd: 0x00dd, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e7: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00fd: 0x00fd, # LATIN SMALL LETTER Y WITH ACUTE
- 0x0102: 0x00c3, # LATIN CAPITAL LETTER A WITH BREVE
- 0x0103: 0x00e3, # LATIN SMALL LETTER A WITH BREVE
- 0x0104: 0x00a5, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x0105: 0x00b9, # LATIN SMALL LETTER A WITH OGONEK
- 0x0106: 0x00c6, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x0107: 0x00e6, # LATIN SMALL LETTER C WITH ACUTE
- 0x010c: 0x00c8, # LATIN CAPITAL LETTER C WITH CARON
- 0x010d: 0x00e8, # LATIN SMALL LETTER C WITH CARON
- 0x010e: 0x00cf, # LATIN CAPITAL LETTER D WITH CARON
- 0x010f: 0x00ef, # LATIN SMALL LETTER D WITH CARON
- 0x0110: 0x00d0, # LATIN CAPITAL LETTER D WITH STROKE
- 0x0111: 0x00f0, # LATIN SMALL LETTER D WITH STROKE
- 0x0118: 0x00ca, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x0119: 0x00ea, # LATIN SMALL LETTER E WITH OGONEK
- 0x011a: 0x00cc, # LATIN CAPITAL LETTER E WITH CARON
- 0x011b: 0x00ec, # LATIN SMALL LETTER E WITH CARON
- 0x0139: 0x00c5, # LATIN CAPITAL LETTER L WITH ACUTE
- 0x013a: 0x00e5, # LATIN SMALL LETTER L WITH ACUTE
- 0x013d: 0x00bc, # LATIN CAPITAL LETTER L WITH CARON
- 0x013e: 0x00be, # LATIN SMALL LETTER L WITH CARON
- 0x0141: 0x00a3, # LATIN CAPITAL LETTER L WITH STROKE
- 0x0142: 0x00b3, # LATIN SMALL LETTER L WITH STROKE
- 0x0143: 0x00d1, # LATIN CAPITAL LETTER N WITH ACUTE
- 0x0144: 0x00f1, # LATIN SMALL LETTER N WITH ACUTE
- 0x0147: 0x00d2, # LATIN CAPITAL LETTER N WITH CARON
- 0x0148: 0x00f2, # LATIN SMALL LETTER N WITH CARON
- 0x0150: 0x00d5, # LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
- 0x0151: 0x00f5, # LATIN SMALL LETTER O WITH DOUBLE ACUTE
- 0x0154: 0x00c0, # LATIN CAPITAL LETTER R WITH ACUTE
- 0x0155: 0x00e0, # LATIN SMALL LETTER R WITH ACUTE
- 0x0158: 0x00d8, # LATIN CAPITAL LETTER R WITH CARON
- 0x0159: 0x00f8, # LATIN SMALL LETTER R WITH CARON
- 0x015a: 0x008c, # LATIN CAPITAL LETTER S WITH ACUTE
- 0x015b: 0x009c, # LATIN SMALL LETTER S WITH ACUTE
- 0x015e: 0x00aa, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x015f: 0x00ba, # LATIN SMALL LETTER S WITH CEDILLA
- 0x0160: 0x008a, # LATIN CAPITAL LETTER S WITH CARON
- 0x0161: 0x009a, # LATIN SMALL LETTER S WITH CARON
- 0x0162: 0x00de, # LATIN CAPITAL LETTER T WITH CEDILLA
- 0x0163: 0x00fe, # LATIN SMALL LETTER T WITH CEDILLA
- 0x0164: 0x008d, # LATIN CAPITAL LETTER T WITH CARON
- 0x0165: 0x009d, # LATIN SMALL LETTER T WITH CARON
- 0x016e: 0x00d9, # LATIN CAPITAL LETTER U WITH RING ABOVE
- 0x016f: 0x00f9, # LATIN SMALL LETTER U WITH RING ABOVE
- 0x0170: 0x00db, # LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
- 0x0171: 0x00fb, # LATIN SMALL LETTER U WITH DOUBLE ACUTE
- 0x0179: 0x008f, # LATIN CAPITAL LETTER Z WITH ACUTE
- 0x017a: 0x009f, # LATIN SMALL LETTER Z WITH ACUTE
- 0x017b: 0x00af, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x017c: 0x00bf, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x017d: 0x008e, # LATIN CAPITAL LETTER Z WITH CARON
- 0x017e: 0x009e, # LATIN SMALL LETTER Z WITH CARON
- 0x02c7: 0x00a1, # CARON
- 0x02d8: 0x00a2, # BREVE
- 0x02d9: 0x00ff, # DOT ABOVE
- 0x02db: 0x00b2, # OGONEK
- 0x02dd: 0x00bd, # DOUBLE ACUTE ACCENT
- 0x2013: 0x0096, # EN DASH
- 0x2014: 0x0097, # EM DASH
- 0x2018: 0x0091, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x0092, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x0082, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x0093, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x0094, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x0084, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x0086, # DAGGER
- 0x2021: 0x0087, # DOUBLE DAGGER
- 0x2022: 0x0095, # BULLET
- 0x2026: 0x0085, # HORIZONTAL ELLIPSIS
- 0x2030: 0x0089, # PER MILLE SIGN
- 0x2039: 0x008b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x009b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x20ac: 0x0080, # EURO SIGN
- 0x2122: 0x0099, # TRADE MARK SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b8: 0xb8, # CEDILLA
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c7: 0xc7, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00dd: 0xdd, # LATIN CAPITAL LETTER Y WITH ACUTE
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e7: 0xe7, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00fd: 0xfd, # LATIN SMALL LETTER Y WITH ACUTE
+ 0x0102: 0xc3, # LATIN CAPITAL LETTER A WITH BREVE
+ 0x0103: 0xe3, # LATIN SMALL LETTER A WITH BREVE
+ 0x0104: 0xa5, # LATIN CAPITAL LETTER A WITH OGONEK
+ 0x0105: 0xb9, # LATIN SMALL LETTER A WITH OGONEK
+ 0x0106: 0xc6, # LATIN CAPITAL LETTER C WITH ACUTE
+ 0x0107: 0xe6, # LATIN SMALL LETTER C WITH ACUTE
+ 0x010c: 0xc8, # LATIN CAPITAL LETTER C WITH CARON
+ 0x010d: 0xe8, # LATIN SMALL LETTER C WITH CARON
+ 0x010e: 0xcf, # LATIN CAPITAL LETTER D WITH CARON
+ 0x010f: 0xef, # LATIN SMALL LETTER D WITH CARON
+ 0x0110: 0xd0, # LATIN CAPITAL LETTER D WITH STROKE
+ 0x0111: 0xf0, # LATIN SMALL LETTER D WITH STROKE
+ 0x0118: 0xca, # LATIN CAPITAL LETTER E WITH OGONEK
+ 0x0119: 0xea, # LATIN SMALL LETTER E WITH OGONEK
+ 0x011a: 0xcc, # LATIN CAPITAL LETTER E WITH CARON
+ 0x011b: 0xec, # LATIN SMALL LETTER E WITH CARON
+ 0x0139: 0xc5, # LATIN CAPITAL LETTER L WITH ACUTE
+ 0x013a: 0xe5, # LATIN SMALL LETTER L WITH ACUTE
+ 0x013d: 0xbc, # LATIN CAPITAL LETTER L WITH CARON
+ 0x013e: 0xbe, # LATIN SMALL LETTER L WITH CARON
+ 0x0141: 0xa3, # LATIN CAPITAL LETTER L WITH STROKE
+ 0x0142: 0xb3, # LATIN SMALL LETTER L WITH STROKE
+ 0x0143: 0xd1, # LATIN CAPITAL LETTER N WITH ACUTE
+ 0x0144: 0xf1, # LATIN SMALL LETTER N WITH ACUTE
+ 0x0147: 0xd2, # LATIN CAPITAL LETTER N WITH CARON
+ 0x0148: 0xf2, # LATIN SMALL LETTER N WITH CARON
+ 0x0150: 0xd5, # LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+ 0x0151: 0xf5, # LATIN SMALL LETTER O WITH DOUBLE ACUTE
+ 0x0154: 0xc0, # LATIN CAPITAL LETTER R WITH ACUTE
+ 0x0155: 0xe0, # LATIN SMALL LETTER R WITH ACUTE
+ 0x0158: 0xd8, # LATIN CAPITAL LETTER R WITH CARON
+ 0x0159: 0xf8, # LATIN SMALL LETTER R WITH CARON
+ 0x015a: 0x8c, # LATIN CAPITAL LETTER S WITH ACUTE
+ 0x015b: 0x9c, # LATIN SMALL LETTER S WITH ACUTE
+ 0x015e: 0xaa, # LATIN CAPITAL LETTER S WITH CEDILLA
+ 0x015f: 0xba, # LATIN SMALL LETTER S WITH CEDILLA
+ 0x0160: 0x8a, # LATIN CAPITAL LETTER S WITH CARON
+ 0x0161: 0x9a, # LATIN SMALL LETTER S WITH CARON
+ 0x0162: 0xde, # LATIN CAPITAL LETTER T WITH CEDILLA
+ 0x0163: 0xfe, # LATIN SMALL LETTER T WITH CEDILLA
+ 0x0164: 0x8d, # LATIN CAPITAL LETTER T WITH CARON
+ 0x0165: 0x9d, # LATIN SMALL LETTER T WITH CARON
+ 0x016e: 0xd9, # LATIN CAPITAL LETTER U WITH RING ABOVE
+ 0x016f: 0xf9, # LATIN SMALL LETTER U WITH RING ABOVE
+ 0x0170: 0xdb, # LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+ 0x0171: 0xfb, # LATIN SMALL LETTER U WITH DOUBLE ACUTE
+ 0x0179: 0x8f, # LATIN CAPITAL LETTER Z WITH ACUTE
+ 0x017a: 0x9f, # LATIN SMALL LETTER Z WITH ACUTE
+ 0x017b: 0xaf, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ 0x017c: 0xbf, # LATIN SMALL LETTER Z WITH DOT ABOVE
+ 0x017d: 0x8e, # LATIN CAPITAL LETTER Z WITH CARON
+ 0x017e: 0x9e, # LATIN SMALL LETTER Z WITH CARON
+ 0x02c7: 0xa1, # CARON
+ 0x02d8: 0xa2, # BREVE
+ 0x02d9: 0xff, # DOT ABOVE
+ 0x02db: 0xb2, # OGONEK
+ 0x02dd: 0xbd, # DOUBLE ACUTE ACCENT
+ 0x2013: 0x96, # EN DASH
+ 0x2014: 0x97, # EM DASH
+ 0x2018: 0x91, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0x92, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0x82, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0x93, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0x94, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0x84, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0x86, # DAGGER
+ 0x2021: 0x87, # DOUBLE DAGGER
+ 0x2022: 0x95, # BULLET
+ 0x2026: 0x85, # HORIZONTAL ELLIPSIS
+ 0x2030: 0x89, # PER MILLE SIGN
+ 0x2039: 0x8b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0x9b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x20ac: 0x80, # EURO SIGN
+ 0x2122: 0x99, # TRADE MARK SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/cp1251.py b/Lib/encodings/cp1251.py
index 6c4abda1739..47073032114 100644
--- a/Lib/encodings/cp1251.py
+++ b/Lib/encodings/cp1251.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/WINDOWS/CP1251.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1251.TXT' with gencodec.py.
"""#"
@@ -28,642 +28,524 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x0402, # CYRILLIC CAPITAL LETTER DJE
- 0x0081: 0x0403, # CYRILLIC CAPITAL LETTER GJE
- 0x0082: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x0083: 0x0453, # CYRILLIC SMALL LETTER GJE
- 0x0084: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x0085: 0x2026, # HORIZONTAL ELLIPSIS
- 0x0086: 0x2020, # DAGGER
- 0x0087: 0x2021, # DOUBLE DAGGER
- 0x0088: 0x20ac, # EURO SIGN
- 0x0089: 0x2030, # PER MILLE SIGN
- 0x008a: 0x0409, # CYRILLIC CAPITAL LETTER LJE
- 0x008b: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x008c: 0x040a, # CYRILLIC CAPITAL LETTER NJE
- 0x008d: 0x040c, # CYRILLIC CAPITAL LETTER KJE
- 0x008e: 0x040b, # CYRILLIC CAPITAL LETTER TSHE
- 0x008f: 0x040f, # CYRILLIC CAPITAL LETTER DZHE
- 0x0090: 0x0452, # CYRILLIC SMALL LETTER DJE
- 0x0091: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x0092: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x0093: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x0094: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x0095: 0x2022, # BULLET
- 0x0096: 0x2013, # EN DASH
- 0x0097: 0x2014, # EM DASH
- 0x0098: None, # UNDEFINED
- 0x0099: 0x2122, # TRADE MARK SIGN
- 0x009a: 0x0459, # CYRILLIC SMALL LETTER LJE
- 0x009b: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x009c: 0x045a, # CYRILLIC SMALL LETTER NJE
- 0x009d: 0x045c, # CYRILLIC SMALL LETTER KJE
- 0x009e: 0x045b, # CYRILLIC SMALL LETTER TSHE
- 0x009f: 0x045f, # CYRILLIC SMALL LETTER DZHE
- 0x00a1: 0x040e, # CYRILLIC CAPITAL LETTER SHORT U
- 0x00a2: 0x045e, # CYRILLIC SMALL LETTER SHORT U
- 0x00a3: 0x0408, # CYRILLIC CAPITAL LETTER JE
- 0x00a5: 0x0490, # CYRILLIC CAPITAL LETTER GHE WITH UPTURN
- 0x00a8: 0x0401, # CYRILLIC CAPITAL LETTER IO
- 0x00aa: 0x0404, # CYRILLIC CAPITAL LETTER UKRAINIAN IE
- 0x00af: 0x0407, # CYRILLIC CAPITAL LETTER YI
- 0x00b2: 0x0406, # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x00b3: 0x0456, # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x00b4: 0x0491, # CYRILLIC SMALL LETTER GHE WITH UPTURN
- 0x00b8: 0x0451, # CYRILLIC SMALL LETTER IO
- 0x00b9: 0x2116, # NUMERO SIGN
- 0x00ba: 0x0454, # CYRILLIC SMALL LETTER UKRAINIAN IE
- 0x00bc: 0x0458, # CYRILLIC SMALL LETTER JE
- 0x00bd: 0x0405, # CYRILLIC CAPITAL LETTER DZE
- 0x00be: 0x0455, # CYRILLIC SMALL LETTER DZE
- 0x00bf: 0x0457, # CYRILLIC SMALL LETTER YI
- 0x00c0: 0x0410, # CYRILLIC CAPITAL LETTER A
- 0x00c1: 0x0411, # CYRILLIC CAPITAL LETTER BE
- 0x00c2: 0x0412, # CYRILLIC CAPITAL LETTER VE
- 0x00c3: 0x0413, # CYRILLIC CAPITAL LETTER GHE
- 0x00c4: 0x0414, # CYRILLIC CAPITAL LETTER DE
- 0x00c5: 0x0415, # CYRILLIC CAPITAL LETTER IE
- 0x00c6: 0x0416, # CYRILLIC CAPITAL LETTER ZHE
- 0x00c7: 0x0417, # CYRILLIC CAPITAL LETTER ZE
- 0x00c8: 0x0418, # CYRILLIC CAPITAL LETTER I
- 0x00c9: 0x0419, # CYRILLIC CAPITAL LETTER SHORT I
- 0x00ca: 0x041a, # CYRILLIC CAPITAL LETTER KA
- 0x00cb: 0x041b, # CYRILLIC CAPITAL LETTER EL
- 0x00cc: 0x041c, # CYRILLIC CAPITAL LETTER EM
- 0x00cd: 0x041d, # CYRILLIC CAPITAL LETTER EN
- 0x00ce: 0x041e, # CYRILLIC CAPITAL LETTER O
- 0x00cf: 0x041f, # CYRILLIC CAPITAL LETTER PE
- 0x00d0: 0x0420, # CYRILLIC CAPITAL LETTER ER
- 0x00d1: 0x0421, # CYRILLIC CAPITAL LETTER ES
- 0x00d2: 0x0422, # CYRILLIC CAPITAL LETTER TE
- 0x00d3: 0x0423, # CYRILLIC CAPITAL LETTER U
- 0x00d4: 0x0424, # CYRILLIC CAPITAL LETTER EF
- 0x00d5: 0x0425, # CYRILLIC CAPITAL LETTER HA
- 0x00d6: 0x0426, # CYRILLIC CAPITAL LETTER TSE
- 0x00d7: 0x0427, # CYRILLIC CAPITAL LETTER CHE
- 0x00d8: 0x0428, # CYRILLIC CAPITAL LETTER SHA
- 0x00d9: 0x0429, # CYRILLIC CAPITAL LETTER SHCHA
- 0x00da: 0x042a, # CYRILLIC CAPITAL LETTER HARD SIGN
- 0x00db: 0x042b, # CYRILLIC CAPITAL LETTER YERU
- 0x00dc: 0x042c, # CYRILLIC CAPITAL LETTER SOFT SIGN
- 0x00dd: 0x042d, # CYRILLIC CAPITAL LETTER E
- 0x00de: 0x042e, # CYRILLIC CAPITAL LETTER YU
- 0x00df: 0x042f, # CYRILLIC CAPITAL LETTER YA
- 0x00e0: 0x0430, # CYRILLIC SMALL LETTER A
- 0x00e1: 0x0431, # CYRILLIC SMALL LETTER BE
- 0x00e2: 0x0432, # CYRILLIC SMALL LETTER VE
- 0x00e3: 0x0433, # CYRILLIC SMALL LETTER GHE
- 0x00e4: 0x0434, # CYRILLIC SMALL LETTER DE
- 0x00e5: 0x0435, # CYRILLIC SMALL LETTER IE
- 0x00e6: 0x0436, # CYRILLIC SMALL LETTER ZHE
- 0x00e7: 0x0437, # CYRILLIC SMALL LETTER ZE
- 0x00e8: 0x0438, # CYRILLIC SMALL LETTER I
- 0x00e9: 0x0439, # CYRILLIC SMALL LETTER SHORT I
- 0x00ea: 0x043a, # CYRILLIC SMALL LETTER KA
- 0x00eb: 0x043b, # CYRILLIC SMALL LETTER EL
- 0x00ec: 0x043c, # CYRILLIC SMALL LETTER EM
- 0x00ed: 0x043d, # CYRILLIC SMALL LETTER EN
- 0x00ee: 0x043e, # CYRILLIC SMALL LETTER O
- 0x00ef: 0x043f, # CYRILLIC SMALL LETTER PE
- 0x00f0: 0x0440, # CYRILLIC SMALL LETTER ER
- 0x00f1: 0x0441, # CYRILLIC SMALL LETTER ES
- 0x00f2: 0x0442, # CYRILLIC SMALL LETTER TE
- 0x00f3: 0x0443, # CYRILLIC SMALL LETTER U
- 0x00f4: 0x0444, # CYRILLIC SMALL LETTER EF
- 0x00f5: 0x0445, # CYRILLIC SMALL LETTER HA
- 0x00f6: 0x0446, # CYRILLIC SMALL LETTER TSE
- 0x00f7: 0x0447, # CYRILLIC SMALL LETTER CHE
- 0x00f8: 0x0448, # CYRILLIC SMALL LETTER SHA
- 0x00f9: 0x0449, # CYRILLIC SMALL LETTER SHCHA
- 0x00fa: 0x044a, # CYRILLIC SMALL LETTER HARD SIGN
- 0x00fb: 0x044b, # CYRILLIC SMALL LETTER YERU
- 0x00fc: 0x044c, # CYRILLIC SMALL LETTER SOFT SIGN
- 0x00fd: 0x044d, # CYRILLIC SMALL LETTER E
- 0x00fe: 0x044e, # CYRILLIC SMALL LETTER YU
- 0x00ff: 0x044f, # CYRILLIC SMALL LETTER YA
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\u0402' # 0x0080 -> CYRILLIC CAPITAL LETTER DJE
- u'\u0403' # 0x0081 -> CYRILLIC CAPITAL LETTER GJE
- u'\u201a' # 0x0082 -> SINGLE LOW-9 QUOTATION MARK
- u'\u0453' # 0x0083 -> CYRILLIC SMALL LETTER GJE
- u'\u201e' # 0x0084 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2026' # 0x0085 -> HORIZONTAL ELLIPSIS
- u'\u2020' # 0x0086 -> DAGGER
- u'\u2021' # 0x0087 -> DOUBLE DAGGER
- u'\u20ac' # 0x0088 -> EURO SIGN
- u'\u2030' # 0x0089 -> PER MILLE SIGN
- u'\u0409' # 0x008a -> CYRILLIC CAPITAL LETTER LJE
- u'\u2039' # 0x008b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\u040a' # 0x008c -> CYRILLIC CAPITAL LETTER NJE
- u'\u040c' # 0x008d -> CYRILLIC CAPITAL LETTER KJE
- u'\u040b' # 0x008e -> CYRILLIC CAPITAL LETTER TSHE
- u'\u040f' # 0x008f -> CYRILLIC CAPITAL LETTER DZHE
- u'\u0452' # 0x0090 -> CYRILLIC SMALL LETTER DJE
- u'\u2018' # 0x0091 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x0092 -> RIGHT SINGLE QUOTATION MARK
- u'\u201c' # 0x0093 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x0094 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2022' # 0x0095 -> BULLET
- u'\u2013' # 0x0096 -> EN DASH
- u'\u2014' # 0x0097 -> EM DASH
- u'\ufffe' # 0x0098 -> UNDEFINED
- u'\u2122' # 0x0099 -> TRADE MARK SIGN
- u'\u0459' # 0x009a -> CYRILLIC SMALL LETTER LJE
- u'\u203a' # 0x009b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\u045a' # 0x009c -> CYRILLIC SMALL LETTER NJE
- u'\u045c' # 0x009d -> CYRILLIC SMALL LETTER KJE
- u'\u045b' # 0x009e -> CYRILLIC SMALL LETTER TSHE
- u'\u045f' # 0x009f -> CYRILLIC SMALL LETTER DZHE
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u040e' # 0x00a1 -> CYRILLIC CAPITAL LETTER SHORT U
- u'\u045e' # 0x00a2 -> CYRILLIC SMALL LETTER SHORT U
- u'\u0408' # 0x00a3 -> CYRILLIC CAPITAL LETTER JE
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\u0490' # 0x00a5 -> CYRILLIC CAPITAL LETTER GHE WITH UPTURN
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\u0401' # 0x00a8 -> CYRILLIC CAPITAL LETTER IO
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u0404' # 0x00aa -> CYRILLIC CAPITAL LETTER UKRAINIAN IE
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\u0407' # 0x00af -> CYRILLIC CAPITAL LETTER YI
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\u0406' # 0x00b2 -> CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
- u'\u0456' # 0x00b3 -> CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
- u'\u0491' # 0x00b4 -> CYRILLIC SMALL LETTER GHE WITH UPTURN
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\u0451' # 0x00b8 -> CYRILLIC SMALL LETTER IO
- u'\u2116' # 0x00b9 -> NUMERO SIGN
- u'\u0454' # 0x00ba -> CYRILLIC SMALL LETTER UKRAINIAN IE
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u0458' # 0x00bc -> CYRILLIC SMALL LETTER JE
- u'\u0405' # 0x00bd -> CYRILLIC CAPITAL LETTER DZE
- u'\u0455' # 0x00be -> CYRILLIC SMALL LETTER DZE
- u'\u0457' # 0x00bf -> CYRILLIC SMALL LETTER YI
- u'\u0410' # 0x00c0 -> CYRILLIC CAPITAL LETTER A
- u'\u0411' # 0x00c1 -> CYRILLIC CAPITAL LETTER BE
- u'\u0412' # 0x00c2 -> CYRILLIC CAPITAL LETTER VE
- u'\u0413' # 0x00c3 -> CYRILLIC CAPITAL LETTER GHE
- u'\u0414' # 0x00c4 -> CYRILLIC CAPITAL LETTER DE
- u'\u0415' # 0x00c5 -> CYRILLIC CAPITAL LETTER IE
- u'\u0416' # 0x00c6 -> CYRILLIC CAPITAL LETTER ZHE
- u'\u0417' # 0x00c7 -> CYRILLIC CAPITAL LETTER ZE
- u'\u0418' # 0x00c8 -> CYRILLIC CAPITAL LETTER I
- u'\u0419' # 0x00c9 -> CYRILLIC CAPITAL LETTER SHORT I
- u'\u041a' # 0x00ca -> CYRILLIC CAPITAL LETTER KA
- u'\u041b' # 0x00cb -> CYRILLIC CAPITAL LETTER EL
- u'\u041c' # 0x00cc -> CYRILLIC CAPITAL LETTER EM
- u'\u041d' # 0x00cd -> CYRILLIC CAPITAL LETTER EN
- u'\u041e' # 0x00ce -> CYRILLIC CAPITAL LETTER O
- u'\u041f' # 0x00cf -> CYRILLIC CAPITAL LETTER PE
- u'\u0420' # 0x00d0 -> CYRILLIC CAPITAL LETTER ER
- u'\u0421' # 0x00d1 -> CYRILLIC CAPITAL LETTER ES
- u'\u0422' # 0x00d2 -> CYRILLIC CAPITAL LETTER TE
- u'\u0423' # 0x00d3 -> CYRILLIC CAPITAL LETTER U
- u'\u0424' # 0x00d4 -> CYRILLIC CAPITAL LETTER EF
- u'\u0425' # 0x00d5 -> CYRILLIC CAPITAL LETTER HA
- u'\u0426' # 0x00d6 -> CYRILLIC CAPITAL LETTER TSE
- u'\u0427' # 0x00d7 -> CYRILLIC CAPITAL LETTER CHE
- u'\u0428' # 0x00d8 -> CYRILLIC CAPITAL LETTER SHA
- u'\u0429' # 0x00d9 -> CYRILLIC CAPITAL LETTER SHCHA
- u'\u042a' # 0x00da -> CYRILLIC CAPITAL LETTER HARD SIGN
- u'\u042b' # 0x00db -> CYRILLIC CAPITAL LETTER YERU
- u'\u042c' # 0x00dc -> CYRILLIC CAPITAL LETTER SOFT SIGN
- u'\u042d' # 0x00dd -> CYRILLIC CAPITAL LETTER E
- u'\u042e' # 0x00de -> CYRILLIC CAPITAL LETTER YU
- u'\u042f' # 0x00df -> CYRILLIC CAPITAL LETTER YA
- u'\u0430' # 0x00e0 -> CYRILLIC SMALL LETTER A
- u'\u0431' # 0x00e1 -> CYRILLIC SMALL LETTER BE
- u'\u0432' # 0x00e2 -> CYRILLIC SMALL LETTER VE
- u'\u0433' # 0x00e3 -> CYRILLIC SMALL LETTER GHE
- u'\u0434' # 0x00e4 -> CYRILLIC SMALL LETTER DE
- u'\u0435' # 0x00e5 -> CYRILLIC SMALL LETTER IE
- u'\u0436' # 0x00e6 -> CYRILLIC SMALL LETTER ZHE
- u'\u0437' # 0x00e7 -> CYRILLIC SMALL LETTER ZE
- u'\u0438' # 0x00e8 -> CYRILLIC SMALL LETTER I
- u'\u0439' # 0x00e9 -> CYRILLIC SMALL LETTER SHORT I
- u'\u043a' # 0x00ea -> CYRILLIC SMALL LETTER KA
- u'\u043b' # 0x00eb -> CYRILLIC SMALL LETTER EL
- u'\u043c' # 0x00ec -> CYRILLIC SMALL LETTER EM
- u'\u043d' # 0x00ed -> CYRILLIC SMALL LETTER EN
- u'\u043e' # 0x00ee -> CYRILLIC SMALL LETTER O
- u'\u043f' # 0x00ef -> CYRILLIC SMALL LETTER PE
- u'\u0440' # 0x00f0 -> CYRILLIC SMALL LETTER ER
- u'\u0441' # 0x00f1 -> CYRILLIC SMALL LETTER ES
- u'\u0442' # 0x00f2 -> CYRILLIC SMALL LETTER TE
- u'\u0443' # 0x00f3 -> CYRILLIC SMALL LETTER U
- u'\u0444' # 0x00f4 -> CYRILLIC SMALL LETTER EF
- u'\u0445' # 0x00f5 -> CYRILLIC SMALL LETTER HA
- u'\u0446' # 0x00f6 -> CYRILLIC SMALL LETTER TSE
- u'\u0447' # 0x00f7 -> CYRILLIC SMALL LETTER CHE
- u'\u0448' # 0x00f8 -> CYRILLIC SMALL LETTER SHA
- u'\u0449' # 0x00f9 -> CYRILLIC SMALL LETTER SHCHA
- u'\u044a' # 0x00fa -> CYRILLIC SMALL LETTER HARD SIGN
- u'\u044b' # 0x00fb -> CYRILLIC SMALL LETTER YERU
- u'\u044c' # 0x00fc -> CYRILLIC SMALL LETTER SOFT SIGN
- u'\u044d' # 0x00fd -> CYRILLIC SMALL LETTER E
- u'\u044e' # 0x00fe -> CYRILLIC SMALL LETTER YU
- u'\u044f' # 0x00ff -> CYRILLIC SMALL LETTER YA
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u0402' # 0x80 -> CYRILLIC CAPITAL LETTER DJE
+ u'\u0403' # 0x81 -> CYRILLIC CAPITAL LETTER GJE
+ u'\u201a' # 0x82 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u0453' # 0x83 -> CYRILLIC SMALL LETTER GJE
+ u'\u201e' # 0x84 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2026' # 0x85 -> HORIZONTAL ELLIPSIS
+ u'\u2020' # 0x86 -> DAGGER
+ u'\u2021' # 0x87 -> DOUBLE DAGGER
+ u'\u20ac' # 0x88 -> EURO SIGN
+ u'\u2030' # 0x89 -> PER MILLE SIGN
+ u'\u0409' # 0x8a -> CYRILLIC CAPITAL LETTER LJE
+ u'\u2039' # 0x8b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\u040a' # 0x8c -> CYRILLIC CAPITAL LETTER NJE
+ u'\u040c' # 0x8d -> CYRILLIC CAPITAL LETTER KJE
+ u'\u040b' # 0x8e -> CYRILLIC CAPITAL LETTER TSHE
+ u'\u040f' # 0x8f -> CYRILLIC CAPITAL LETTER DZHE
+ u'\u0452' # 0x90 -> CYRILLIC SMALL LETTER DJE
+ u'\u2018' # 0x91 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0x92 -> RIGHT SINGLE QUOTATION MARK
+ u'\u201c' # 0x93 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0x94 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2022' # 0x95 -> BULLET
+ u'\u2013' # 0x96 -> EN DASH
+ u'\u2014' # 0x97 -> EM DASH
+ u'\ufffe' # 0x98 -> UNDEFINED
+ u'\u2122' # 0x99 -> TRADE MARK SIGN
+ u'\u0459' # 0x9a -> CYRILLIC SMALL LETTER LJE
+ u'\u203a' # 0x9b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\u045a' # 0x9c -> CYRILLIC SMALL LETTER NJE
+ u'\u045c' # 0x9d -> CYRILLIC SMALL LETTER KJE
+ u'\u045b' # 0x9e -> CYRILLIC SMALL LETTER TSHE
+ u'\u045f' # 0x9f -> CYRILLIC SMALL LETTER DZHE
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u040e' # 0xa1 -> CYRILLIC CAPITAL LETTER SHORT U
+ u'\u045e' # 0xa2 -> CYRILLIC SMALL LETTER SHORT U
+ u'\u0408' # 0xa3 -> CYRILLIC CAPITAL LETTER JE
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\u0490' # 0xa5 -> CYRILLIC CAPITAL LETTER GHE WITH UPTURN
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\u0401' # 0xa8 -> CYRILLIC CAPITAL LETTER IO
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u0404' # 0xaa -> CYRILLIC CAPITAL LETTER UKRAINIAN IE
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\u0407' # 0xaf -> CYRILLIC CAPITAL LETTER YI
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\u0406' # 0xb2 -> CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
+ u'\u0456' # 0xb3 -> CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
+ u'\u0491' # 0xb4 -> CYRILLIC SMALL LETTER GHE WITH UPTURN
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\u0451' # 0xb8 -> CYRILLIC SMALL LETTER IO
+ u'\u2116' # 0xb9 -> NUMERO SIGN
+ u'\u0454' # 0xba -> CYRILLIC SMALL LETTER UKRAINIAN IE
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u0458' # 0xbc -> CYRILLIC SMALL LETTER JE
+ u'\u0405' # 0xbd -> CYRILLIC CAPITAL LETTER DZE
+ u'\u0455' # 0xbe -> CYRILLIC SMALL LETTER DZE
+ u'\u0457' # 0xbf -> CYRILLIC SMALL LETTER YI
+ u'\u0410' # 0xc0 -> CYRILLIC CAPITAL LETTER A
+ u'\u0411' # 0xc1 -> CYRILLIC CAPITAL LETTER BE
+ u'\u0412' # 0xc2 -> CYRILLIC CAPITAL LETTER VE
+ u'\u0413' # 0xc3 -> CYRILLIC CAPITAL LETTER GHE
+ u'\u0414' # 0xc4 -> CYRILLIC CAPITAL LETTER DE
+ u'\u0415' # 0xc5 -> CYRILLIC CAPITAL LETTER IE
+ u'\u0416' # 0xc6 -> CYRILLIC CAPITAL LETTER ZHE
+ u'\u0417' # 0xc7 -> CYRILLIC CAPITAL LETTER ZE
+ u'\u0418' # 0xc8 -> CYRILLIC CAPITAL LETTER I
+ u'\u0419' # 0xc9 -> CYRILLIC CAPITAL LETTER SHORT I
+ u'\u041a' # 0xca -> CYRILLIC CAPITAL LETTER KA
+ u'\u041b' # 0xcb -> CYRILLIC CAPITAL LETTER EL
+ u'\u041c' # 0xcc -> CYRILLIC CAPITAL LETTER EM
+ u'\u041d' # 0xcd -> CYRILLIC CAPITAL LETTER EN
+ u'\u041e' # 0xce -> CYRILLIC CAPITAL LETTER O
+ u'\u041f' # 0xcf -> CYRILLIC CAPITAL LETTER PE
+ u'\u0420' # 0xd0 -> CYRILLIC CAPITAL LETTER ER
+ u'\u0421' # 0xd1 -> CYRILLIC CAPITAL LETTER ES
+ u'\u0422' # 0xd2 -> CYRILLIC CAPITAL LETTER TE
+ u'\u0423' # 0xd3 -> CYRILLIC CAPITAL LETTER U
+ u'\u0424' # 0xd4 -> CYRILLIC CAPITAL LETTER EF
+ u'\u0425' # 0xd5 -> CYRILLIC CAPITAL LETTER HA
+ u'\u0426' # 0xd6 -> CYRILLIC CAPITAL LETTER TSE
+ u'\u0427' # 0xd7 -> CYRILLIC CAPITAL LETTER CHE
+ u'\u0428' # 0xd8 -> CYRILLIC CAPITAL LETTER SHA
+ u'\u0429' # 0xd9 -> CYRILLIC CAPITAL LETTER SHCHA
+ u'\u042a' # 0xda -> CYRILLIC CAPITAL LETTER HARD SIGN
+ u'\u042b' # 0xdb -> CYRILLIC CAPITAL LETTER YERU
+ u'\u042c' # 0xdc -> CYRILLIC CAPITAL LETTER SOFT SIGN
+ u'\u042d' # 0xdd -> CYRILLIC CAPITAL LETTER E
+ u'\u042e' # 0xde -> CYRILLIC CAPITAL LETTER YU
+ u'\u042f' # 0xdf -> CYRILLIC CAPITAL LETTER YA
+ u'\u0430' # 0xe0 -> CYRILLIC SMALL LETTER A
+ u'\u0431' # 0xe1 -> CYRILLIC SMALL LETTER BE
+ u'\u0432' # 0xe2 -> CYRILLIC SMALL LETTER VE
+ u'\u0433' # 0xe3 -> CYRILLIC SMALL LETTER GHE
+ u'\u0434' # 0xe4 -> CYRILLIC SMALL LETTER DE
+ u'\u0435' # 0xe5 -> CYRILLIC SMALL LETTER IE
+ u'\u0436' # 0xe6 -> CYRILLIC SMALL LETTER ZHE
+ u'\u0437' # 0xe7 -> CYRILLIC SMALL LETTER ZE
+ u'\u0438' # 0xe8 -> CYRILLIC SMALL LETTER I
+ u'\u0439' # 0xe9 -> CYRILLIC SMALL LETTER SHORT I
+ u'\u043a' # 0xea -> CYRILLIC SMALL LETTER KA
+ u'\u043b' # 0xeb -> CYRILLIC SMALL LETTER EL
+ u'\u043c' # 0xec -> CYRILLIC SMALL LETTER EM
+ u'\u043d' # 0xed -> CYRILLIC SMALL LETTER EN
+ u'\u043e' # 0xee -> CYRILLIC SMALL LETTER O
+ u'\u043f' # 0xef -> CYRILLIC SMALL LETTER PE
+ u'\u0440' # 0xf0 -> CYRILLIC SMALL LETTER ER
+ u'\u0441' # 0xf1 -> CYRILLIC SMALL LETTER ES
+ u'\u0442' # 0xf2 -> CYRILLIC SMALL LETTER TE
+ u'\u0443' # 0xf3 -> CYRILLIC SMALL LETTER U
+ u'\u0444' # 0xf4 -> CYRILLIC SMALL LETTER EF
+ u'\u0445' # 0xf5 -> CYRILLIC SMALL LETTER HA
+ u'\u0446' # 0xf6 -> CYRILLIC SMALL LETTER TSE
+ u'\u0447' # 0xf7 -> CYRILLIC SMALL LETTER CHE
+ u'\u0448' # 0xf8 -> CYRILLIC SMALL LETTER SHA
+ u'\u0449' # 0xf9 -> CYRILLIC SMALL LETTER SHCHA
+ u'\u044a' # 0xfa -> CYRILLIC SMALL LETTER HARD SIGN
+ u'\u044b' # 0xfb -> CYRILLIC SMALL LETTER YERU
+ u'\u044c' # 0xfc -> CYRILLIC SMALL LETTER SOFT SIGN
+ u'\u044d' # 0xfd -> CYRILLIC SMALL LETTER E
+ u'\u044e' # 0xfe -> CYRILLIC SMALL LETTER YU
+ u'\u044f' # 0xff -> CYRILLIC SMALL LETTER YA
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x0401: 0x00a8, # CYRILLIC CAPITAL LETTER IO
- 0x0402: 0x0080, # CYRILLIC CAPITAL LETTER DJE
- 0x0403: 0x0081, # CYRILLIC CAPITAL LETTER GJE
- 0x0404: 0x00aa, # CYRILLIC CAPITAL LETTER UKRAINIAN IE
- 0x0405: 0x00bd, # CYRILLIC CAPITAL LETTER DZE
- 0x0406: 0x00b2, # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x0407: 0x00af, # CYRILLIC CAPITAL LETTER YI
- 0x0408: 0x00a3, # CYRILLIC CAPITAL LETTER JE
- 0x0409: 0x008a, # CYRILLIC CAPITAL LETTER LJE
- 0x040a: 0x008c, # CYRILLIC CAPITAL LETTER NJE
- 0x040b: 0x008e, # CYRILLIC CAPITAL LETTER TSHE
- 0x040c: 0x008d, # CYRILLIC CAPITAL LETTER KJE
- 0x040e: 0x00a1, # CYRILLIC CAPITAL LETTER SHORT U
- 0x040f: 0x008f, # CYRILLIC CAPITAL LETTER DZHE
- 0x0410: 0x00c0, # CYRILLIC CAPITAL LETTER A
- 0x0411: 0x00c1, # CYRILLIC CAPITAL LETTER BE
- 0x0412: 0x00c2, # CYRILLIC CAPITAL LETTER VE
- 0x0413: 0x00c3, # CYRILLIC CAPITAL LETTER GHE
- 0x0414: 0x00c4, # CYRILLIC CAPITAL LETTER DE
- 0x0415: 0x00c5, # CYRILLIC CAPITAL LETTER IE
- 0x0416: 0x00c6, # CYRILLIC CAPITAL LETTER ZHE
- 0x0417: 0x00c7, # CYRILLIC CAPITAL LETTER ZE
- 0x0418: 0x00c8, # CYRILLIC CAPITAL LETTER I
- 0x0419: 0x00c9, # CYRILLIC CAPITAL LETTER SHORT I
- 0x041a: 0x00ca, # CYRILLIC CAPITAL LETTER KA
- 0x041b: 0x00cb, # CYRILLIC CAPITAL LETTER EL
- 0x041c: 0x00cc, # CYRILLIC CAPITAL LETTER EM
- 0x041d: 0x00cd, # CYRILLIC CAPITAL LETTER EN
- 0x041e: 0x00ce, # CYRILLIC CAPITAL LETTER O
- 0x041f: 0x00cf, # CYRILLIC CAPITAL LETTER PE
- 0x0420: 0x00d0, # CYRILLIC CAPITAL LETTER ER
- 0x0421: 0x00d1, # CYRILLIC CAPITAL LETTER ES
- 0x0422: 0x00d2, # CYRILLIC CAPITAL LETTER TE
- 0x0423: 0x00d3, # CYRILLIC CAPITAL LETTER U
- 0x0424: 0x00d4, # CYRILLIC CAPITAL LETTER EF
- 0x0425: 0x00d5, # CYRILLIC CAPITAL LETTER HA
- 0x0426: 0x00d6, # CYRILLIC CAPITAL LETTER TSE
- 0x0427: 0x00d7, # CYRILLIC CAPITAL LETTER CHE
- 0x0428: 0x00d8, # CYRILLIC CAPITAL LETTER SHA
- 0x0429: 0x00d9, # CYRILLIC CAPITAL LETTER SHCHA
- 0x042a: 0x00da, # CYRILLIC CAPITAL LETTER HARD SIGN
- 0x042b: 0x00db, # CYRILLIC CAPITAL LETTER YERU
- 0x042c: 0x00dc, # CYRILLIC CAPITAL LETTER SOFT SIGN
- 0x042d: 0x00dd, # CYRILLIC CAPITAL LETTER E
- 0x042e: 0x00de, # CYRILLIC CAPITAL LETTER YU
- 0x042f: 0x00df, # CYRILLIC CAPITAL LETTER YA
- 0x0430: 0x00e0, # CYRILLIC SMALL LETTER A
- 0x0431: 0x00e1, # CYRILLIC SMALL LETTER BE
- 0x0432: 0x00e2, # CYRILLIC SMALL LETTER VE
- 0x0433: 0x00e3, # CYRILLIC SMALL LETTER GHE
- 0x0434: 0x00e4, # CYRILLIC SMALL LETTER DE
- 0x0435: 0x00e5, # CYRILLIC SMALL LETTER IE
- 0x0436: 0x00e6, # CYRILLIC SMALL LETTER ZHE
- 0x0437: 0x00e7, # CYRILLIC SMALL LETTER ZE
- 0x0438: 0x00e8, # CYRILLIC SMALL LETTER I
- 0x0439: 0x00e9, # CYRILLIC SMALL LETTER SHORT I
- 0x043a: 0x00ea, # CYRILLIC SMALL LETTER KA
- 0x043b: 0x00eb, # CYRILLIC SMALL LETTER EL
- 0x043c: 0x00ec, # CYRILLIC SMALL LETTER EM
- 0x043d: 0x00ed, # CYRILLIC SMALL LETTER EN
- 0x043e: 0x00ee, # CYRILLIC SMALL LETTER O
- 0x043f: 0x00ef, # CYRILLIC SMALL LETTER PE
- 0x0440: 0x00f0, # CYRILLIC SMALL LETTER ER
- 0x0441: 0x00f1, # CYRILLIC SMALL LETTER ES
- 0x0442: 0x00f2, # CYRILLIC SMALL LETTER TE
- 0x0443: 0x00f3, # CYRILLIC SMALL LETTER U
- 0x0444: 0x00f4, # CYRILLIC SMALL LETTER EF
- 0x0445: 0x00f5, # CYRILLIC SMALL LETTER HA
- 0x0446: 0x00f6, # CYRILLIC SMALL LETTER TSE
- 0x0447: 0x00f7, # CYRILLIC SMALL LETTER CHE
- 0x0448: 0x00f8, # CYRILLIC SMALL LETTER SHA
- 0x0449: 0x00f9, # CYRILLIC SMALL LETTER SHCHA
- 0x044a: 0x00fa, # CYRILLIC SMALL LETTER HARD SIGN
- 0x044b: 0x00fb, # CYRILLIC SMALL LETTER YERU
- 0x044c: 0x00fc, # CYRILLIC SMALL LETTER SOFT SIGN
- 0x044d: 0x00fd, # CYRILLIC SMALL LETTER E
- 0x044e: 0x00fe, # CYRILLIC SMALL LETTER YU
- 0x044f: 0x00ff, # CYRILLIC SMALL LETTER YA
- 0x0451: 0x00b8, # CYRILLIC SMALL LETTER IO
- 0x0452: 0x0090, # CYRILLIC SMALL LETTER DJE
- 0x0453: 0x0083, # CYRILLIC SMALL LETTER GJE
- 0x0454: 0x00ba, # CYRILLIC SMALL LETTER UKRAINIAN IE
- 0x0455: 0x00be, # CYRILLIC SMALL LETTER DZE
- 0x0456: 0x00b3, # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x0457: 0x00bf, # CYRILLIC SMALL LETTER YI
- 0x0458: 0x00bc, # CYRILLIC SMALL LETTER JE
- 0x0459: 0x009a, # CYRILLIC SMALL LETTER LJE
- 0x045a: 0x009c, # CYRILLIC SMALL LETTER NJE
- 0x045b: 0x009e, # CYRILLIC SMALL LETTER TSHE
- 0x045c: 0x009d, # CYRILLIC SMALL LETTER KJE
- 0x045e: 0x00a2, # CYRILLIC SMALL LETTER SHORT U
- 0x045f: 0x009f, # CYRILLIC SMALL LETTER DZHE
- 0x0490: 0x00a5, # CYRILLIC CAPITAL LETTER GHE WITH UPTURN
- 0x0491: 0x00b4, # CYRILLIC SMALL LETTER GHE WITH UPTURN
- 0x2013: 0x0096, # EN DASH
- 0x2014: 0x0097, # EM DASH
- 0x2018: 0x0091, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x0092, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x0082, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x0093, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x0094, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x0084, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x0086, # DAGGER
- 0x2021: 0x0087, # DOUBLE DAGGER
- 0x2022: 0x0095, # BULLET
- 0x2026: 0x0085, # HORIZONTAL ELLIPSIS
- 0x2030: 0x0089, # PER MILLE SIGN
- 0x2039: 0x008b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x009b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x20ac: 0x0088, # EURO SIGN
- 0x2116: 0x00b9, # NUMERO SIGN
- 0x2122: 0x0099, # TRADE MARK SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x0401: 0xa8, # CYRILLIC CAPITAL LETTER IO
+ 0x0402: 0x80, # CYRILLIC CAPITAL LETTER DJE
+ 0x0403: 0x81, # CYRILLIC CAPITAL LETTER GJE
+ 0x0404: 0xaa, # CYRILLIC CAPITAL LETTER UKRAINIAN IE
+ 0x0405: 0xbd, # CYRILLIC CAPITAL LETTER DZE
+ 0x0406: 0xb2, # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
+ 0x0407: 0xaf, # CYRILLIC CAPITAL LETTER YI
+ 0x0408: 0xa3, # CYRILLIC CAPITAL LETTER JE
+ 0x0409: 0x8a, # CYRILLIC CAPITAL LETTER LJE
+ 0x040a: 0x8c, # CYRILLIC CAPITAL LETTER NJE
+ 0x040b: 0x8e, # CYRILLIC CAPITAL LETTER TSHE
+ 0x040c: 0x8d, # CYRILLIC CAPITAL LETTER KJE
+ 0x040e: 0xa1, # CYRILLIC CAPITAL LETTER SHORT U
+ 0x040f: 0x8f, # CYRILLIC CAPITAL LETTER DZHE
+ 0x0410: 0xc0, # CYRILLIC CAPITAL LETTER A
+ 0x0411: 0xc1, # CYRILLIC CAPITAL LETTER BE
+ 0x0412: 0xc2, # CYRILLIC CAPITAL LETTER VE
+ 0x0413: 0xc3, # CYRILLIC CAPITAL LETTER GHE
+ 0x0414: 0xc4, # CYRILLIC CAPITAL LETTER DE
+ 0x0415: 0xc5, # CYRILLIC CAPITAL LETTER IE
+ 0x0416: 0xc6, # CYRILLIC CAPITAL LETTER ZHE
+ 0x0417: 0xc7, # CYRILLIC CAPITAL LETTER ZE
+ 0x0418: 0xc8, # CYRILLIC CAPITAL LETTER I
+ 0x0419: 0xc9, # CYRILLIC CAPITAL LETTER SHORT I
+ 0x041a: 0xca, # CYRILLIC CAPITAL LETTER KA
+ 0x041b: 0xcb, # CYRILLIC CAPITAL LETTER EL
+ 0x041c: 0xcc, # CYRILLIC CAPITAL LETTER EM
+ 0x041d: 0xcd, # CYRILLIC CAPITAL LETTER EN
+ 0x041e: 0xce, # CYRILLIC CAPITAL LETTER O
+ 0x041f: 0xcf, # CYRILLIC CAPITAL LETTER PE
+ 0x0420: 0xd0, # CYRILLIC CAPITAL LETTER ER
+ 0x0421: 0xd1, # CYRILLIC CAPITAL LETTER ES
+ 0x0422: 0xd2, # CYRILLIC CAPITAL LETTER TE
+ 0x0423: 0xd3, # CYRILLIC CAPITAL LETTER U
+ 0x0424: 0xd4, # CYRILLIC CAPITAL LETTER EF
+ 0x0425: 0xd5, # CYRILLIC CAPITAL LETTER HA
+ 0x0426: 0xd6, # CYRILLIC CAPITAL LETTER TSE
+ 0x0427: 0xd7, # CYRILLIC CAPITAL LETTER CHE
+ 0x0428: 0xd8, # CYRILLIC CAPITAL LETTER SHA
+ 0x0429: 0xd9, # CYRILLIC CAPITAL LETTER SHCHA
+ 0x042a: 0xda, # CYRILLIC CAPITAL LETTER HARD SIGN
+ 0x042b: 0xdb, # CYRILLIC CAPITAL LETTER YERU
+ 0x042c: 0xdc, # CYRILLIC CAPITAL LETTER SOFT SIGN
+ 0x042d: 0xdd, # CYRILLIC CAPITAL LETTER E
+ 0x042e: 0xde, # CYRILLIC CAPITAL LETTER YU
+ 0x042f: 0xdf, # CYRILLIC CAPITAL LETTER YA
+ 0x0430: 0xe0, # CYRILLIC SMALL LETTER A
+ 0x0431: 0xe1, # CYRILLIC SMALL LETTER BE
+ 0x0432: 0xe2, # CYRILLIC SMALL LETTER VE
+ 0x0433: 0xe3, # CYRILLIC SMALL LETTER GHE
+ 0x0434: 0xe4, # CYRILLIC SMALL LETTER DE
+ 0x0435: 0xe5, # CYRILLIC SMALL LETTER IE
+ 0x0436: 0xe6, # CYRILLIC SMALL LETTER ZHE
+ 0x0437: 0xe7, # CYRILLIC SMALL LETTER ZE
+ 0x0438: 0xe8, # CYRILLIC SMALL LETTER I
+ 0x0439: 0xe9, # CYRILLIC SMALL LETTER SHORT I
+ 0x043a: 0xea, # CYRILLIC SMALL LETTER KA
+ 0x043b: 0xeb, # CYRILLIC SMALL LETTER EL
+ 0x043c: 0xec, # CYRILLIC SMALL LETTER EM
+ 0x043d: 0xed, # CYRILLIC SMALL LETTER EN
+ 0x043e: 0xee, # CYRILLIC SMALL LETTER O
+ 0x043f: 0xef, # CYRILLIC SMALL LETTER PE
+ 0x0440: 0xf0, # CYRILLIC SMALL LETTER ER
+ 0x0441: 0xf1, # CYRILLIC SMALL LETTER ES
+ 0x0442: 0xf2, # CYRILLIC SMALL LETTER TE
+ 0x0443: 0xf3, # CYRILLIC SMALL LETTER U
+ 0x0444: 0xf4, # CYRILLIC SMALL LETTER EF
+ 0x0445: 0xf5, # CYRILLIC SMALL LETTER HA
+ 0x0446: 0xf6, # CYRILLIC SMALL LETTER TSE
+ 0x0447: 0xf7, # CYRILLIC SMALL LETTER CHE
+ 0x0448: 0xf8, # CYRILLIC SMALL LETTER SHA
+ 0x0449: 0xf9, # CYRILLIC SMALL LETTER SHCHA
+ 0x044a: 0xfa, # CYRILLIC SMALL LETTER HARD SIGN
+ 0x044b: 0xfb, # CYRILLIC SMALL LETTER YERU
+ 0x044c: 0xfc, # CYRILLIC SMALL LETTER SOFT SIGN
+ 0x044d: 0xfd, # CYRILLIC SMALL LETTER E
+ 0x044e: 0xfe, # CYRILLIC SMALL LETTER YU
+ 0x044f: 0xff, # CYRILLIC SMALL LETTER YA
+ 0x0451: 0xb8, # CYRILLIC SMALL LETTER IO
+ 0x0452: 0x90, # CYRILLIC SMALL LETTER DJE
+ 0x0453: 0x83, # CYRILLIC SMALL LETTER GJE
+ 0x0454: 0xba, # CYRILLIC SMALL LETTER UKRAINIAN IE
+ 0x0455: 0xbe, # CYRILLIC SMALL LETTER DZE
+ 0x0456: 0xb3, # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
+ 0x0457: 0xbf, # CYRILLIC SMALL LETTER YI
+ 0x0458: 0xbc, # CYRILLIC SMALL LETTER JE
+ 0x0459: 0x9a, # CYRILLIC SMALL LETTER LJE
+ 0x045a: 0x9c, # CYRILLIC SMALL LETTER NJE
+ 0x045b: 0x9e, # CYRILLIC SMALL LETTER TSHE
+ 0x045c: 0x9d, # CYRILLIC SMALL LETTER KJE
+ 0x045e: 0xa2, # CYRILLIC SMALL LETTER SHORT U
+ 0x045f: 0x9f, # CYRILLIC SMALL LETTER DZHE
+ 0x0490: 0xa5, # CYRILLIC CAPITAL LETTER GHE WITH UPTURN
+ 0x0491: 0xb4, # CYRILLIC SMALL LETTER GHE WITH UPTURN
+ 0x2013: 0x96, # EN DASH
+ 0x2014: 0x97, # EM DASH
+ 0x2018: 0x91, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0x92, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0x82, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0x93, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0x94, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0x84, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0x86, # DAGGER
+ 0x2021: 0x87, # DOUBLE DAGGER
+ 0x2022: 0x95, # BULLET
+ 0x2026: 0x85, # HORIZONTAL ELLIPSIS
+ 0x2030: 0x89, # PER MILLE SIGN
+ 0x2039: 0x8b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0x9b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x20ac: 0x88, # EURO SIGN
+ 0x2116: 0xb9, # NUMERO SIGN
+ 0x2122: 0x99, # TRADE MARK SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/cp1252.py b/Lib/encodings/cp1252.py
index 92537ab0477..0f6160df7b6 100644
--- a/Lib/encodings/cp1252.py
+++ b/Lib/encodings/cp1252.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/WINDOWS/CP1252.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1252.TXT' with gencodec.py.
"""#"
@@ -28,557 +28,520 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x20ac, # EURO SIGN
- 0x0081: None, # UNDEFINED
- 0x0082: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x0083: 0x0192, # LATIN SMALL LETTER F WITH HOOK
- 0x0084: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x0085: 0x2026, # HORIZONTAL ELLIPSIS
- 0x0086: 0x2020, # DAGGER
- 0x0087: 0x2021, # DOUBLE DAGGER
- 0x0088: 0x02c6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x0089: 0x2030, # PER MILLE SIGN
- 0x008a: 0x0160, # LATIN CAPITAL LETTER S WITH CARON
- 0x008b: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x008c: 0x0152, # LATIN CAPITAL LIGATURE OE
- 0x008d: None, # UNDEFINED
- 0x008e: 0x017d, # LATIN CAPITAL LETTER Z WITH CARON
- 0x008f: None, # UNDEFINED
- 0x0090: None, # UNDEFINED
- 0x0091: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x0092: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x0093: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x0094: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x0095: 0x2022, # BULLET
- 0x0096: 0x2013, # EN DASH
- 0x0097: 0x2014, # EM DASH
- 0x0098: 0x02dc, # SMALL TILDE
- 0x0099: 0x2122, # TRADE MARK SIGN
- 0x009a: 0x0161, # LATIN SMALL LETTER S WITH CARON
- 0x009b: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x009c: 0x0153, # LATIN SMALL LIGATURE OE
- 0x009d: None, # UNDEFINED
- 0x009e: 0x017e, # LATIN SMALL LETTER Z WITH CARON
- 0x009f: 0x0178, # LATIN CAPITAL LETTER Y WITH DIAERESIS
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\u20ac' # 0x0080 -> EURO SIGN
- u'\ufffe' # 0x0081 -> UNDEFINED
- u'\u201a' # 0x0082 -> SINGLE LOW-9 QUOTATION MARK
- u'\u0192' # 0x0083 -> LATIN SMALL LETTER F WITH HOOK
- u'\u201e' # 0x0084 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2026' # 0x0085 -> HORIZONTAL ELLIPSIS
- u'\u2020' # 0x0086 -> DAGGER
- u'\u2021' # 0x0087 -> DOUBLE DAGGER
- u'\u02c6' # 0x0088 -> MODIFIER LETTER CIRCUMFLEX ACCENT
- u'\u2030' # 0x0089 -> PER MILLE SIGN
- u'\u0160' # 0x008a -> LATIN CAPITAL LETTER S WITH CARON
- u'\u2039' # 0x008b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\u0152' # 0x008c -> LATIN CAPITAL LIGATURE OE
- u'\ufffe' # 0x008d -> UNDEFINED
- u'\u017d' # 0x008e -> LATIN CAPITAL LETTER Z WITH CARON
- u'\ufffe' # 0x008f -> UNDEFINED
- u'\ufffe' # 0x0090 -> UNDEFINED
- u'\u2018' # 0x0091 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x0092 -> RIGHT SINGLE QUOTATION MARK
- u'\u201c' # 0x0093 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x0094 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2022' # 0x0095 -> BULLET
- u'\u2013' # 0x0096 -> EN DASH
- u'\u2014' # 0x0097 -> EM DASH
- u'\u02dc' # 0x0098 -> SMALL TILDE
- u'\u2122' # 0x0099 -> TRADE MARK SIGN
- u'\u0161' # 0x009a -> LATIN SMALL LETTER S WITH CARON
- u'\u203a' # 0x009b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\u0153' # 0x009c -> LATIN SMALL LIGATURE OE
- u'\ufffe' # 0x009d -> UNDEFINED
- u'\u017e' # 0x009e -> LATIN SMALL LETTER Z WITH CARON
- u'\u0178' # 0x009f -> LATIN CAPITAL LETTER Y WITH DIAERESIS
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\xa1' # 0x00a1 -> INVERTED EXCLAMATION MARK
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\xa5' # 0x00a5 -> YEN SIGN
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\xaa' # 0x00aa -> FEMININE ORDINAL INDICATOR
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\xaf' # 0x00af -> MACRON
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\xb8' # 0x00b8 -> CEDILLA
- u'\xb9' # 0x00b9 -> SUPERSCRIPT ONE
- u'\xba' # 0x00ba -> MASCULINE ORDINAL INDICATOR
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbc' # 0x00bc -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00be -> VULGAR FRACTION THREE QUARTERS
- u'\xbf' # 0x00bf -> INVERTED QUESTION MARK
- u'\xc0' # 0x00c0 -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xc3' # 0x00c3 -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x00c5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc6' # 0x00c6 -> LATIN CAPITAL LETTER AE
- u'\xc7' # 0x00c7 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc8' # 0x00c8 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xca' # 0x00ca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xcc' # 0x00cc -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00cf -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\xd0' # 0x00d0 -> LATIN CAPITAL LETTER ETH
- u'\xd1' # 0x00d1 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd2' # 0x00d2 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\xd5' # 0x00d5 -> LATIN CAPITAL LETTER O WITH TILDE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\xd8' # 0x00d8 -> LATIN CAPITAL LETTER O WITH STROKE
- u'\xd9' # 0x00d9 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00db -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xdd' # 0x00dd -> LATIN CAPITAL LETTER Y WITH ACUTE
- u'\xde' # 0x00de -> LATIN CAPITAL LETTER THORN
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S
- u'\xe0' # 0x00e0 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe3' # 0x00e3 -> LATIN SMALL LETTER A WITH TILDE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe5' # 0x00e5 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe6' # 0x00e6 -> LATIN SMALL LETTER AE
- u'\xe7' # 0x00e7 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe8' # 0x00e8 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x00ea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xec' # 0x00ec -> LATIN SMALL LETTER I WITH GRAVE
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x00ef -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xf0' # 0x00f0 -> LATIN SMALL LETTER ETH
- u'\xf1' # 0x00f1 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf2' # 0x00f2 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf5' # 0x00f5 -> LATIN SMALL LETTER O WITH TILDE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\xf8' # 0x00f8 -> LATIN SMALL LETTER O WITH STROKE
- u'\xf9' # 0x00f9 -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\xfb' # 0x00fb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\xfd' # 0x00fd -> LATIN SMALL LETTER Y WITH ACUTE
- u'\xfe' # 0x00fe -> LATIN SMALL LETTER THORN
- u'\xff' # 0x00ff -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u20ac' # 0x80 -> EURO SIGN
+ u'\ufffe' # 0x81 -> UNDEFINED
+ u'\u201a' # 0x82 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u0192' # 0x83 -> LATIN SMALL LETTER F WITH HOOK
+ u'\u201e' # 0x84 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2026' # 0x85 -> HORIZONTAL ELLIPSIS
+ u'\u2020' # 0x86 -> DAGGER
+ u'\u2021' # 0x87 -> DOUBLE DAGGER
+ u'\u02c6' # 0x88 -> MODIFIER LETTER CIRCUMFLEX ACCENT
+ u'\u2030' # 0x89 -> PER MILLE SIGN
+ u'\u0160' # 0x8a -> LATIN CAPITAL LETTER S WITH CARON
+ u'\u2039' # 0x8b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\u0152' # 0x8c -> LATIN CAPITAL LIGATURE OE
+ u'\ufffe' # 0x8d -> UNDEFINED
+ u'\u017d' # 0x8e -> LATIN CAPITAL LETTER Z WITH CARON
+ u'\ufffe' # 0x8f -> UNDEFINED
+ u'\ufffe' # 0x90 -> UNDEFINED
+ u'\u2018' # 0x91 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0x92 -> RIGHT SINGLE QUOTATION MARK
+ u'\u201c' # 0x93 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0x94 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2022' # 0x95 -> BULLET
+ u'\u2013' # 0x96 -> EN DASH
+ u'\u2014' # 0x97 -> EM DASH
+ u'\u02dc' # 0x98 -> SMALL TILDE
+ u'\u2122' # 0x99 -> TRADE MARK SIGN
+ u'\u0161' # 0x9a -> LATIN SMALL LETTER S WITH CARON
+ u'\u203a' # 0x9b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\u0153' # 0x9c -> LATIN SMALL LIGATURE OE
+ u'\ufffe' # 0x9d -> UNDEFINED
+ u'\u017e' # 0x9e -> LATIN SMALL LETTER Z WITH CARON
+ u'\u0178' # 0x9f -> LATIN CAPITAL LETTER Y WITH DIAERESIS
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\xa1' # 0xa1 -> INVERTED EXCLAMATION MARK
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\xa5' # 0xa5 -> YEN SIGN
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\xaa' # 0xaa -> FEMININE ORDINAL INDICATOR
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\xaf' # 0xaf -> MACRON
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\xb8' # 0xb8 -> CEDILLA
+ u'\xb9' # 0xb9 -> SUPERSCRIPT ONE
+ u'\xba' # 0xba -> MASCULINE ORDINAL INDICATOR
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbc' # 0xbc -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xbe -> VULGAR FRACTION THREE QUARTERS
+ u'\xbf' # 0xbf -> INVERTED QUESTION MARK
+ u'\xc0' # 0xc0 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xc3' # 0xc3 -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0xc5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc6' # 0xc6 -> LATIN CAPITAL LETTER AE
+ u'\xc7' # 0xc7 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc8' # 0xc8 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0xca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xcc' # 0xcc -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xcf -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xd0' # 0xd0 -> LATIN CAPITAL LETTER ETH
+ u'\xd1' # 0xd1 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd2' # 0xd2 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\xd5' # 0xd5 -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\xd8' # 0xd8 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\xd9' # 0xd9 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xdb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xdd' # 0xdd -> LATIN CAPITAL LETTER Y WITH ACUTE
+ u'\xde' # 0xde -> LATIN CAPITAL LETTER THORN
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S
+ u'\xe0' # 0xe0 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe3' # 0xe3 -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe5' # 0xe5 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe6' # 0xe6 -> LATIN SMALL LETTER AE
+ u'\xe7' # 0xe7 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe8' # 0xe8 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0xea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xec' # 0xec -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0xef -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xf0' # 0xf0 -> LATIN SMALL LETTER ETH
+ u'\xf1' # 0xf1 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf2' # 0xf2 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf5' # 0xf5 -> LATIN SMALL LETTER O WITH TILDE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\xf8' # 0xf8 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xf9' # 0xf9 -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xfb' # 0xfb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\xfd' # 0xfd -> LATIN SMALL LETTER Y WITH ACUTE
+ u'\xfe' # 0xfe -> LATIN SMALL LETTER THORN
+ u'\xff' # 0xff -> LATIN SMALL LETTER Y WITH DIAERESIS
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a1: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a5: 0x00a5, # YEN SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00aa: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00af: 0x00af, # MACRON
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b8: 0x00b8, # CEDILLA
- 0x00b9: 0x00b9, # SUPERSCRIPT ONE
- 0x00ba: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00bf: 0x00bf, # INVERTED QUESTION MARK
- 0x00c0: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00c7: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d0: 0x00d0, # LATIN CAPITAL LETTER ETH
- 0x00d1: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00d8: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00dd: 0x00dd, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00de: 0x00de, # LATIN CAPITAL LETTER THORN
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00e6, # LATIN SMALL LETTER AE
- 0x00e7: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f0: 0x00f0, # LATIN SMALL LETTER ETH
- 0x00f1: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00f8: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00fd: 0x00fd, # LATIN SMALL LETTER Y WITH ACUTE
- 0x00fe: 0x00fe, # LATIN SMALL LETTER THORN
- 0x00ff: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x0152: 0x008c, # LATIN CAPITAL LIGATURE OE
- 0x0153: 0x009c, # LATIN SMALL LIGATURE OE
- 0x0160: 0x008a, # LATIN CAPITAL LETTER S WITH CARON
- 0x0161: 0x009a, # LATIN SMALL LETTER S WITH CARON
- 0x0178: 0x009f, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x017d: 0x008e, # LATIN CAPITAL LETTER Z WITH CARON
- 0x017e: 0x009e, # LATIN SMALL LETTER Z WITH CARON
- 0x0192: 0x0083, # LATIN SMALL LETTER F WITH HOOK
- 0x02c6: 0x0088, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x02dc: 0x0098, # SMALL TILDE
- 0x2013: 0x0096, # EN DASH
- 0x2014: 0x0097, # EM DASH
- 0x2018: 0x0091, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x0092, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x0082, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x0093, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x0094, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x0084, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x0086, # DAGGER
- 0x2021: 0x0087, # DOUBLE DAGGER
- 0x2022: 0x0095, # BULLET
- 0x2026: 0x0085, # HORIZONTAL ELLIPSIS
- 0x2030: 0x0089, # PER MILLE SIGN
- 0x2039: 0x008b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x009b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x20ac: 0x0080, # EURO SIGN
- 0x2122: 0x0099, # TRADE MARK SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a1: 0xa1, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a5: 0xa5, # YEN SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00aa: 0xaa, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00af: 0xaf, # MACRON
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b8: 0xb8, # CEDILLA
+ 0x00b9: 0xb9, # SUPERSCRIPT ONE
+ 0x00ba: 0xba, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xbc, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xbe, # VULGAR FRACTION THREE QUARTERS
+ 0x00bf: 0xbf, # INVERTED QUESTION MARK
+ 0x00c0: 0xc0, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xc3, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0xc5, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xc6, # LATIN CAPITAL LETTER AE
+ 0x00c7: 0xc7, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xc8, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xcc, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xcf, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d0: 0xd0, # LATIN CAPITAL LETTER ETH
+ 0x00d1: 0xd1, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xd2, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xd5, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00d8: 0xd8, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xd9, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xdb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00dd: 0xdd, # LATIN CAPITAL LETTER Y WITH ACUTE
+ 0x00de: 0xde, # LATIN CAPITAL LETTER THORN
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0xe0, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0xe3, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0xe5, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xe6, # LATIN SMALL LETTER AE
+ 0x00e7: 0xe7, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0xe8, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0xea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0xec, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0xef, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f0: 0xf0, # LATIN SMALL LETTER ETH
+ 0x00f1: 0xf1, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0xf2, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0xf5, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00f8: 0xf8, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0xf9, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xfb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00fd: 0xfd, # LATIN SMALL LETTER Y WITH ACUTE
+ 0x00fe: 0xfe, # LATIN SMALL LETTER THORN
+ 0x00ff: 0xff, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x0152: 0x8c, # LATIN CAPITAL LIGATURE OE
+ 0x0153: 0x9c, # LATIN SMALL LIGATURE OE
+ 0x0160: 0x8a, # LATIN CAPITAL LETTER S WITH CARON
+ 0x0161: 0x9a, # LATIN SMALL LETTER S WITH CARON
+ 0x0178: 0x9f, # LATIN CAPITAL LETTER Y WITH DIAERESIS
+ 0x017d: 0x8e, # LATIN CAPITAL LETTER Z WITH CARON
+ 0x017e: 0x9e, # LATIN SMALL LETTER Z WITH CARON
+ 0x0192: 0x83, # LATIN SMALL LETTER F WITH HOOK
+ 0x02c6: 0x88, # MODIFIER LETTER CIRCUMFLEX ACCENT
+ 0x02dc: 0x98, # SMALL TILDE
+ 0x2013: 0x96, # EN DASH
+ 0x2014: 0x97, # EM DASH
+ 0x2018: 0x91, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0x92, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0x82, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0x93, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0x94, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0x84, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0x86, # DAGGER
+ 0x2021: 0x87, # DOUBLE DAGGER
+ 0x2022: 0x95, # BULLET
+ 0x2026: 0x85, # HORIZONTAL ELLIPSIS
+ 0x2030: 0x89, # PER MILLE SIGN
+ 0x2039: 0x8b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0x9b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x20ac: 0x80, # EURO SIGN
+ 0x2122: 0x99, # TRADE MARK SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/cp1253.py b/Lib/encodings/cp1253.py
index 68e61d396a1..01dc3047fa6 100644
--- a/Lib/encodings/cp1253.py
+++ b/Lib/encodings/cp1253.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/WINDOWS/CP1253.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1253.TXT' with gencodec.py.
"""#"
@@ -28,620 +28,508 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x20ac, # EURO SIGN
- 0x0081: None, # UNDEFINED
- 0x0082: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x0083: 0x0192, # LATIN SMALL LETTER F WITH HOOK
- 0x0084: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x0085: 0x2026, # HORIZONTAL ELLIPSIS
- 0x0086: 0x2020, # DAGGER
- 0x0087: 0x2021, # DOUBLE DAGGER
- 0x0088: None, # UNDEFINED
- 0x0089: 0x2030, # PER MILLE SIGN
- 0x008a: None, # UNDEFINED
- 0x008b: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x008c: None, # UNDEFINED
- 0x008d: None, # UNDEFINED
- 0x008e: None, # UNDEFINED
- 0x008f: None, # UNDEFINED
- 0x0090: None, # UNDEFINED
- 0x0091: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x0092: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x0093: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x0094: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x0095: 0x2022, # BULLET
- 0x0096: 0x2013, # EN DASH
- 0x0097: 0x2014, # EM DASH
- 0x0098: None, # UNDEFINED
- 0x0099: 0x2122, # TRADE MARK SIGN
- 0x009a: None, # UNDEFINED
- 0x009b: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x009c: None, # UNDEFINED
- 0x009d: None, # UNDEFINED
- 0x009e: None, # UNDEFINED
- 0x009f: None, # UNDEFINED
- 0x00a1: 0x0385, # GREEK DIALYTIKA TONOS
- 0x00a2: 0x0386, # GREEK CAPITAL LETTER ALPHA WITH TONOS
- 0x00aa: None, # UNDEFINED
- 0x00af: 0x2015, # HORIZONTAL BAR
- 0x00b4: 0x0384, # GREEK TONOS
- 0x00b8: 0x0388, # GREEK CAPITAL LETTER EPSILON WITH TONOS
- 0x00b9: 0x0389, # GREEK CAPITAL LETTER ETA WITH TONOS
- 0x00ba: 0x038a, # GREEK CAPITAL LETTER IOTA WITH TONOS
- 0x00bc: 0x038c, # GREEK CAPITAL LETTER OMICRON WITH TONOS
- 0x00be: 0x038e, # GREEK CAPITAL LETTER UPSILON WITH TONOS
- 0x00bf: 0x038f, # GREEK CAPITAL LETTER OMEGA WITH TONOS
- 0x00c0: 0x0390, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
- 0x00c1: 0x0391, # GREEK CAPITAL LETTER ALPHA
- 0x00c2: 0x0392, # GREEK CAPITAL LETTER BETA
- 0x00c3: 0x0393, # GREEK CAPITAL LETTER GAMMA
- 0x00c4: 0x0394, # GREEK CAPITAL LETTER DELTA
- 0x00c5: 0x0395, # GREEK CAPITAL LETTER EPSILON
- 0x00c6: 0x0396, # GREEK CAPITAL LETTER ZETA
- 0x00c7: 0x0397, # GREEK CAPITAL LETTER ETA
- 0x00c8: 0x0398, # GREEK CAPITAL LETTER THETA
- 0x00c9: 0x0399, # GREEK CAPITAL LETTER IOTA
- 0x00ca: 0x039a, # GREEK CAPITAL LETTER KAPPA
- 0x00cb: 0x039b, # GREEK CAPITAL LETTER LAMDA
- 0x00cc: 0x039c, # GREEK CAPITAL LETTER MU
- 0x00cd: 0x039d, # GREEK CAPITAL LETTER NU
- 0x00ce: 0x039e, # GREEK CAPITAL LETTER XI
- 0x00cf: 0x039f, # GREEK CAPITAL LETTER OMICRON
- 0x00d0: 0x03a0, # GREEK CAPITAL LETTER PI
- 0x00d1: 0x03a1, # GREEK CAPITAL LETTER RHO
- 0x00d2: None, # UNDEFINED
- 0x00d3: 0x03a3, # GREEK CAPITAL LETTER SIGMA
- 0x00d4: 0x03a4, # GREEK CAPITAL LETTER TAU
- 0x00d5: 0x03a5, # GREEK CAPITAL LETTER UPSILON
- 0x00d6: 0x03a6, # GREEK CAPITAL LETTER PHI
- 0x00d7: 0x03a7, # GREEK CAPITAL LETTER CHI
- 0x00d8: 0x03a8, # GREEK CAPITAL LETTER PSI
- 0x00d9: 0x03a9, # GREEK CAPITAL LETTER OMEGA
- 0x00da: 0x03aa, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- 0x00db: 0x03ab, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
- 0x00dc: 0x03ac, # GREEK SMALL LETTER ALPHA WITH TONOS
- 0x00dd: 0x03ad, # GREEK SMALL LETTER EPSILON WITH TONOS
- 0x00de: 0x03ae, # GREEK SMALL LETTER ETA WITH TONOS
- 0x00df: 0x03af, # GREEK SMALL LETTER IOTA WITH TONOS
- 0x00e0: 0x03b0, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
- 0x00e1: 0x03b1, # GREEK SMALL LETTER ALPHA
- 0x00e2: 0x03b2, # GREEK SMALL LETTER BETA
- 0x00e3: 0x03b3, # GREEK SMALL LETTER GAMMA
- 0x00e4: 0x03b4, # GREEK SMALL LETTER DELTA
- 0x00e5: 0x03b5, # GREEK SMALL LETTER EPSILON
- 0x00e6: 0x03b6, # GREEK SMALL LETTER ZETA
- 0x00e7: 0x03b7, # GREEK SMALL LETTER ETA
- 0x00e8: 0x03b8, # GREEK SMALL LETTER THETA
- 0x00e9: 0x03b9, # GREEK SMALL LETTER IOTA
- 0x00ea: 0x03ba, # GREEK SMALL LETTER KAPPA
- 0x00eb: 0x03bb, # GREEK SMALL LETTER LAMDA
- 0x00ec: 0x03bc, # GREEK SMALL LETTER MU
- 0x00ed: 0x03bd, # GREEK SMALL LETTER NU
- 0x00ee: 0x03be, # GREEK SMALL LETTER XI
- 0x00ef: 0x03bf, # GREEK SMALL LETTER OMICRON
- 0x00f0: 0x03c0, # GREEK SMALL LETTER PI
- 0x00f1: 0x03c1, # GREEK SMALL LETTER RHO
- 0x00f2: 0x03c2, # GREEK SMALL LETTER FINAL SIGMA
- 0x00f3: 0x03c3, # GREEK SMALL LETTER SIGMA
- 0x00f4: 0x03c4, # GREEK SMALL LETTER TAU
- 0x00f5: 0x03c5, # GREEK SMALL LETTER UPSILON
- 0x00f6: 0x03c6, # GREEK SMALL LETTER PHI
- 0x00f7: 0x03c7, # GREEK SMALL LETTER CHI
- 0x00f8: 0x03c8, # GREEK SMALL LETTER PSI
- 0x00f9: 0x03c9, # GREEK SMALL LETTER OMEGA
- 0x00fa: 0x03ca, # GREEK SMALL LETTER IOTA WITH DIALYTIKA
- 0x00fb: 0x03cb, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- 0x00fc: 0x03cc, # GREEK SMALL LETTER OMICRON WITH TONOS
- 0x00fd: 0x03cd, # GREEK SMALL LETTER UPSILON WITH TONOS
- 0x00fe: 0x03ce, # GREEK SMALL LETTER OMEGA WITH TONOS
- 0x00ff: None, # UNDEFINED
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\u20ac' # 0x0080 -> EURO SIGN
- u'\ufffe' # 0x0081 -> UNDEFINED
- u'\u201a' # 0x0082 -> SINGLE LOW-9 QUOTATION MARK
- u'\u0192' # 0x0083 -> LATIN SMALL LETTER F WITH HOOK
- u'\u201e' # 0x0084 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2026' # 0x0085 -> HORIZONTAL ELLIPSIS
- u'\u2020' # 0x0086 -> DAGGER
- u'\u2021' # 0x0087 -> DOUBLE DAGGER
- u'\ufffe' # 0x0088 -> UNDEFINED
- u'\u2030' # 0x0089 -> PER MILLE SIGN
- u'\ufffe' # 0x008a -> UNDEFINED
- u'\u2039' # 0x008b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\ufffe' # 0x008c -> UNDEFINED
- u'\ufffe' # 0x008d -> UNDEFINED
- u'\ufffe' # 0x008e -> UNDEFINED
- u'\ufffe' # 0x008f -> UNDEFINED
- u'\ufffe' # 0x0090 -> UNDEFINED
- u'\u2018' # 0x0091 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x0092 -> RIGHT SINGLE QUOTATION MARK
- u'\u201c' # 0x0093 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x0094 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2022' # 0x0095 -> BULLET
- u'\u2013' # 0x0096 -> EN DASH
- u'\u2014' # 0x0097 -> EM DASH
- u'\ufffe' # 0x0098 -> UNDEFINED
- u'\u2122' # 0x0099 -> TRADE MARK SIGN
- u'\ufffe' # 0x009a -> UNDEFINED
- u'\u203a' # 0x009b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\ufffe' # 0x009c -> UNDEFINED
- u'\ufffe' # 0x009d -> UNDEFINED
- u'\ufffe' # 0x009e -> UNDEFINED
- u'\ufffe' # 0x009f -> UNDEFINED
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u0385' # 0x00a1 -> GREEK DIALYTIKA TONOS
- u'\u0386' # 0x00a2 -> GREEK CAPITAL LETTER ALPHA WITH TONOS
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\xa5' # 0x00a5 -> YEN SIGN
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\ufffe' # 0x00aa -> UNDEFINED
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\u2015' # 0x00af -> HORIZONTAL BAR
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\u0384' # 0x00b4 -> GREEK TONOS
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\u0388' # 0x00b8 -> GREEK CAPITAL LETTER EPSILON WITH TONOS
- u'\u0389' # 0x00b9 -> GREEK CAPITAL LETTER ETA WITH TONOS
- u'\u038a' # 0x00ba -> GREEK CAPITAL LETTER IOTA WITH TONOS
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u038c' # 0x00bc -> GREEK CAPITAL LETTER OMICRON WITH TONOS
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
- u'\u038e' # 0x00be -> GREEK CAPITAL LETTER UPSILON WITH TONOS
- u'\u038f' # 0x00bf -> GREEK CAPITAL LETTER OMEGA WITH TONOS
- u'\u0390' # 0x00c0 -> GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
- u'\u0391' # 0x00c1 -> GREEK CAPITAL LETTER ALPHA
- u'\u0392' # 0x00c2 -> GREEK CAPITAL LETTER BETA
- u'\u0393' # 0x00c3 -> GREEK CAPITAL LETTER GAMMA
- u'\u0394' # 0x00c4 -> GREEK CAPITAL LETTER DELTA
- u'\u0395' # 0x00c5 -> GREEK CAPITAL LETTER EPSILON
- u'\u0396' # 0x00c6 -> GREEK CAPITAL LETTER ZETA
- u'\u0397' # 0x00c7 -> GREEK CAPITAL LETTER ETA
- u'\u0398' # 0x00c8 -> GREEK CAPITAL LETTER THETA
- u'\u0399' # 0x00c9 -> GREEK CAPITAL LETTER IOTA
- u'\u039a' # 0x00ca -> GREEK CAPITAL LETTER KAPPA
- u'\u039b' # 0x00cb -> GREEK CAPITAL LETTER LAMDA
- u'\u039c' # 0x00cc -> GREEK CAPITAL LETTER MU
- u'\u039d' # 0x00cd -> GREEK CAPITAL LETTER NU
- u'\u039e' # 0x00ce -> GREEK CAPITAL LETTER XI
- u'\u039f' # 0x00cf -> GREEK CAPITAL LETTER OMICRON
- u'\u03a0' # 0x00d0 -> GREEK CAPITAL LETTER PI
- u'\u03a1' # 0x00d1 -> GREEK CAPITAL LETTER RHO
- u'\ufffe' # 0x00d2 -> UNDEFINED
- u'\u03a3' # 0x00d3 -> GREEK CAPITAL LETTER SIGMA
- u'\u03a4' # 0x00d4 -> GREEK CAPITAL LETTER TAU
- u'\u03a5' # 0x00d5 -> GREEK CAPITAL LETTER UPSILON
- u'\u03a6' # 0x00d6 -> GREEK CAPITAL LETTER PHI
- u'\u03a7' # 0x00d7 -> GREEK CAPITAL LETTER CHI
- u'\u03a8' # 0x00d8 -> GREEK CAPITAL LETTER PSI
- u'\u03a9' # 0x00d9 -> GREEK CAPITAL LETTER OMEGA
- u'\u03aa' # 0x00da -> GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- u'\u03ab' # 0x00db -> GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
- u'\u03ac' # 0x00dc -> GREEK SMALL LETTER ALPHA WITH TONOS
- u'\u03ad' # 0x00dd -> GREEK SMALL LETTER EPSILON WITH TONOS
- u'\u03ae' # 0x00de -> GREEK SMALL LETTER ETA WITH TONOS
- u'\u03af' # 0x00df -> GREEK SMALL LETTER IOTA WITH TONOS
- u'\u03b0' # 0x00e0 -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
- u'\u03b1' # 0x00e1 -> GREEK SMALL LETTER ALPHA
- u'\u03b2' # 0x00e2 -> GREEK SMALL LETTER BETA
- u'\u03b3' # 0x00e3 -> GREEK SMALL LETTER GAMMA
- u'\u03b4' # 0x00e4 -> GREEK SMALL LETTER DELTA
- u'\u03b5' # 0x00e5 -> GREEK SMALL LETTER EPSILON
- u'\u03b6' # 0x00e6 -> GREEK SMALL LETTER ZETA
- u'\u03b7' # 0x00e7 -> GREEK SMALL LETTER ETA
- u'\u03b8' # 0x00e8 -> GREEK SMALL LETTER THETA
- u'\u03b9' # 0x00e9 -> GREEK SMALL LETTER IOTA
- u'\u03ba' # 0x00ea -> GREEK SMALL LETTER KAPPA
- u'\u03bb' # 0x00eb -> GREEK SMALL LETTER LAMDA
- u'\u03bc' # 0x00ec -> GREEK SMALL LETTER MU
- u'\u03bd' # 0x00ed -> GREEK SMALL LETTER NU
- u'\u03be' # 0x00ee -> GREEK SMALL LETTER XI
- u'\u03bf' # 0x00ef -> GREEK SMALL LETTER OMICRON
- u'\u03c0' # 0x00f0 -> GREEK SMALL LETTER PI
- u'\u03c1' # 0x00f1 -> GREEK SMALL LETTER RHO
- u'\u03c2' # 0x00f2 -> GREEK SMALL LETTER FINAL SIGMA
- u'\u03c3' # 0x00f3 -> GREEK SMALL LETTER SIGMA
- u'\u03c4' # 0x00f4 -> GREEK SMALL LETTER TAU
- u'\u03c5' # 0x00f5 -> GREEK SMALL LETTER UPSILON
- u'\u03c6' # 0x00f6 -> GREEK SMALL LETTER PHI
- u'\u03c7' # 0x00f7 -> GREEK SMALL LETTER CHI
- u'\u03c8' # 0x00f8 -> GREEK SMALL LETTER PSI
- u'\u03c9' # 0x00f9 -> GREEK SMALL LETTER OMEGA
- u'\u03ca' # 0x00fa -> GREEK SMALL LETTER IOTA WITH DIALYTIKA
- u'\u03cb' # 0x00fb -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- u'\u03cc' # 0x00fc -> GREEK SMALL LETTER OMICRON WITH TONOS
- u'\u03cd' # 0x00fd -> GREEK SMALL LETTER UPSILON WITH TONOS
- u'\u03ce' # 0x00fe -> GREEK SMALL LETTER OMEGA WITH TONOS
- u'\ufffe' # 0x00ff -> UNDEFINED
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u20ac' # 0x80 -> EURO SIGN
+ u'\ufffe' # 0x81 -> UNDEFINED
+ u'\u201a' # 0x82 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u0192' # 0x83 -> LATIN SMALL LETTER F WITH HOOK
+ u'\u201e' # 0x84 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2026' # 0x85 -> HORIZONTAL ELLIPSIS
+ u'\u2020' # 0x86 -> DAGGER
+ u'\u2021' # 0x87 -> DOUBLE DAGGER
+ u'\ufffe' # 0x88 -> UNDEFINED
+ u'\u2030' # 0x89 -> PER MILLE SIGN
+ u'\ufffe' # 0x8a -> UNDEFINED
+ u'\u2039' # 0x8b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\ufffe' # 0x8c -> UNDEFINED
+ u'\ufffe' # 0x8d -> UNDEFINED
+ u'\ufffe' # 0x8e -> UNDEFINED
+ u'\ufffe' # 0x8f -> UNDEFINED
+ u'\ufffe' # 0x90 -> UNDEFINED
+ u'\u2018' # 0x91 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0x92 -> RIGHT SINGLE QUOTATION MARK
+ u'\u201c' # 0x93 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0x94 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2022' # 0x95 -> BULLET
+ u'\u2013' # 0x96 -> EN DASH
+ u'\u2014' # 0x97 -> EM DASH
+ u'\ufffe' # 0x98 -> UNDEFINED
+ u'\u2122' # 0x99 -> TRADE MARK SIGN
+ u'\ufffe' # 0x9a -> UNDEFINED
+ u'\u203a' # 0x9b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\ufffe' # 0x9c -> UNDEFINED
+ u'\ufffe' # 0x9d -> UNDEFINED
+ u'\ufffe' # 0x9e -> UNDEFINED
+ u'\ufffe' # 0x9f -> UNDEFINED
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u0385' # 0xa1 -> GREEK DIALYTIKA TONOS
+ u'\u0386' # 0xa2 -> GREEK CAPITAL LETTER ALPHA WITH TONOS
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\xa5' # 0xa5 -> YEN SIGN
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\ufffe' # 0xaa -> UNDEFINED
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\u2015' # 0xaf -> HORIZONTAL BAR
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\u0384' # 0xb4 -> GREEK TONOS
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\u0388' # 0xb8 -> GREEK CAPITAL LETTER EPSILON WITH TONOS
+ u'\u0389' # 0xb9 -> GREEK CAPITAL LETTER ETA WITH TONOS
+ u'\u038a' # 0xba -> GREEK CAPITAL LETTER IOTA WITH TONOS
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u038c' # 0xbc -> GREEK CAPITAL LETTER OMICRON WITH TONOS
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
+ u'\u038e' # 0xbe -> GREEK CAPITAL LETTER UPSILON WITH TONOS
+ u'\u038f' # 0xbf -> GREEK CAPITAL LETTER OMEGA WITH TONOS
+ u'\u0390' # 0xc0 -> GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
+ u'\u0391' # 0xc1 -> GREEK CAPITAL LETTER ALPHA
+ u'\u0392' # 0xc2 -> GREEK CAPITAL LETTER BETA
+ u'\u0393' # 0xc3 -> GREEK CAPITAL LETTER GAMMA
+ u'\u0394' # 0xc4 -> GREEK CAPITAL LETTER DELTA
+ u'\u0395' # 0xc5 -> GREEK CAPITAL LETTER EPSILON
+ u'\u0396' # 0xc6 -> GREEK CAPITAL LETTER ZETA
+ u'\u0397' # 0xc7 -> GREEK CAPITAL LETTER ETA
+ u'\u0398' # 0xc8 -> GREEK CAPITAL LETTER THETA
+ u'\u0399' # 0xc9 -> GREEK CAPITAL LETTER IOTA
+ u'\u039a' # 0xca -> GREEK CAPITAL LETTER KAPPA
+ u'\u039b' # 0xcb -> GREEK CAPITAL LETTER LAMDA
+ u'\u039c' # 0xcc -> GREEK CAPITAL LETTER MU
+ u'\u039d' # 0xcd -> GREEK CAPITAL LETTER NU
+ u'\u039e' # 0xce -> GREEK CAPITAL LETTER XI
+ u'\u039f' # 0xcf -> GREEK CAPITAL LETTER OMICRON
+ u'\u03a0' # 0xd0 -> GREEK CAPITAL LETTER PI
+ u'\u03a1' # 0xd1 -> GREEK CAPITAL LETTER RHO
+ u'\ufffe' # 0xd2 -> UNDEFINED
+ u'\u03a3' # 0xd3 -> GREEK CAPITAL LETTER SIGMA
+ u'\u03a4' # 0xd4 -> GREEK CAPITAL LETTER TAU
+ u'\u03a5' # 0xd5 -> GREEK CAPITAL LETTER UPSILON
+ u'\u03a6' # 0xd6 -> GREEK CAPITAL LETTER PHI
+ u'\u03a7' # 0xd7 -> GREEK CAPITAL LETTER CHI
+ u'\u03a8' # 0xd8 -> GREEK CAPITAL LETTER PSI
+ u'\u03a9' # 0xd9 -> GREEK CAPITAL LETTER OMEGA
+ u'\u03aa' # 0xda -> GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
+ u'\u03ab' # 0xdb -> GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
+ u'\u03ac' # 0xdc -> GREEK SMALL LETTER ALPHA WITH TONOS
+ u'\u03ad' # 0xdd -> GREEK SMALL LETTER EPSILON WITH TONOS
+ u'\u03ae' # 0xde -> GREEK SMALL LETTER ETA WITH TONOS
+ u'\u03af' # 0xdf -> GREEK SMALL LETTER IOTA WITH TONOS
+ u'\u03b0' # 0xe0 -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
+ u'\u03b1' # 0xe1 -> GREEK SMALL LETTER ALPHA
+ u'\u03b2' # 0xe2 -> GREEK SMALL LETTER BETA
+ u'\u03b3' # 0xe3 -> GREEK SMALL LETTER GAMMA
+ u'\u03b4' # 0xe4 -> GREEK SMALL LETTER DELTA
+ u'\u03b5' # 0xe5 -> GREEK SMALL LETTER EPSILON
+ u'\u03b6' # 0xe6 -> GREEK SMALL LETTER ZETA
+ u'\u03b7' # 0xe7 -> GREEK SMALL LETTER ETA
+ u'\u03b8' # 0xe8 -> GREEK SMALL LETTER THETA
+ u'\u03b9' # 0xe9 -> GREEK SMALL LETTER IOTA
+ u'\u03ba' # 0xea -> GREEK SMALL LETTER KAPPA
+ u'\u03bb' # 0xeb -> GREEK SMALL LETTER LAMDA
+ u'\u03bc' # 0xec -> GREEK SMALL LETTER MU
+ u'\u03bd' # 0xed -> GREEK SMALL LETTER NU
+ u'\u03be' # 0xee -> GREEK SMALL LETTER XI
+ u'\u03bf' # 0xef -> GREEK SMALL LETTER OMICRON
+ u'\u03c0' # 0xf0 -> GREEK SMALL LETTER PI
+ u'\u03c1' # 0xf1 -> GREEK SMALL LETTER RHO
+ u'\u03c2' # 0xf2 -> GREEK SMALL LETTER FINAL SIGMA
+ u'\u03c3' # 0xf3 -> GREEK SMALL LETTER SIGMA
+ u'\u03c4' # 0xf4 -> GREEK SMALL LETTER TAU
+ u'\u03c5' # 0xf5 -> GREEK SMALL LETTER UPSILON
+ u'\u03c6' # 0xf6 -> GREEK SMALL LETTER PHI
+ u'\u03c7' # 0xf7 -> GREEK SMALL LETTER CHI
+ u'\u03c8' # 0xf8 -> GREEK SMALL LETTER PSI
+ u'\u03c9' # 0xf9 -> GREEK SMALL LETTER OMEGA
+ u'\u03ca' # 0xfa -> GREEK SMALL LETTER IOTA WITH DIALYTIKA
+ u'\u03cb' # 0xfb -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA
+ u'\u03cc' # 0xfc -> GREEK SMALL LETTER OMICRON WITH TONOS
+ u'\u03cd' # 0xfd -> GREEK SMALL LETTER UPSILON WITH TONOS
+ u'\u03ce' # 0xfe -> GREEK SMALL LETTER OMEGA WITH TONOS
+ u'\ufffe' # 0xff -> UNDEFINED
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a5: 0x00a5, # YEN SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x0192: 0x0083, # LATIN SMALL LETTER F WITH HOOK
- 0x0384: 0x00b4, # GREEK TONOS
- 0x0385: 0x00a1, # GREEK DIALYTIKA TONOS
- 0x0386: 0x00a2, # GREEK CAPITAL LETTER ALPHA WITH TONOS
- 0x0388: 0x00b8, # GREEK CAPITAL LETTER EPSILON WITH TONOS
- 0x0389: 0x00b9, # GREEK CAPITAL LETTER ETA WITH TONOS
- 0x038a: 0x00ba, # GREEK CAPITAL LETTER IOTA WITH TONOS
- 0x038c: 0x00bc, # GREEK CAPITAL LETTER OMICRON WITH TONOS
- 0x038e: 0x00be, # GREEK CAPITAL LETTER UPSILON WITH TONOS
- 0x038f: 0x00bf, # GREEK CAPITAL LETTER OMEGA WITH TONOS
- 0x0390: 0x00c0, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
- 0x0391: 0x00c1, # GREEK CAPITAL LETTER ALPHA
- 0x0392: 0x00c2, # GREEK CAPITAL LETTER BETA
- 0x0393: 0x00c3, # GREEK CAPITAL LETTER GAMMA
- 0x0394: 0x00c4, # GREEK CAPITAL LETTER DELTA
- 0x0395: 0x00c5, # GREEK CAPITAL LETTER EPSILON
- 0x0396: 0x00c6, # GREEK CAPITAL LETTER ZETA
- 0x0397: 0x00c7, # GREEK CAPITAL LETTER ETA
- 0x0398: 0x00c8, # GREEK CAPITAL LETTER THETA
- 0x0399: 0x00c9, # GREEK CAPITAL LETTER IOTA
- 0x039a: 0x00ca, # GREEK CAPITAL LETTER KAPPA
- 0x039b: 0x00cb, # GREEK CAPITAL LETTER LAMDA
- 0x039c: 0x00cc, # GREEK CAPITAL LETTER MU
- 0x039d: 0x00cd, # GREEK CAPITAL LETTER NU
- 0x039e: 0x00ce, # GREEK CAPITAL LETTER XI
- 0x039f: 0x00cf, # GREEK CAPITAL LETTER OMICRON
- 0x03a0: 0x00d0, # GREEK CAPITAL LETTER PI
- 0x03a1: 0x00d1, # GREEK CAPITAL LETTER RHO
- 0x03a3: 0x00d3, # GREEK CAPITAL LETTER SIGMA
- 0x03a4: 0x00d4, # GREEK CAPITAL LETTER TAU
- 0x03a5: 0x00d5, # GREEK CAPITAL LETTER UPSILON
- 0x03a6: 0x00d6, # GREEK CAPITAL LETTER PHI
- 0x03a7: 0x00d7, # GREEK CAPITAL LETTER CHI
- 0x03a8: 0x00d8, # GREEK CAPITAL LETTER PSI
- 0x03a9: 0x00d9, # GREEK CAPITAL LETTER OMEGA
- 0x03aa: 0x00da, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- 0x03ab: 0x00db, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
- 0x03ac: 0x00dc, # GREEK SMALL LETTER ALPHA WITH TONOS
- 0x03ad: 0x00dd, # GREEK SMALL LETTER EPSILON WITH TONOS
- 0x03ae: 0x00de, # GREEK SMALL LETTER ETA WITH TONOS
- 0x03af: 0x00df, # GREEK SMALL LETTER IOTA WITH TONOS
- 0x03b0: 0x00e0, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
- 0x03b1: 0x00e1, # GREEK SMALL LETTER ALPHA
- 0x03b2: 0x00e2, # GREEK SMALL LETTER BETA
- 0x03b3: 0x00e3, # GREEK SMALL LETTER GAMMA
- 0x03b4: 0x00e4, # GREEK SMALL LETTER DELTA
- 0x03b5: 0x00e5, # GREEK SMALL LETTER EPSILON
- 0x03b6: 0x00e6, # GREEK SMALL LETTER ZETA
- 0x03b7: 0x00e7, # GREEK SMALL LETTER ETA
- 0x03b8: 0x00e8, # GREEK SMALL LETTER THETA
- 0x03b9: 0x00e9, # GREEK SMALL LETTER IOTA
- 0x03ba: 0x00ea, # GREEK SMALL LETTER KAPPA
- 0x03bb: 0x00eb, # GREEK SMALL LETTER LAMDA
- 0x03bc: 0x00ec, # GREEK SMALL LETTER MU
- 0x03bd: 0x00ed, # GREEK SMALL LETTER NU
- 0x03be: 0x00ee, # GREEK SMALL LETTER XI
- 0x03bf: 0x00ef, # GREEK SMALL LETTER OMICRON
- 0x03c0: 0x00f0, # GREEK SMALL LETTER PI
- 0x03c1: 0x00f1, # GREEK SMALL LETTER RHO
- 0x03c2: 0x00f2, # GREEK SMALL LETTER FINAL SIGMA
- 0x03c3: 0x00f3, # GREEK SMALL LETTER SIGMA
- 0x03c4: 0x00f4, # GREEK SMALL LETTER TAU
- 0x03c5: 0x00f5, # GREEK SMALL LETTER UPSILON
- 0x03c6: 0x00f6, # GREEK SMALL LETTER PHI
- 0x03c7: 0x00f7, # GREEK SMALL LETTER CHI
- 0x03c8: 0x00f8, # GREEK SMALL LETTER PSI
- 0x03c9: 0x00f9, # GREEK SMALL LETTER OMEGA
- 0x03ca: 0x00fa, # GREEK SMALL LETTER IOTA WITH DIALYTIKA
- 0x03cb: 0x00fb, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- 0x03cc: 0x00fc, # GREEK SMALL LETTER OMICRON WITH TONOS
- 0x03cd: 0x00fd, # GREEK SMALL LETTER UPSILON WITH TONOS
- 0x03ce: 0x00fe, # GREEK SMALL LETTER OMEGA WITH TONOS
- 0x2013: 0x0096, # EN DASH
- 0x2014: 0x0097, # EM DASH
- 0x2015: 0x00af, # HORIZONTAL BAR
- 0x2018: 0x0091, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x0092, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x0082, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x0093, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x0094, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x0084, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x0086, # DAGGER
- 0x2021: 0x0087, # DOUBLE DAGGER
- 0x2022: 0x0095, # BULLET
- 0x2026: 0x0085, # HORIZONTAL ELLIPSIS
- 0x2030: 0x0089, # PER MILLE SIGN
- 0x2039: 0x008b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x009b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x20ac: 0x0080, # EURO SIGN
- 0x2122: 0x0099, # TRADE MARK SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a5: 0xa5, # YEN SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x0192: 0x83, # LATIN SMALL LETTER F WITH HOOK
+ 0x0384: 0xb4, # GREEK TONOS
+ 0x0385: 0xa1, # GREEK DIALYTIKA TONOS
+ 0x0386: 0xa2, # GREEK CAPITAL LETTER ALPHA WITH TONOS
+ 0x0388: 0xb8, # GREEK CAPITAL LETTER EPSILON WITH TONOS
+ 0x0389: 0xb9, # GREEK CAPITAL LETTER ETA WITH TONOS
+ 0x038a: 0xba, # GREEK CAPITAL LETTER IOTA WITH TONOS
+ 0x038c: 0xbc, # GREEK CAPITAL LETTER OMICRON WITH TONOS
+ 0x038e: 0xbe, # GREEK CAPITAL LETTER UPSILON WITH TONOS
+ 0x038f: 0xbf, # GREEK CAPITAL LETTER OMEGA WITH TONOS
+ 0x0390: 0xc0, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
+ 0x0391: 0xc1, # GREEK CAPITAL LETTER ALPHA
+ 0x0392: 0xc2, # GREEK CAPITAL LETTER BETA
+ 0x0393: 0xc3, # GREEK CAPITAL LETTER GAMMA
+ 0x0394: 0xc4, # GREEK CAPITAL LETTER DELTA
+ 0x0395: 0xc5, # GREEK CAPITAL LETTER EPSILON
+ 0x0396: 0xc6, # GREEK CAPITAL LETTER ZETA
+ 0x0397: 0xc7, # GREEK CAPITAL LETTER ETA
+ 0x0398: 0xc8, # GREEK CAPITAL LETTER THETA
+ 0x0399: 0xc9, # GREEK CAPITAL LETTER IOTA
+ 0x039a: 0xca, # GREEK CAPITAL LETTER KAPPA
+ 0x039b: 0xcb, # GREEK CAPITAL LETTER LAMDA
+ 0x039c: 0xcc, # GREEK CAPITAL LETTER MU
+ 0x039d: 0xcd, # GREEK CAPITAL LETTER NU
+ 0x039e: 0xce, # GREEK CAPITAL LETTER XI
+ 0x039f: 0xcf, # GREEK CAPITAL LETTER OMICRON
+ 0x03a0: 0xd0, # GREEK CAPITAL LETTER PI
+ 0x03a1: 0xd1, # GREEK CAPITAL LETTER RHO
+ 0x03a3: 0xd3, # GREEK CAPITAL LETTER SIGMA
+ 0x03a4: 0xd4, # GREEK CAPITAL LETTER TAU
+ 0x03a5: 0xd5, # GREEK CAPITAL LETTER UPSILON
+ 0x03a6: 0xd6, # GREEK CAPITAL LETTER PHI
+ 0x03a7: 0xd7, # GREEK CAPITAL LETTER CHI
+ 0x03a8: 0xd8, # GREEK CAPITAL LETTER PSI
+ 0x03a9: 0xd9, # GREEK CAPITAL LETTER OMEGA
+ 0x03aa: 0xda, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
+ 0x03ab: 0xdb, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
+ 0x03ac: 0xdc, # GREEK SMALL LETTER ALPHA WITH TONOS
+ 0x03ad: 0xdd, # GREEK SMALL LETTER EPSILON WITH TONOS
+ 0x03ae: 0xde, # GREEK SMALL LETTER ETA WITH TONOS
+ 0x03af: 0xdf, # GREEK SMALL LETTER IOTA WITH TONOS
+ 0x03b0: 0xe0, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
+ 0x03b1: 0xe1, # GREEK SMALL LETTER ALPHA
+ 0x03b2: 0xe2, # GREEK SMALL LETTER BETA
+ 0x03b3: 0xe3, # GREEK SMALL LETTER GAMMA
+ 0x03b4: 0xe4, # GREEK SMALL LETTER DELTA
+ 0x03b5: 0xe5, # GREEK SMALL LETTER EPSILON
+ 0x03b6: 0xe6, # GREEK SMALL LETTER ZETA
+ 0x03b7: 0xe7, # GREEK SMALL LETTER ETA
+ 0x03b8: 0xe8, # GREEK SMALL LETTER THETA
+ 0x03b9: 0xe9, # GREEK SMALL LETTER IOTA
+ 0x03ba: 0xea, # GREEK SMALL LETTER KAPPA
+ 0x03bb: 0xeb, # GREEK SMALL LETTER LAMDA
+ 0x03bc: 0xec, # GREEK SMALL LETTER MU
+ 0x03bd: 0xed, # GREEK SMALL LETTER NU
+ 0x03be: 0xee, # GREEK SMALL LETTER XI
+ 0x03bf: 0xef, # GREEK SMALL LETTER OMICRON
+ 0x03c0: 0xf0, # GREEK SMALL LETTER PI
+ 0x03c1: 0xf1, # GREEK SMALL LETTER RHO
+ 0x03c2: 0xf2, # GREEK SMALL LETTER FINAL SIGMA
+ 0x03c3: 0xf3, # GREEK SMALL LETTER SIGMA
+ 0x03c4: 0xf4, # GREEK SMALL LETTER TAU
+ 0x03c5: 0xf5, # GREEK SMALL LETTER UPSILON
+ 0x03c6: 0xf6, # GREEK SMALL LETTER PHI
+ 0x03c7: 0xf7, # GREEK SMALL LETTER CHI
+ 0x03c8: 0xf8, # GREEK SMALL LETTER PSI
+ 0x03c9: 0xf9, # GREEK SMALL LETTER OMEGA
+ 0x03ca: 0xfa, # GREEK SMALL LETTER IOTA WITH DIALYTIKA
+ 0x03cb: 0xfb, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA
+ 0x03cc: 0xfc, # GREEK SMALL LETTER OMICRON WITH TONOS
+ 0x03cd: 0xfd, # GREEK SMALL LETTER UPSILON WITH TONOS
+ 0x03ce: 0xfe, # GREEK SMALL LETTER OMEGA WITH TONOS
+ 0x2013: 0x96, # EN DASH
+ 0x2014: 0x97, # EM DASH
+ 0x2015: 0xaf, # HORIZONTAL BAR
+ 0x2018: 0x91, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0x92, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0x82, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0x93, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0x94, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0x84, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0x86, # DAGGER
+ 0x2021: 0x87, # DOUBLE DAGGER
+ 0x2022: 0x95, # BULLET
+ 0x2026: 0x85, # HORIZONTAL ELLIPSIS
+ 0x2030: 0x89, # PER MILLE SIGN
+ 0x2039: 0x8b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0x9b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x20ac: 0x80, # EURO SIGN
+ 0x2122: 0x99, # TRADE MARK SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/cp1254.py b/Lib/encodings/cp1254.py
index 50c4e26bfa3..2dd48c1790d 100644
--- a/Lib/encodings/cp1254.py
+++ b/Lib/encodings/cp1254.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/WINDOWS/CP1254.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1254.TXT' with gencodec.py.
"""#"
@@ -28,561 +28,518 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x20ac, # EURO SIGN
- 0x0081: None, # UNDEFINED
- 0x0082: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x0083: 0x0192, # LATIN SMALL LETTER F WITH HOOK
- 0x0084: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x0085: 0x2026, # HORIZONTAL ELLIPSIS
- 0x0086: 0x2020, # DAGGER
- 0x0087: 0x2021, # DOUBLE DAGGER
- 0x0088: 0x02c6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x0089: 0x2030, # PER MILLE SIGN
- 0x008a: 0x0160, # LATIN CAPITAL LETTER S WITH CARON
- 0x008b: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x008c: 0x0152, # LATIN CAPITAL LIGATURE OE
- 0x008d: None, # UNDEFINED
- 0x008e: None, # UNDEFINED
- 0x008f: None, # UNDEFINED
- 0x0090: None, # UNDEFINED
- 0x0091: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x0092: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x0093: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x0094: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x0095: 0x2022, # BULLET
- 0x0096: 0x2013, # EN DASH
- 0x0097: 0x2014, # EM DASH
- 0x0098: 0x02dc, # SMALL TILDE
- 0x0099: 0x2122, # TRADE MARK SIGN
- 0x009a: 0x0161, # LATIN SMALL LETTER S WITH CARON
- 0x009b: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x009c: 0x0153, # LATIN SMALL LIGATURE OE
- 0x009d: None, # UNDEFINED
- 0x009e: None, # UNDEFINED
- 0x009f: 0x0178, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x00d0: 0x011e, # LATIN CAPITAL LETTER G WITH BREVE
- 0x00dd: 0x0130, # LATIN CAPITAL LETTER I WITH DOT ABOVE
- 0x00de: 0x015e, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x00f0: 0x011f, # LATIN SMALL LETTER G WITH BREVE
- 0x00fd: 0x0131, # LATIN SMALL LETTER DOTLESS I
- 0x00fe: 0x015f, # LATIN SMALL LETTER S WITH CEDILLA
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\u20ac' # 0x0080 -> EURO SIGN
- u'\ufffe' # 0x0081 -> UNDEFINED
- u'\u201a' # 0x0082 -> SINGLE LOW-9 QUOTATION MARK
- u'\u0192' # 0x0083 -> LATIN SMALL LETTER F WITH HOOK
- u'\u201e' # 0x0084 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2026' # 0x0085 -> HORIZONTAL ELLIPSIS
- u'\u2020' # 0x0086 -> DAGGER
- u'\u2021' # 0x0087 -> DOUBLE DAGGER
- u'\u02c6' # 0x0088 -> MODIFIER LETTER CIRCUMFLEX ACCENT
- u'\u2030' # 0x0089 -> PER MILLE SIGN
- u'\u0160' # 0x008a -> LATIN CAPITAL LETTER S WITH CARON
- u'\u2039' # 0x008b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\u0152' # 0x008c -> LATIN CAPITAL LIGATURE OE
- u'\ufffe' # 0x008d -> UNDEFINED
- u'\ufffe' # 0x008e -> UNDEFINED
- u'\ufffe' # 0x008f -> UNDEFINED
- u'\ufffe' # 0x0090 -> UNDEFINED
- u'\u2018' # 0x0091 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x0092 -> RIGHT SINGLE QUOTATION MARK
- u'\u201c' # 0x0093 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x0094 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2022' # 0x0095 -> BULLET
- u'\u2013' # 0x0096 -> EN DASH
- u'\u2014' # 0x0097 -> EM DASH
- u'\u02dc' # 0x0098 -> SMALL TILDE
- u'\u2122' # 0x0099 -> TRADE MARK SIGN
- u'\u0161' # 0x009a -> LATIN SMALL LETTER S WITH CARON
- u'\u203a' # 0x009b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\u0153' # 0x009c -> LATIN SMALL LIGATURE OE
- u'\ufffe' # 0x009d -> UNDEFINED
- u'\ufffe' # 0x009e -> UNDEFINED
- u'\u0178' # 0x009f -> LATIN CAPITAL LETTER Y WITH DIAERESIS
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\xa1' # 0x00a1 -> INVERTED EXCLAMATION MARK
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\xa5' # 0x00a5 -> YEN SIGN
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\xaa' # 0x00aa -> FEMININE ORDINAL INDICATOR
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\xaf' # 0x00af -> MACRON
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\xb8' # 0x00b8 -> CEDILLA
- u'\xb9' # 0x00b9 -> SUPERSCRIPT ONE
- u'\xba' # 0x00ba -> MASCULINE ORDINAL INDICATOR
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbc' # 0x00bc -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00be -> VULGAR FRACTION THREE QUARTERS
- u'\xbf' # 0x00bf -> INVERTED QUESTION MARK
- u'\xc0' # 0x00c0 -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xc3' # 0x00c3 -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x00c5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc6' # 0x00c6 -> LATIN CAPITAL LETTER AE
- u'\xc7' # 0x00c7 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc8' # 0x00c8 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xca' # 0x00ca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xcc' # 0x00cc -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00cf -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\u011e' # 0x00d0 -> LATIN CAPITAL LETTER G WITH BREVE
- u'\xd1' # 0x00d1 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd2' # 0x00d2 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\xd5' # 0x00d5 -> LATIN CAPITAL LETTER O WITH TILDE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\xd8' # 0x00d8 -> LATIN CAPITAL LETTER O WITH STROKE
- u'\xd9' # 0x00d9 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00db -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\u0130' # 0x00dd -> LATIN CAPITAL LETTER I WITH DOT ABOVE
- u'\u015e' # 0x00de -> LATIN CAPITAL LETTER S WITH CEDILLA
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S
- u'\xe0' # 0x00e0 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe3' # 0x00e3 -> LATIN SMALL LETTER A WITH TILDE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe5' # 0x00e5 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe6' # 0x00e6 -> LATIN SMALL LETTER AE
- u'\xe7' # 0x00e7 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe8' # 0x00e8 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x00ea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xec' # 0x00ec -> LATIN SMALL LETTER I WITH GRAVE
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x00ef -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\u011f' # 0x00f0 -> LATIN SMALL LETTER G WITH BREVE
- u'\xf1' # 0x00f1 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf2' # 0x00f2 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf5' # 0x00f5 -> LATIN SMALL LETTER O WITH TILDE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\xf8' # 0x00f8 -> LATIN SMALL LETTER O WITH STROKE
- u'\xf9' # 0x00f9 -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\xfb' # 0x00fb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u0131' # 0x00fd -> LATIN SMALL LETTER DOTLESS I
- u'\u015f' # 0x00fe -> LATIN SMALL LETTER S WITH CEDILLA
- u'\xff' # 0x00ff -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u20ac' # 0x80 -> EURO SIGN
+ u'\ufffe' # 0x81 -> UNDEFINED
+ u'\u201a' # 0x82 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u0192' # 0x83 -> LATIN SMALL LETTER F WITH HOOK
+ u'\u201e' # 0x84 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2026' # 0x85 -> HORIZONTAL ELLIPSIS
+ u'\u2020' # 0x86 -> DAGGER
+ u'\u2021' # 0x87 -> DOUBLE DAGGER
+ u'\u02c6' # 0x88 -> MODIFIER LETTER CIRCUMFLEX ACCENT
+ u'\u2030' # 0x89 -> PER MILLE SIGN
+ u'\u0160' # 0x8a -> LATIN CAPITAL LETTER S WITH CARON
+ u'\u2039' # 0x8b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\u0152' # 0x8c -> LATIN CAPITAL LIGATURE OE
+ u'\ufffe' # 0x8d -> UNDEFINED
+ u'\ufffe' # 0x8e -> UNDEFINED
+ u'\ufffe' # 0x8f -> UNDEFINED
+ u'\ufffe' # 0x90 -> UNDEFINED
+ u'\u2018' # 0x91 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0x92 -> RIGHT SINGLE QUOTATION MARK
+ u'\u201c' # 0x93 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0x94 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2022' # 0x95 -> BULLET
+ u'\u2013' # 0x96 -> EN DASH
+ u'\u2014' # 0x97 -> EM DASH
+ u'\u02dc' # 0x98 -> SMALL TILDE
+ u'\u2122' # 0x99 -> TRADE MARK SIGN
+ u'\u0161' # 0x9a -> LATIN SMALL LETTER S WITH CARON
+ u'\u203a' # 0x9b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\u0153' # 0x9c -> LATIN SMALL LIGATURE OE
+ u'\ufffe' # 0x9d -> UNDEFINED
+ u'\ufffe' # 0x9e -> UNDEFINED
+ u'\u0178' # 0x9f -> LATIN CAPITAL LETTER Y WITH DIAERESIS
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\xa1' # 0xa1 -> INVERTED EXCLAMATION MARK
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\xa5' # 0xa5 -> YEN SIGN
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\xaa' # 0xaa -> FEMININE ORDINAL INDICATOR
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\xaf' # 0xaf -> MACRON
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\xb8' # 0xb8 -> CEDILLA
+ u'\xb9' # 0xb9 -> SUPERSCRIPT ONE
+ u'\xba' # 0xba -> MASCULINE ORDINAL INDICATOR
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbc' # 0xbc -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xbe -> VULGAR FRACTION THREE QUARTERS
+ u'\xbf' # 0xbf -> INVERTED QUESTION MARK
+ u'\xc0' # 0xc0 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xc3' # 0xc3 -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0xc5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc6' # 0xc6 -> LATIN CAPITAL LETTER AE
+ u'\xc7' # 0xc7 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc8' # 0xc8 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0xca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xcc' # 0xcc -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xcf -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\u011e' # 0xd0 -> LATIN CAPITAL LETTER G WITH BREVE
+ u'\xd1' # 0xd1 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd2' # 0xd2 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\xd5' # 0xd5 -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\xd8' # 0xd8 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\xd9' # 0xd9 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xdb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\u0130' # 0xdd -> LATIN CAPITAL LETTER I WITH DOT ABOVE
+ u'\u015e' # 0xde -> LATIN CAPITAL LETTER S WITH CEDILLA
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S
+ u'\xe0' # 0xe0 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe3' # 0xe3 -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe5' # 0xe5 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe6' # 0xe6 -> LATIN SMALL LETTER AE
+ u'\xe7' # 0xe7 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe8' # 0xe8 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0xea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xec' # 0xec -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0xef -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\u011f' # 0xf0 -> LATIN SMALL LETTER G WITH BREVE
+ u'\xf1' # 0xf1 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf2' # 0xf2 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf5' # 0xf5 -> LATIN SMALL LETTER O WITH TILDE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\xf8' # 0xf8 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xf9' # 0xf9 -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xfb' # 0xfb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u0131' # 0xfd -> LATIN SMALL LETTER DOTLESS I
+ u'\u015f' # 0xfe -> LATIN SMALL LETTER S WITH CEDILLA
+ u'\xff' # 0xff -> LATIN SMALL LETTER Y WITH DIAERESIS
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a1: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a5: 0x00a5, # YEN SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00aa: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00af: 0x00af, # MACRON
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b8: 0x00b8, # CEDILLA
- 0x00b9: 0x00b9, # SUPERSCRIPT ONE
- 0x00ba: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00bf: 0x00bf, # INVERTED QUESTION MARK
- 0x00c0: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00c7: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d1: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00d8: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00e6, # LATIN SMALL LETTER AE
- 0x00e7: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f1: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00f8: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00ff: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x011e: 0x00d0, # LATIN CAPITAL LETTER G WITH BREVE
- 0x011f: 0x00f0, # LATIN SMALL LETTER G WITH BREVE
- 0x0130: 0x00dd, # LATIN CAPITAL LETTER I WITH DOT ABOVE
- 0x0131: 0x00fd, # LATIN SMALL LETTER DOTLESS I
- 0x0152: 0x008c, # LATIN CAPITAL LIGATURE OE
- 0x0153: 0x009c, # LATIN SMALL LIGATURE OE
- 0x015e: 0x00de, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x015f: 0x00fe, # LATIN SMALL LETTER S WITH CEDILLA
- 0x0160: 0x008a, # LATIN CAPITAL LETTER S WITH CARON
- 0x0161: 0x009a, # LATIN SMALL LETTER S WITH CARON
- 0x0178: 0x009f, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x0192: 0x0083, # LATIN SMALL LETTER F WITH HOOK
- 0x02c6: 0x0088, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x02dc: 0x0098, # SMALL TILDE
- 0x2013: 0x0096, # EN DASH
- 0x2014: 0x0097, # EM DASH
- 0x2018: 0x0091, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x0092, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x0082, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x0093, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x0094, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x0084, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x0086, # DAGGER
- 0x2021: 0x0087, # DOUBLE DAGGER
- 0x2022: 0x0095, # BULLET
- 0x2026: 0x0085, # HORIZONTAL ELLIPSIS
- 0x2030: 0x0089, # PER MILLE SIGN
- 0x2039: 0x008b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x009b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x20ac: 0x0080, # EURO SIGN
- 0x2122: 0x0099, # TRADE MARK SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a1: 0xa1, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a5: 0xa5, # YEN SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00aa: 0xaa, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00af: 0xaf, # MACRON
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b8: 0xb8, # CEDILLA
+ 0x00b9: 0xb9, # SUPERSCRIPT ONE
+ 0x00ba: 0xba, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xbc, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xbe, # VULGAR FRACTION THREE QUARTERS
+ 0x00bf: 0xbf, # INVERTED QUESTION MARK
+ 0x00c0: 0xc0, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xc3, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0xc5, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xc6, # LATIN CAPITAL LETTER AE
+ 0x00c7: 0xc7, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xc8, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xcc, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xcf, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d1: 0xd1, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xd2, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xd5, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00d8: 0xd8, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xd9, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xdb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0xe0, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0xe3, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0xe5, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xe6, # LATIN SMALL LETTER AE
+ 0x00e7: 0xe7, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0xe8, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0xea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0xec, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0xef, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f1: 0xf1, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0xf2, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0xf5, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00f8: 0xf8, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0xf9, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xfb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00ff: 0xff, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x011e: 0xd0, # LATIN CAPITAL LETTER G WITH BREVE
+ 0x011f: 0xf0, # LATIN SMALL LETTER G WITH BREVE
+ 0x0130: 0xdd, # LATIN CAPITAL LETTER I WITH DOT ABOVE
+ 0x0131: 0xfd, # LATIN SMALL LETTER DOTLESS I
+ 0x0152: 0x8c, # LATIN CAPITAL LIGATURE OE
+ 0x0153: 0x9c, # LATIN SMALL LIGATURE OE
+ 0x015e: 0xde, # LATIN CAPITAL LETTER S WITH CEDILLA
+ 0x015f: 0xfe, # LATIN SMALL LETTER S WITH CEDILLA
+ 0x0160: 0x8a, # LATIN CAPITAL LETTER S WITH CARON
+ 0x0161: 0x9a, # LATIN SMALL LETTER S WITH CARON
+ 0x0178: 0x9f, # LATIN CAPITAL LETTER Y WITH DIAERESIS
+ 0x0192: 0x83, # LATIN SMALL LETTER F WITH HOOK
+ 0x02c6: 0x88, # MODIFIER LETTER CIRCUMFLEX ACCENT
+ 0x02dc: 0x98, # SMALL TILDE
+ 0x2013: 0x96, # EN DASH
+ 0x2014: 0x97, # EM DASH
+ 0x2018: 0x91, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0x92, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0x82, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0x93, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0x94, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0x84, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0x86, # DAGGER
+ 0x2021: 0x87, # DOUBLE DAGGER
+ 0x2022: 0x95, # BULLET
+ 0x2026: 0x85, # HORIZONTAL ELLIPSIS
+ 0x2030: 0x89, # PER MILLE SIGN
+ 0x2039: 0x8b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0x9b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x20ac: 0x80, # EURO SIGN
+ 0x2122: 0x99, # TRADE MARK SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/cp1255.py b/Lib/encodings/cp1255.py
index 15359063c3c..8f4c290ba38 100644
--- a/Lib/encodings/cp1255.py
+++ b/Lib/encodings/cp1255.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/WINDOWS/CP1255.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1255.TXT' with gencodec.py.
"""#"
@@ -28,606 +28,502 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x20ac, # EURO SIGN
- 0x0081: None, # UNDEFINED
- 0x0082: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x0083: 0x0192, # LATIN SMALL LETTER F WITH HOOK
- 0x0084: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x0085: 0x2026, # HORIZONTAL ELLIPSIS
- 0x0086: 0x2020, # DAGGER
- 0x0087: 0x2021, # DOUBLE DAGGER
- 0x0088: 0x02c6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x0089: 0x2030, # PER MILLE SIGN
- 0x008a: None, # UNDEFINED
- 0x008b: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x008c: None, # UNDEFINED
- 0x008d: None, # UNDEFINED
- 0x008e: None, # UNDEFINED
- 0x008f: None, # UNDEFINED
- 0x0090: None, # UNDEFINED
- 0x0091: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x0092: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x0093: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x0094: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x0095: 0x2022, # BULLET
- 0x0096: 0x2013, # EN DASH
- 0x0097: 0x2014, # EM DASH
- 0x0098: 0x02dc, # SMALL TILDE
- 0x0099: 0x2122, # TRADE MARK SIGN
- 0x009a: None, # UNDEFINED
- 0x009b: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x009c: None, # UNDEFINED
- 0x009d: None, # UNDEFINED
- 0x009e: None, # UNDEFINED
- 0x009f: None, # UNDEFINED
- 0x00a4: 0x20aa, # NEW SHEQEL SIGN
- 0x00aa: 0x00d7, # MULTIPLICATION SIGN
- 0x00ba: 0x00f7, # DIVISION SIGN
- 0x00c0: 0x05b0, # HEBREW POINT SHEVA
- 0x00c1: 0x05b1, # HEBREW POINT HATAF SEGOL
- 0x00c2: 0x05b2, # HEBREW POINT HATAF PATAH
- 0x00c3: 0x05b3, # HEBREW POINT HATAF QAMATS
- 0x00c4: 0x05b4, # HEBREW POINT HIRIQ
- 0x00c5: 0x05b5, # HEBREW POINT TSERE
- 0x00c6: 0x05b6, # HEBREW POINT SEGOL
- 0x00c7: 0x05b7, # HEBREW POINT PATAH
- 0x00c8: 0x05b8, # HEBREW POINT QAMATS
- 0x00c9: 0x05b9, # HEBREW POINT HOLAM
- 0x00ca: None, # UNDEFINED
- 0x00cb: 0x05bb, # HEBREW POINT QUBUTS
- 0x00cc: 0x05bc, # HEBREW POINT DAGESH OR MAPIQ
- 0x00cd: 0x05bd, # HEBREW POINT METEG
- 0x00ce: 0x05be, # HEBREW PUNCTUATION MAQAF
- 0x00cf: 0x05bf, # HEBREW POINT RAFE
- 0x00d0: 0x05c0, # HEBREW PUNCTUATION PASEQ
- 0x00d1: 0x05c1, # HEBREW POINT SHIN DOT
- 0x00d2: 0x05c2, # HEBREW POINT SIN DOT
- 0x00d3: 0x05c3, # HEBREW PUNCTUATION SOF PASUQ
- 0x00d4: 0x05f0, # HEBREW LIGATURE YIDDISH DOUBLE VAV
- 0x00d5: 0x05f1, # HEBREW LIGATURE YIDDISH VAV YOD
- 0x00d6: 0x05f2, # HEBREW LIGATURE YIDDISH DOUBLE YOD
- 0x00d7: 0x05f3, # HEBREW PUNCTUATION GERESH
- 0x00d8: 0x05f4, # HEBREW PUNCTUATION GERSHAYIM
- 0x00d9: None, # UNDEFINED
- 0x00da: None, # UNDEFINED
- 0x00db: None, # UNDEFINED
- 0x00dc: None, # UNDEFINED
- 0x00dd: None, # UNDEFINED
- 0x00de: None, # UNDEFINED
- 0x00df: None, # UNDEFINED
- 0x00e0: 0x05d0, # HEBREW LETTER ALEF
- 0x00e1: 0x05d1, # HEBREW LETTER BET
- 0x00e2: 0x05d2, # HEBREW LETTER GIMEL
- 0x00e3: 0x05d3, # HEBREW LETTER DALET
- 0x00e4: 0x05d4, # HEBREW LETTER HE
- 0x00e5: 0x05d5, # HEBREW LETTER VAV
- 0x00e6: 0x05d6, # HEBREW LETTER ZAYIN
- 0x00e7: 0x05d7, # HEBREW LETTER HET
- 0x00e8: 0x05d8, # HEBREW LETTER TET
- 0x00e9: 0x05d9, # HEBREW LETTER YOD
- 0x00ea: 0x05da, # HEBREW LETTER FINAL KAF
- 0x00eb: 0x05db, # HEBREW LETTER KAF
- 0x00ec: 0x05dc, # HEBREW LETTER LAMED
- 0x00ed: 0x05dd, # HEBREW LETTER FINAL MEM
- 0x00ee: 0x05de, # HEBREW LETTER MEM
- 0x00ef: 0x05df, # HEBREW LETTER FINAL NUN
- 0x00f0: 0x05e0, # HEBREW LETTER NUN
- 0x00f1: 0x05e1, # HEBREW LETTER SAMEKH
- 0x00f2: 0x05e2, # HEBREW LETTER AYIN
- 0x00f3: 0x05e3, # HEBREW LETTER FINAL PE
- 0x00f4: 0x05e4, # HEBREW LETTER PE
- 0x00f5: 0x05e5, # HEBREW LETTER FINAL TSADI
- 0x00f6: 0x05e6, # HEBREW LETTER TSADI
- 0x00f7: 0x05e7, # HEBREW LETTER QOF
- 0x00f8: 0x05e8, # HEBREW LETTER RESH
- 0x00f9: 0x05e9, # HEBREW LETTER SHIN
- 0x00fa: 0x05ea, # HEBREW LETTER TAV
- 0x00fb: None, # UNDEFINED
- 0x00fc: None, # UNDEFINED
- 0x00fd: 0x200e, # LEFT-TO-RIGHT MARK
- 0x00fe: 0x200f, # RIGHT-TO-LEFT MARK
- 0x00ff: None, # UNDEFINED
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\u20ac' # 0x0080 -> EURO SIGN
- u'\ufffe' # 0x0081 -> UNDEFINED
- u'\u201a' # 0x0082 -> SINGLE LOW-9 QUOTATION MARK
- u'\u0192' # 0x0083 -> LATIN SMALL LETTER F WITH HOOK
- u'\u201e' # 0x0084 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2026' # 0x0085 -> HORIZONTAL ELLIPSIS
- u'\u2020' # 0x0086 -> DAGGER
- u'\u2021' # 0x0087 -> DOUBLE DAGGER
- u'\u02c6' # 0x0088 -> MODIFIER LETTER CIRCUMFLEX ACCENT
- u'\u2030' # 0x0089 -> PER MILLE SIGN
- u'\ufffe' # 0x008a -> UNDEFINED
- u'\u2039' # 0x008b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\ufffe' # 0x008c -> UNDEFINED
- u'\ufffe' # 0x008d -> UNDEFINED
- u'\ufffe' # 0x008e -> UNDEFINED
- u'\ufffe' # 0x008f -> UNDEFINED
- u'\ufffe' # 0x0090 -> UNDEFINED
- u'\u2018' # 0x0091 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x0092 -> RIGHT SINGLE QUOTATION MARK
- u'\u201c' # 0x0093 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x0094 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2022' # 0x0095 -> BULLET
- u'\u2013' # 0x0096 -> EN DASH
- u'\u2014' # 0x0097 -> EM DASH
- u'\u02dc' # 0x0098 -> SMALL TILDE
- u'\u2122' # 0x0099 -> TRADE MARK SIGN
- u'\ufffe' # 0x009a -> UNDEFINED
- u'\u203a' # 0x009b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\ufffe' # 0x009c -> UNDEFINED
- u'\ufffe' # 0x009d -> UNDEFINED
- u'\ufffe' # 0x009e -> UNDEFINED
- u'\ufffe' # 0x009f -> UNDEFINED
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\xa1' # 0x00a1 -> INVERTED EXCLAMATION MARK
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\u20aa' # 0x00a4 -> NEW SHEQEL SIGN
- u'\xa5' # 0x00a5 -> YEN SIGN
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\xd7' # 0x00aa -> MULTIPLICATION SIGN
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\xaf' # 0x00af -> MACRON
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\xb8' # 0x00b8 -> CEDILLA
- u'\xb9' # 0x00b9 -> SUPERSCRIPT ONE
- u'\xf7' # 0x00ba -> DIVISION SIGN
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbc' # 0x00bc -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00be -> VULGAR FRACTION THREE QUARTERS
- u'\xbf' # 0x00bf -> INVERTED QUESTION MARK
- u'\u05b0' # 0x00c0 -> HEBREW POINT SHEVA
- u'\u05b1' # 0x00c1 -> HEBREW POINT HATAF SEGOL
- u'\u05b2' # 0x00c2 -> HEBREW POINT HATAF PATAH
- u'\u05b3' # 0x00c3 -> HEBREW POINT HATAF QAMATS
- u'\u05b4' # 0x00c4 -> HEBREW POINT HIRIQ
- u'\u05b5' # 0x00c5 -> HEBREW POINT TSERE
- u'\u05b6' # 0x00c6 -> HEBREW POINT SEGOL
- u'\u05b7' # 0x00c7 -> HEBREW POINT PATAH
- u'\u05b8' # 0x00c8 -> HEBREW POINT QAMATS
- u'\u05b9' # 0x00c9 -> HEBREW POINT HOLAM
- u'\ufffe' # 0x00ca -> UNDEFINED
- u'\u05bb' # 0x00cb -> HEBREW POINT QUBUTS
- u'\u05bc' # 0x00cc -> HEBREW POINT DAGESH OR MAPIQ
- u'\u05bd' # 0x00cd -> HEBREW POINT METEG
- u'\u05be' # 0x00ce -> HEBREW PUNCTUATION MAQAF
- u'\u05bf' # 0x00cf -> HEBREW POINT RAFE
- u'\u05c0' # 0x00d0 -> HEBREW PUNCTUATION PASEQ
- u'\u05c1' # 0x00d1 -> HEBREW POINT SHIN DOT
- u'\u05c2' # 0x00d2 -> HEBREW POINT SIN DOT
- u'\u05c3' # 0x00d3 -> HEBREW PUNCTUATION SOF PASUQ
- u'\u05f0' # 0x00d4 -> HEBREW LIGATURE YIDDISH DOUBLE VAV
- u'\u05f1' # 0x00d5 -> HEBREW LIGATURE YIDDISH VAV YOD
- u'\u05f2' # 0x00d6 -> HEBREW LIGATURE YIDDISH DOUBLE YOD
- u'\u05f3' # 0x00d7 -> HEBREW PUNCTUATION GERESH
- u'\u05f4' # 0x00d8 -> HEBREW PUNCTUATION GERSHAYIM
- u'\ufffe' # 0x00d9 -> UNDEFINED
- u'\ufffe' # 0x00da -> UNDEFINED
- u'\ufffe' # 0x00db -> UNDEFINED
- u'\ufffe' # 0x00dc -> UNDEFINED
- u'\ufffe' # 0x00dd -> UNDEFINED
- u'\ufffe' # 0x00de -> UNDEFINED
- u'\ufffe' # 0x00df -> UNDEFINED
- u'\u05d0' # 0x00e0 -> HEBREW LETTER ALEF
- u'\u05d1' # 0x00e1 -> HEBREW LETTER BET
- u'\u05d2' # 0x00e2 -> HEBREW LETTER GIMEL
- u'\u05d3' # 0x00e3 -> HEBREW LETTER DALET
- u'\u05d4' # 0x00e4 -> HEBREW LETTER HE
- u'\u05d5' # 0x00e5 -> HEBREW LETTER VAV
- u'\u05d6' # 0x00e6 -> HEBREW LETTER ZAYIN
- u'\u05d7' # 0x00e7 -> HEBREW LETTER HET
- u'\u05d8' # 0x00e8 -> HEBREW LETTER TET
- u'\u05d9' # 0x00e9 -> HEBREW LETTER YOD
- u'\u05da' # 0x00ea -> HEBREW LETTER FINAL KAF
- u'\u05db' # 0x00eb -> HEBREW LETTER KAF
- u'\u05dc' # 0x00ec -> HEBREW LETTER LAMED
- u'\u05dd' # 0x00ed -> HEBREW LETTER FINAL MEM
- u'\u05de' # 0x00ee -> HEBREW LETTER MEM
- u'\u05df' # 0x00ef -> HEBREW LETTER FINAL NUN
- u'\u05e0' # 0x00f0 -> HEBREW LETTER NUN
- u'\u05e1' # 0x00f1 -> HEBREW LETTER SAMEKH
- u'\u05e2' # 0x00f2 -> HEBREW LETTER AYIN
- u'\u05e3' # 0x00f3 -> HEBREW LETTER FINAL PE
- u'\u05e4' # 0x00f4 -> HEBREW LETTER PE
- u'\u05e5' # 0x00f5 -> HEBREW LETTER FINAL TSADI
- u'\u05e6' # 0x00f6 -> HEBREW LETTER TSADI
- u'\u05e7' # 0x00f7 -> HEBREW LETTER QOF
- u'\u05e8' # 0x00f8 -> HEBREW LETTER RESH
- u'\u05e9' # 0x00f9 -> HEBREW LETTER SHIN
- u'\u05ea' # 0x00fa -> HEBREW LETTER TAV
- u'\ufffe' # 0x00fb -> UNDEFINED
- u'\ufffe' # 0x00fc -> UNDEFINED
- u'\u200e' # 0x00fd -> LEFT-TO-RIGHT MARK
- u'\u200f' # 0x00fe -> RIGHT-TO-LEFT MARK
- u'\ufffe' # 0x00ff -> UNDEFINED
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u20ac' # 0x80 -> EURO SIGN
+ u'\ufffe' # 0x81 -> UNDEFINED
+ u'\u201a' # 0x82 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u0192' # 0x83 -> LATIN SMALL LETTER F WITH HOOK
+ u'\u201e' # 0x84 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2026' # 0x85 -> HORIZONTAL ELLIPSIS
+ u'\u2020' # 0x86 -> DAGGER
+ u'\u2021' # 0x87 -> DOUBLE DAGGER
+ u'\u02c6' # 0x88 -> MODIFIER LETTER CIRCUMFLEX ACCENT
+ u'\u2030' # 0x89 -> PER MILLE SIGN
+ u'\ufffe' # 0x8a -> UNDEFINED
+ u'\u2039' # 0x8b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\ufffe' # 0x8c -> UNDEFINED
+ u'\ufffe' # 0x8d -> UNDEFINED
+ u'\ufffe' # 0x8e -> UNDEFINED
+ u'\ufffe' # 0x8f -> UNDEFINED
+ u'\ufffe' # 0x90 -> UNDEFINED
+ u'\u2018' # 0x91 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0x92 -> RIGHT SINGLE QUOTATION MARK
+ u'\u201c' # 0x93 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0x94 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2022' # 0x95 -> BULLET
+ u'\u2013' # 0x96 -> EN DASH
+ u'\u2014' # 0x97 -> EM DASH
+ u'\u02dc' # 0x98 -> SMALL TILDE
+ u'\u2122' # 0x99 -> TRADE MARK SIGN
+ u'\ufffe' # 0x9a -> UNDEFINED
+ u'\u203a' # 0x9b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\ufffe' # 0x9c -> UNDEFINED
+ u'\ufffe' # 0x9d -> UNDEFINED
+ u'\ufffe' # 0x9e -> UNDEFINED
+ u'\ufffe' # 0x9f -> UNDEFINED
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\xa1' # 0xa1 -> INVERTED EXCLAMATION MARK
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\u20aa' # 0xa4 -> NEW SHEQEL SIGN
+ u'\xa5' # 0xa5 -> YEN SIGN
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\xd7' # 0xaa -> MULTIPLICATION SIGN
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\xaf' # 0xaf -> MACRON
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\xb8' # 0xb8 -> CEDILLA
+ u'\xb9' # 0xb9 -> SUPERSCRIPT ONE
+ u'\xf7' # 0xba -> DIVISION SIGN
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbc' # 0xbc -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xbe -> VULGAR FRACTION THREE QUARTERS
+ u'\xbf' # 0xbf -> INVERTED QUESTION MARK
+ u'\u05b0' # 0xc0 -> HEBREW POINT SHEVA
+ u'\u05b1' # 0xc1 -> HEBREW POINT HATAF SEGOL
+ u'\u05b2' # 0xc2 -> HEBREW POINT HATAF PATAH
+ u'\u05b3' # 0xc3 -> HEBREW POINT HATAF QAMATS
+ u'\u05b4' # 0xc4 -> HEBREW POINT HIRIQ
+ u'\u05b5' # 0xc5 -> HEBREW POINT TSERE
+ u'\u05b6' # 0xc6 -> HEBREW POINT SEGOL
+ u'\u05b7' # 0xc7 -> HEBREW POINT PATAH
+ u'\u05b8' # 0xc8 -> HEBREW POINT QAMATS
+ u'\u05b9' # 0xc9 -> HEBREW POINT HOLAM
+ u'\ufffe' # 0xca -> UNDEFINED
+ u'\u05bb' # 0xcb -> HEBREW POINT QUBUTS
+ u'\u05bc' # 0xcc -> HEBREW POINT DAGESH OR MAPIQ
+ u'\u05bd' # 0xcd -> HEBREW POINT METEG
+ u'\u05be' # 0xce -> HEBREW PUNCTUATION MAQAF
+ u'\u05bf' # 0xcf -> HEBREW POINT RAFE
+ u'\u05c0' # 0xd0 -> HEBREW PUNCTUATION PASEQ
+ u'\u05c1' # 0xd1 -> HEBREW POINT SHIN DOT
+ u'\u05c2' # 0xd2 -> HEBREW POINT SIN DOT
+ u'\u05c3' # 0xd3 -> HEBREW PUNCTUATION SOF PASUQ
+ u'\u05f0' # 0xd4 -> HEBREW LIGATURE YIDDISH DOUBLE VAV
+ u'\u05f1' # 0xd5 -> HEBREW LIGATURE YIDDISH VAV YOD
+ u'\u05f2' # 0xd6 -> HEBREW LIGATURE YIDDISH DOUBLE YOD
+ u'\u05f3' # 0xd7 -> HEBREW PUNCTUATION GERESH
+ u'\u05f4' # 0xd8 -> HEBREW PUNCTUATION GERSHAYIM
+ u'\ufffe' # 0xd9 -> UNDEFINED
+ u'\ufffe' # 0xda -> UNDEFINED
+ u'\ufffe' # 0xdb -> UNDEFINED
+ u'\ufffe' # 0xdc -> UNDEFINED
+ u'\ufffe' # 0xdd -> UNDEFINED
+ u'\ufffe' # 0xde -> UNDEFINED
+ u'\ufffe' # 0xdf -> UNDEFINED
+ u'\u05d0' # 0xe0 -> HEBREW LETTER ALEF
+ u'\u05d1' # 0xe1 -> HEBREW LETTER BET
+ u'\u05d2' # 0xe2 -> HEBREW LETTER GIMEL
+ u'\u05d3' # 0xe3 -> HEBREW LETTER DALET
+ u'\u05d4' # 0xe4 -> HEBREW LETTER HE
+ u'\u05d5' # 0xe5 -> HEBREW LETTER VAV
+ u'\u05d6' # 0xe6 -> HEBREW LETTER ZAYIN
+ u'\u05d7' # 0xe7 -> HEBREW LETTER HET
+ u'\u05d8' # 0xe8 -> HEBREW LETTER TET
+ u'\u05d9' # 0xe9 -> HEBREW LETTER YOD
+ u'\u05da' # 0xea -> HEBREW LETTER FINAL KAF
+ u'\u05db' # 0xeb -> HEBREW LETTER KAF
+ u'\u05dc' # 0xec -> HEBREW LETTER LAMED
+ u'\u05dd' # 0xed -> HEBREW LETTER FINAL MEM
+ u'\u05de' # 0xee -> HEBREW LETTER MEM
+ u'\u05df' # 0xef -> HEBREW LETTER FINAL NUN
+ u'\u05e0' # 0xf0 -> HEBREW LETTER NUN
+ u'\u05e1' # 0xf1 -> HEBREW LETTER SAMEKH
+ u'\u05e2' # 0xf2 -> HEBREW LETTER AYIN
+ u'\u05e3' # 0xf3 -> HEBREW LETTER FINAL PE
+ u'\u05e4' # 0xf4 -> HEBREW LETTER PE
+ u'\u05e5' # 0xf5 -> HEBREW LETTER FINAL TSADI
+ u'\u05e6' # 0xf6 -> HEBREW LETTER TSADI
+ u'\u05e7' # 0xf7 -> HEBREW LETTER QOF
+ u'\u05e8' # 0xf8 -> HEBREW LETTER RESH
+ u'\u05e9' # 0xf9 -> HEBREW LETTER SHIN
+ u'\u05ea' # 0xfa -> HEBREW LETTER TAV
+ u'\ufffe' # 0xfb -> UNDEFINED
+ u'\ufffe' # 0xfc -> UNDEFINED
+ u'\u200e' # 0xfd -> LEFT-TO-RIGHT MARK
+ u'\u200f' # 0xfe -> RIGHT-TO-LEFT MARK
+ u'\ufffe' # 0xff -> UNDEFINED
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a1: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a5: 0x00a5, # YEN SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00af: 0x00af, # MACRON
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b8: 0x00b8, # CEDILLA
- 0x00b9: 0x00b9, # SUPERSCRIPT ONE
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00bf: 0x00bf, # INVERTED QUESTION MARK
- 0x00d7: 0x00aa, # MULTIPLICATION SIGN
- 0x00f7: 0x00ba, # DIVISION SIGN
- 0x0192: 0x0083, # LATIN SMALL LETTER F WITH HOOK
- 0x02c6: 0x0088, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x02dc: 0x0098, # SMALL TILDE
- 0x05b0: 0x00c0, # HEBREW POINT SHEVA
- 0x05b1: 0x00c1, # HEBREW POINT HATAF SEGOL
- 0x05b2: 0x00c2, # HEBREW POINT HATAF PATAH
- 0x05b3: 0x00c3, # HEBREW POINT HATAF QAMATS
- 0x05b4: 0x00c4, # HEBREW POINT HIRIQ
- 0x05b5: 0x00c5, # HEBREW POINT TSERE
- 0x05b6: 0x00c6, # HEBREW POINT SEGOL
- 0x05b7: 0x00c7, # HEBREW POINT PATAH
- 0x05b8: 0x00c8, # HEBREW POINT QAMATS
- 0x05b9: 0x00c9, # HEBREW POINT HOLAM
- 0x05bb: 0x00cb, # HEBREW POINT QUBUTS
- 0x05bc: 0x00cc, # HEBREW POINT DAGESH OR MAPIQ
- 0x05bd: 0x00cd, # HEBREW POINT METEG
- 0x05be: 0x00ce, # HEBREW PUNCTUATION MAQAF
- 0x05bf: 0x00cf, # HEBREW POINT RAFE
- 0x05c0: 0x00d0, # HEBREW PUNCTUATION PASEQ
- 0x05c1: 0x00d1, # HEBREW POINT SHIN DOT
- 0x05c2: 0x00d2, # HEBREW POINT SIN DOT
- 0x05c3: 0x00d3, # HEBREW PUNCTUATION SOF PASUQ
- 0x05d0: 0x00e0, # HEBREW LETTER ALEF
- 0x05d1: 0x00e1, # HEBREW LETTER BET
- 0x05d2: 0x00e2, # HEBREW LETTER GIMEL
- 0x05d3: 0x00e3, # HEBREW LETTER DALET
- 0x05d4: 0x00e4, # HEBREW LETTER HE
- 0x05d5: 0x00e5, # HEBREW LETTER VAV
- 0x05d6: 0x00e6, # HEBREW LETTER ZAYIN
- 0x05d7: 0x00e7, # HEBREW LETTER HET
- 0x05d8: 0x00e8, # HEBREW LETTER TET
- 0x05d9: 0x00e9, # HEBREW LETTER YOD
- 0x05da: 0x00ea, # HEBREW LETTER FINAL KAF
- 0x05db: 0x00eb, # HEBREW LETTER KAF
- 0x05dc: 0x00ec, # HEBREW LETTER LAMED
- 0x05dd: 0x00ed, # HEBREW LETTER FINAL MEM
- 0x05de: 0x00ee, # HEBREW LETTER MEM
- 0x05df: 0x00ef, # HEBREW LETTER FINAL NUN
- 0x05e0: 0x00f0, # HEBREW LETTER NUN
- 0x05e1: 0x00f1, # HEBREW LETTER SAMEKH
- 0x05e2: 0x00f2, # HEBREW LETTER AYIN
- 0x05e3: 0x00f3, # HEBREW LETTER FINAL PE
- 0x05e4: 0x00f4, # HEBREW LETTER PE
- 0x05e5: 0x00f5, # HEBREW LETTER FINAL TSADI
- 0x05e6: 0x00f6, # HEBREW LETTER TSADI
- 0x05e7: 0x00f7, # HEBREW LETTER QOF
- 0x05e8: 0x00f8, # HEBREW LETTER RESH
- 0x05e9: 0x00f9, # HEBREW LETTER SHIN
- 0x05ea: 0x00fa, # HEBREW LETTER TAV
- 0x05f0: 0x00d4, # HEBREW LIGATURE YIDDISH DOUBLE VAV
- 0x05f1: 0x00d5, # HEBREW LIGATURE YIDDISH VAV YOD
- 0x05f2: 0x00d6, # HEBREW LIGATURE YIDDISH DOUBLE YOD
- 0x05f3: 0x00d7, # HEBREW PUNCTUATION GERESH
- 0x05f4: 0x00d8, # HEBREW PUNCTUATION GERSHAYIM
- 0x200e: 0x00fd, # LEFT-TO-RIGHT MARK
- 0x200f: 0x00fe, # RIGHT-TO-LEFT MARK
- 0x2013: 0x0096, # EN DASH
- 0x2014: 0x0097, # EM DASH
- 0x2018: 0x0091, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x0092, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x0082, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x0093, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x0094, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x0084, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x0086, # DAGGER
- 0x2021: 0x0087, # DOUBLE DAGGER
- 0x2022: 0x0095, # BULLET
- 0x2026: 0x0085, # HORIZONTAL ELLIPSIS
- 0x2030: 0x0089, # PER MILLE SIGN
- 0x2039: 0x008b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x009b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x20aa: 0x00a4, # NEW SHEQEL SIGN
- 0x20ac: 0x0080, # EURO SIGN
- 0x2122: 0x0099, # TRADE MARK SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a1: 0xa1, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a5: 0xa5, # YEN SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00af: 0xaf, # MACRON
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b8: 0xb8, # CEDILLA
+ 0x00b9: 0xb9, # SUPERSCRIPT ONE
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xbc, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xbe, # VULGAR FRACTION THREE QUARTERS
+ 0x00bf: 0xbf, # INVERTED QUESTION MARK
+ 0x00d7: 0xaa, # MULTIPLICATION SIGN
+ 0x00f7: 0xba, # DIVISION SIGN
+ 0x0192: 0x83, # LATIN SMALL LETTER F WITH HOOK
+ 0x02c6: 0x88, # MODIFIER LETTER CIRCUMFLEX ACCENT
+ 0x02dc: 0x98, # SMALL TILDE
+ 0x05b0: 0xc0, # HEBREW POINT SHEVA
+ 0x05b1: 0xc1, # HEBREW POINT HATAF SEGOL
+ 0x05b2: 0xc2, # HEBREW POINT HATAF PATAH
+ 0x05b3: 0xc3, # HEBREW POINT HATAF QAMATS
+ 0x05b4: 0xc4, # HEBREW POINT HIRIQ
+ 0x05b5: 0xc5, # HEBREW POINT TSERE
+ 0x05b6: 0xc6, # HEBREW POINT SEGOL
+ 0x05b7: 0xc7, # HEBREW POINT PATAH
+ 0x05b8: 0xc8, # HEBREW POINT QAMATS
+ 0x05b9: 0xc9, # HEBREW POINT HOLAM
+ 0x05bb: 0xcb, # HEBREW POINT QUBUTS
+ 0x05bc: 0xcc, # HEBREW POINT DAGESH OR MAPIQ
+ 0x05bd: 0xcd, # HEBREW POINT METEG
+ 0x05be: 0xce, # HEBREW PUNCTUATION MAQAF
+ 0x05bf: 0xcf, # HEBREW POINT RAFE
+ 0x05c0: 0xd0, # HEBREW PUNCTUATION PASEQ
+ 0x05c1: 0xd1, # HEBREW POINT SHIN DOT
+ 0x05c2: 0xd2, # HEBREW POINT SIN DOT
+ 0x05c3: 0xd3, # HEBREW PUNCTUATION SOF PASUQ
+ 0x05d0: 0xe0, # HEBREW LETTER ALEF
+ 0x05d1: 0xe1, # HEBREW LETTER BET
+ 0x05d2: 0xe2, # HEBREW LETTER GIMEL
+ 0x05d3: 0xe3, # HEBREW LETTER DALET
+ 0x05d4: 0xe4, # HEBREW LETTER HE
+ 0x05d5: 0xe5, # HEBREW LETTER VAV
+ 0x05d6: 0xe6, # HEBREW LETTER ZAYIN
+ 0x05d7: 0xe7, # HEBREW LETTER HET
+ 0x05d8: 0xe8, # HEBREW LETTER TET
+ 0x05d9: 0xe9, # HEBREW LETTER YOD
+ 0x05da: 0xea, # HEBREW LETTER FINAL KAF
+ 0x05db: 0xeb, # HEBREW LETTER KAF
+ 0x05dc: 0xec, # HEBREW LETTER LAMED
+ 0x05dd: 0xed, # HEBREW LETTER FINAL MEM
+ 0x05de: 0xee, # HEBREW LETTER MEM
+ 0x05df: 0xef, # HEBREW LETTER FINAL NUN
+ 0x05e0: 0xf0, # HEBREW LETTER NUN
+ 0x05e1: 0xf1, # HEBREW LETTER SAMEKH
+ 0x05e2: 0xf2, # HEBREW LETTER AYIN
+ 0x05e3: 0xf3, # HEBREW LETTER FINAL PE
+ 0x05e4: 0xf4, # HEBREW LETTER PE
+ 0x05e5: 0xf5, # HEBREW LETTER FINAL TSADI
+ 0x05e6: 0xf6, # HEBREW LETTER TSADI
+ 0x05e7: 0xf7, # HEBREW LETTER QOF
+ 0x05e8: 0xf8, # HEBREW LETTER RESH
+ 0x05e9: 0xf9, # HEBREW LETTER SHIN
+ 0x05ea: 0xfa, # HEBREW LETTER TAV
+ 0x05f0: 0xd4, # HEBREW LIGATURE YIDDISH DOUBLE VAV
+ 0x05f1: 0xd5, # HEBREW LIGATURE YIDDISH VAV YOD
+ 0x05f2: 0xd6, # HEBREW LIGATURE YIDDISH DOUBLE YOD
+ 0x05f3: 0xd7, # HEBREW PUNCTUATION GERESH
+ 0x05f4: 0xd8, # HEBREW PUNCTUATION GERSHAYIM
+ 0x200e: 0xfd, # LEFT-TO-RIGHT MARK
+ 0x200f: 0xfe, # RIGHT-TO-LEFT MARK
+ 0x2013: 0x96, # EN DASH
+ 0x2014: 0x97, # EM DASH
+ 0x2018: 0x91, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0x92, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0x82, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0x93, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0x94, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0x84, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0x86, # DAGGER
+ 0x2021: 0x87, # DOUBLE DAGGER
+ 0x2022: 0x95, # BULLET
+ 0x2026: 0x85, # HORIZONTAL ELLIPSIS
+ 0x2030: 0x89, # PER MILLE SIGN
+ 0x2039: 0x8b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0x9b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x20aa: 0xa4, # NEW SHEQEL SIGN
+ 0x20ac: 0x80, # EURO SIGN
+ 0x2122: 0x99, # TRADE MARK SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/cp1256.py b/Lib/encodings/cp1256.py
index a913f9c57cf..17fa9302ef2 100644
--- a/Lib/encodings/cp1256.py
+++ b/Lib/encodings/cp1256.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/WINDOWS/CP1256.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1256.TXT' with gencodec.py.
"""#"
@@ -28,615 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x20ac, # EURO SIGN
- 0x0081: 0x067e, # ARABIC LETTER PEH
- 0x0082: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x0083: 0x0192, # LATIN SMALL LETTER F WITH HOOK
- 0x0084: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x0085: 0x2026, # HORIZONTAL ELLIPSIS
- 0x0086: 0x2020, # DAGGER
- 0x0087: 0x2021, # DOUBLE DAGGER
- 0x0088: 0x02c6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x0089: 0x2030, # PER MILLE SIGN
- 0x008a: 0x0679, # ARABIC LETTER TTEH
- 0x008b: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x008c: 0x0152, # LATIN CAPITAL LIGATURE OE
- 0x008d: 0x0686, # ARABIC LETTER TCHEH
- 0x008e: 0x0698, # ARABIC LETTER JEH
- 0x008f: 0x0688, # ARABIC LETTER DDAL
- 0x0090: 0x06af, # ARABIC LETTER GAF
- 0x0091: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x0092: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x0093: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x0094: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x0095: 0x2022, # BULLET
- 0x0096: 0x2013, # EN DASH
- 0x0097: 0x2014, # EM DASH
- 0x0098: 0x06a9, # ARABIC LETTER KEHEH
- 0x0099: 0x2122, # TRADE MARK SIGN
- 0x009a: 0x0691, # ARABIC LETTER RREH
- 0x009b: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x009c: 0x0153, # LATIN SMALL LIGATURE OE
- 0x009d: 0x200c, # ZERO WIDTH NON-JOINER
- 0x009e: 0x200d, # ZERO WIDTH JOINER
- 0x009f: 0x06ba, # ARABIC LETTER NOON GHUNNA
- 0x00a1: 0x060c, # ARABIC COMMA
- 0x00aa: 0x06be, # ARABIC LETTER HEH DOACHASHMEE
- 0x00ba: 0x061b, # ARABIC SEMICOLON
- 0x00bf: 0x061f, # ARABIC QUESTION MARK
- 0x00c0: 0x06c1, # ARABIC LETTER HEH GOAL
- 0x00c1: 0x0621, # ARABIC LETTER HAMZA
- 0x00c2: 0x0622, # ARABIC LETTER ALEF WITH MADDA ABOVE
- 0x00c3: 0x0623, # ARABIC LETTER ALEF WITH HAMZA ABOVE
- 0x00c4: 0x0624, # ARABIC LETTER WAW WITH HAMZA ABOVE
- 0x00c5: 0x0625, # ARABIC LETTER ALEF WITH HAMZA BELOW
- 0x00c6: 0x0626, # ARABIC LETTER YEH WITH HAMZA ABOVE
- 0x00c7: 0x0627, # ARABIC LETTER ALEF
- 0x00c8: 0x0628, # ARABIC LETTER BEH
- 0x00c9: 0x0629, # ARABIC LETTER TEH MARBUTA
- 0x00ca: 0x062a, # ARABIC LETTER TEH
- 0x00cb: 0x062b, # ARABIC LETTER THEH
- 0x00cc: 0x062c, # ARABIC LETTER JEEM
- 0x00cd: 0x062d, # ARABIC LETTER HAH
- 0x00ce: 0x062e, # ARABIC LETTER KHAH
- 0x00cf: 0x062f, # ARABIC LETTER DAL
- 0x00d0: 0x0630, # ARABIC LETTER THAL
- 0x00d1: 0x0631, # ARABIC LETTER REH
- 0x00d2: 0x0632, # ARABIC LETTER ZAIN
- 0x00d3: 0x0633, # ARABIC LETTER SEEN
- 0x00d4: 0x0634, # ARABIC LETTER SHEEN
- 0x00d5: 0x0635, # ARABIC LETTER SAD
- 0x00d6: 0x0636, # ARABIC LETTER DAD
- 0x00d8: 0x0637, # ARABIC LETTER TAH
- 0x00d9: 0x0638, # ARABIC LETTER ZAH
- 0x00da: 0x0639, # ARABIC LETTER AIN
- 0x00db: 0x063a, # ARABIC LETTER GHAIN
- 0x00dc: 0x0640, # ARABIC TATWEEL
- 0x00dd: 0x0641, # ARABIC LETTER FEH
- 0x00de: 0x0642, # ARABIC LETTER QAF
- 0x00df: 0x0643, # ARABIC LETTER KAF
- 0x00e1: 0x0644, # ARABIC LETTER LAM
- 0x00e3: 0x0645, # ARABIC LETTER MEEM
- 0x00e4: 0x0646, # ARABIC LETTER NOON
- 0x00e5: 0x0647, # ARABIC LETTER HEH
- 0x00e6: 0x0648, # ARABIC LETTER WAW
- 0x00ec: 0x0649, # ARABIC LETTER ALEF MAKSURA
- 0x00ed: 0x064a, # ARABIC LETTER YEH
- 0x00f0: 0x064b, # ARABIC FATHATAN
- 0x00f1: 0x064c, # ARABIC DAMMATAN
- 0x00f2: 0x064d, # ARABIC KASRATAN
- 0x00f3: 0x064e, # ARABIC FATHA
- 0x00f5: 0x064f, # ARABIC DAMMA
- 0x00f6: 0x0650, # ARABIC KASRA
- 0x00f8: 0x0651, # ARABIC SHADDA
- 0x00fa: 0x0652, # ARABIC SUKUN
- 0x00fd: 0x200e, # LEFT-TO-RIGHT MARK
- 0x00fe: 0x200f, # RIGHT-TO-LEFT MARK
- 0x00ff: 0x06d2, # ARABIC LETTER YEH BARREE
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\u20ac' # 0x0080 -> EURO SIGN
- u'\u067e' # 0x0081 -> ARABIC LETTER PEH
- u'\u201a' # 0x0082 -> SINGLE LOW-9 QUOTATION MARK
- u'\u0192' # 0x0083 -> LATIN SMALL LETTER F WITH HOOK
- u'\u201e' # 0x0084 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2026' # 0x0085 -> HORIZONTAL ELLIPSIS
- u'\u2020' # 0x0086 -> DAGGER
- u'\u2021' # 0x0087 -> DOUBLE DAGGER
- u'\u02c6' # 0x0088 -> MODIFIER LETTER CIRCUMFLEX ACCENT
- u'\u2030' # 0x0089 -> PER MILLE SIGN
- u'\u0679' # 0x008a -> ARABIC LETTER TTEH
- u'\u2039' # 0x008b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\u0152' # 0x008c -> LATIN CAPITAL LIGATURE OE
- u'\u0686' # 0x008d -> ARABIC LETTER TCHEH
- u'\u0698' # 0x008e -> ARABIC LETTER JEH
- u'\u0688' # 0x008f -> ARABIC LETTER DDAL
- u'\u06af' # 0x0090 -> ARABIC LETTER GAF
- u'\u2018' # 0x0091 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x0092 -> RIGHT SINGLE QUOTATION MARK
- u'\u201c' # 0x0093 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x0094 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2022' # 0x0095 -> BULLET
- u'\u2013' # 0x0096 -> EN DASH
- u'\u2014' # 0x0097 -> EM DASH
- u'\u06a9' # 0x0098 -> ARABIC LETTER KEHEH
- u'\u2122' # 0x0099 -> TRADE MARK SIGN
- u'\u0691' # 0x009a -> ARABIC LETTER RREH
- u'\u203a' # 0x009b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\u0153' # 0x009c -> LATIN SMALL LIGATURE OE
- u'\u200c' # 0x009d -> ZERO WIDTH NON-JOINER
- u'\u200d' # 0x009e -> ZERO WIDTH JOINER
- u'\u06ba' # 0x009f -> ARABIC LETTER NOON GHUNNA
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u060c' # 0x00a1 -> ARABIC COMMA
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\xa5' # 0x00a5 -> YEN SIGN
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u06be' # 0x00aa -> ARABIC LETTER HEH DOACHASHMEE
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\xaf' # 0x00af -> MACRON
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\xb8' # 0x00b8 -> CEDILLA
- u'\xb9' # 0x00b9 -> SUPERSCRIPT ONE
- u'\u061b' # 0x00ba -> ARABIC SEMICOLON
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbc' # 0x00bc -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00be -> VULGAR FRACTION THREE QUARTERS
- u'\u061f' # 0x00bf -> ARABIC QUESTION MARK
- u'\u06c1' # 0x00c0 -> ARABIC LETTER HEH GOAL
- u'\u0621' # 0x00c1 -> ARABIC LETTER HAMZA
- u'\u0622' # 0x00c2 -> ARABIC LETTER ALEF WITH MADDA ABOVE
- u'\u0623' # 0x00c3 -> ARABIC LETTER ALEF WITH HAMZA ABOVE
- u'\u0624' # 0x00c4 -> ARABIC LETTER WAW WITH HAMZA ABOVE
- u'\u0625' # 0x00c5 -> ARABIC LETTER ALEF WITH HAMZA BELOW
- u'\u0626' # 0x00c6 -> ARABIC LETTER YEH WITH HAMZA ABOVE
- u'\u0627' # 0x00c7 -> ARABIC LETTER ALEF
- u'\u0628' # 0x00c8 -> ARABIC LETTER BEH
- u'\u0629' # 0x00c9 -> ARABIC LETTER TEH MARBUTA
- u'\u062a' # 0x00ca -> ARABIC LETTER TEH
- u'\u062b' # 0x00cb -> ARABIC LETTER THEH
- u'\u062c' # 0x00cc -> ARABIC LETTER JEEM
- u'\u062d' # 0x00cd -> ARABIC LETTER HAH
- u'\u062e' # 0x00ce -> ARABIC LETTER KHAH
- u'\u062f' # 0x00cf -> ARABIC LETTER DAL
- u'\u0630' # 0x00d0 -> ARABIC LETTER THAL
- u'\u0631' # 0x00d1 -> ARABIC LETTER REH
- u'\u0632' # 0x00d2 -> ARABIC LETTER ZAIN
- u'\u0633' # 0x00d3 -> ARABIC LETTER SEEN
- u'\u0634' # 0x00d4 -> ARABIC LETTER SHEEN
- u'\u0635' # 0x00d5 -> ARABIC LETTER SAD
- u'\u0636' # 0x00d6 -> ARABIC LETTER DAD
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\u0637' # 0x00d8 -> ARABIC LETTER TAH
- u'\u0638' # 0x00d9 -> ARABIC LETTER ZAH
- u'\u0639' # 0x00da -> ARABIC LETTER AIN
- u'\u063a' # 0x00db -> ARABIC LETTER GHAIN
- u'\u0640' # 0x00dc -> ARABIC TATWEEL
- u'\u0641' # 0x00dd -> ARABIC LETTER FEH
- u'\u0642' # 0x00de -> ARABIC LETTER QAF
- u'\u0643' # 0x00df -> ARABIC LETTER KAF
- u'\xe0' # 0x00e0 -> LATIN SMALL LETTER A WITH GRAVE
- u'\u0644' # 0x00e1 -> ARABIC LETTER LAM
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\u0645' # 0x00e3 -> ARABIC LETTER MEEM
- u'\u0646' # 0x00e4 -> ARABIC LETTER NOON
- u'\u0647' # 0x00e5 -> ARABIC LETTER HEH
- u'\u0648' # 0x00e6 -> ARABIC LETTER WAW
- u'\xe7' # 0x00e7 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe8' # 0x00e8 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x00ea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\u0649' # 0x00ec -> ARABIC LETTER ALEF MAKSURA
- u'\u064a' # 0x00ed -> ARABIC LETTER YEH
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x00ef -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\u064b' # 0x00f0 -> ARABIC FATHATAN
- u'\u064c' # 0x00f1 -> ARABIC DAMMATAN
- u'\u064d' # 0x00f2 -> ARABIC KASRATAN
- u'\u064e' # 0x00f3 -> ARABIC FATHA
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\u064f' # 0x00f5 -> ARABIC DAMMA
- u'\u0650' # 0x00f6 -> ARABIC KASRA
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\u0651' # 0x00f8 -> ARABIC SHADDA
- u'\xf9' # 0x00f9 -> LATIN SMALL LETTER U WITH GRAVE
- u'\u0652' # 0x00fa -> ARABIC SUKUN
- u'\xfb' # 0x00fb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u200e' # 0x00fd -> LEFT-TO-RIGHT MARK
- u'\u200f' # 0x00fe -> RIGHT-TO-LEFT MARK
- u'\u06d2' # 0x00ff -> ARABIC LETTER YEH BARREE
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u20ac' # 0x80 -> EURO SIGN
+ u'\u067e' # 0x81 -> ARABIC LETTER PEH
+ u'\u201a' # 0x82 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u0192' # 0x83 -> LATIN SMALL LETTER F WITH HOOK
+ u'\u201e' # 0x84 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2026' # 0x85 -> HORIZONTAL ELLIPSIS
+ u'\u2020' # 0x86 -> DAGGER
+ u'\u2021' # 0x87 -> DOUBLE DAGGER
+ u'\u02c6' # 0x88 -> MODIFIER LETTER CIRCUMFLEX ACCENT
+ u'\u2030' # 0x89 -> PER MILLE SIGN
+ u'\u0679' # 0x8a -> ARABIC LETTER TTEH
+ u'\u2039' # 0x8b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\u0152' # 0x8c -> LATIN CAPITAL LIGATURE OE
+ u'\u0686' # 0x8d -> ARABIC LETTER TCHEH
+ u'\u0698' # 0x8e -> ARABIC LETTER JEH
+ u'\u0688' # 0x8f -> ARABIC LETTER DDAL
+ u'\u06af' # 0x90 -> ARABIC LETTER GAF
+ u'\u2018' # 0x91 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0x92 -> RIGHT SINGLE QUOTATION MARK
+ u'\u201c' # 0x93 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0x94 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2022' # 0x95 -> BULLET
+ u'\u2013' # 0x96 -> EN DASH
+ u'\u2014' # 0x97 -> EM DASH
+ u'\u06a9' # 0x98 -> ARABIC LETTER KEHEH
+ u'\u2122' # 0x99 -> TRADE MARK SIGN
+ u'\u0691' # 0x9a -> ARABIC LETTER RREH
+ u'\u203a' # 0x9b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\u0153' # 0x9c -> LATIN SMALL LIGATURE OE
+ u'\u200c' # 0x9d -> ZERO WIDTH NON-JOINER
+ u'\u200d' # 0x9e -> ZERO WIDTH JOINER
+ u'\u06ba' # 0x9f -> ARABIC LETTER NOON GHUNNA
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u060c' # 0xa1 -> ARABIC COMMA
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\xa5' # 0xa5 -> YEN SIGN
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u06be' # 0xaa -> ARABIC LETTER HEH DOACHASHMEE
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\xaf' # 0xaf -> MACRON
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\xb8' # 0xb8 -> CEDILLA
+ u'\xb9' # 0xb9 -> SUPERSCRIPT ONE
+ u'\u061b' # 0xba -> ARABIC SEMICOLON
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbc' # 0xbc -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xbe -> VULGAR FRACTION THREE QUARTERS
+ u'\u061f' # 0xbf -> ARABIC QUESTION MARK
+ u'\u06c1' # 0xc0 -> ARABIC LETTER HEH GOAL
+ u'\u0621' # 0xc1 -> ARABIC LETTER HAMZA
+ u'\u0622' # 0xc2 -> ARABIC LETTER ALEF WITH MADDA ABOVE
+ u'\u0623' # 0xc3 -> ARABIC LETTER ALEF WITH HAMZA ABOVE
+ u'\u0624' # 0xc4 -> ARABIC LETTER WAW WITH HAMZA ABOVE
+ u'\u0625' # 0xc5 -> ARABIC LETTER ALEF WITH HAMZA BELOW
+ u'\u0626' # 0xc6 -> ARABIC LETTER YEH WITH HAMZA ABOVE
+ u'\u0627' # 0xc7 -> ARABIC LETTER ALEF
+ u'\u0628' # 0xc8 -> ARABIC LETTER BEH
+ u'\u0629' # 0xc9 -> ARABIC LETTER TEH MARBUTA
+ u'\u062a' # 0xca -> ARABIC LETTER TEH
+ u'\u062b' # 0xcb -> ARABIC LETTER THEH
+ u'\u062c' # 0xcc -> ARABIC LETTER JEEM
+ u'\u062d' # 0xcd -> ARABIC LETTER HAH
+ u'\u062e' # 0xce -> ARABIC LETTER KHAH
+ u'\u062f' # 0xcf -> ARABIC LETTER DAL
+ u'\u0630' # 0xd0 -> ARABIC LETTER THAL
+ u'\u0631' # 0xd1 -> ARABIC LETTER REH
+ u'\u0632' # 0xd2 -> ARABIC LETTER ZAIN
+ u'\u0633' # 0xd3 -> ARABIC LETTER SEEN
+ u'\u0634' # 0xd4 -> ARABIC LETTER SHEEN
+ u'\u0635' # 0xd5 -> ARABIC LETTER SAD
+ u'\u0636' # 0xd6 -> ARABIC LETTER DAD
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\u0637' # 0xd8 -> ARABIC LETTER TAH
+ u'\u0638' # 0xd9 -> ARABIC LETTER ZAH
+ u'\u0639' # 0xda -> ARABIC LETTER AIN
+ u'\u063a' # 0xdb -> ARABIC LETTER GHAIN
+ u'\u0640' # 0xdc -> ARABIC TATWEEL
+ u'\u0641' # 0xdd -> ARABIC LETTER FEH
+ u'\u0642' # 0xde -> ARABIC LETTER QAF
+ u'\u0643' # 0xdf -> ARABIC LETTER KAF
+ u'\xe0' # 0xe0 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\u0644' # 0xe1 -> ARABIC LETTER LAM
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\u0645' # 0xe3 -> ARABIC LETTER MEEM
+ u'\u0646' # 0xe4 -> ARABIC LETTER NOON
+ u'\u0647' # 0xe5 -> ARABIC LETTER HEH
+ u'\u0648' # 0xe6 -> ARABIC LETTER WAW
+ u'\xe7' # 0xe7 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe8' # 0xe8 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0xea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\u0649' # 0xec -> ARABIC LETTER ALEF MAKSURA
+ u'\u064a' # 0xed -> ARABIC LETTER YEH
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0xef -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\u064b' # 0xf0 -> ARABIC FATHATAN
+ u'\u064c' # 0xf1 -> ARABIC DAMMATAN
+ u'\u064d' # 0xf2 -> ARABIC KASRATAN
+ u'\u064e' # 0xf3 -> ARABIC FATHA
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\u064f' # 0xf5 -> ARABIC DAMMA
+ u'\u0650' # 0xf6 -> ARABIC KASRA
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\u0651' # 0xf8 -> ARABIC SHADDA
+ u'\xf9' # 0xf9 -> LATIN SMALL LETTER U WITH GRAVE
+ u'\u0652' # 0xfa -> ARABIC SUKUN
+ u'\xfb' # 0xfb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u200e' # 0xfd -> LEFT-TO-RIGHT MARK
+ u'\u200f' # 0xfe -> RIGHT-TO-LEFT MARK
+ u'\u06d2' # 0xff -> ARABIC LETTER YEH BARREE
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a5: 0x00a5, # YEN SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00af: 0x00af, # MACRON
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b8: 0x00b8, # CEDILLA
- 0x00b9: 0x00b9, # SUPERSCRIPT ONE
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00e0: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e7: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00f9: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fb: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x0152: 0x008c, # LATIN CAPITAL LIGATURE OE
- 0x0153: 0x009c, # LATIN SMALL LIGATURE OE
- 0x0192: 0x0083, # LATIN SMALL LETTER F WITH HOOK
- 0x02c6: 0x0088, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x060c: 0x00a1, # ARABIC COMMA
- 0x061b: 0x00ba, # ARABIC SEMICOLON
- 0x061f: 0x00bf, # ARABIC QUESTION MARK
- 0x0621: 0x00c1, # ARABIC LETTER HAMZA
- 0x0622: 0x00c2, # ARABIC LETTER ALEF WITH MADDA ABOVE
- 0x0623: 0x00c3, # ARABIC LETTER ALEF WITH HAMZA ABOVE
- 0x0624: 0x00c4, # ARABIC LETTER WAW WITH HAMZA ABOVE
- 0x0625: 0x00c5, # ARABIC LETTER ALEF WITH HAMZA BELOW
- 0x0626: 0x00c6, # ARABIC LETTER YEH WITH HAMZA ABOVE
- 0x0627: 0x00c7, # ARABIC LETTER ALEF
- 0x0628: 0x00c8, # ARABIC LETTER BEH
- 0x0629: 0x00c9, # ARABIC LETTER TEH MARBUTA
- 0x062a: 0x00ca, # ARABIC LETTER TEH
- 0x062b: 0x00cb, # ARABIC LETTER THEH
- 0x062c: 0x00cc, # ARABIC LETTER JEEM
- 0x062d: 0x00cd, # ARABIC LETTER HAH
- 0x062e: 0x00ce, # ARABIC LETTER KHAH
- 0x062f: 0x00cf, # ARABIC LETTER DAL
- 0x0630: 0x00d0, # ARABIC LETTER THAL
- 0x0631: 0x00d1, # ARABIC LETTER REH
- 0x0632: 0x00d2, # ARABIC LETTER ZAIN
- 0x0633: 0x00d3, # ARABIC LETTER SEEN
- 0x0634: 0x00d4, # ARABIC LETTER SHEEN
- 0x0635: 0x00d5, # ARABIC LETTER SAD
- 0x0636: 0x00d6, # ARABIC LETTER DAD
- 0x0637: 0x00d8, # ARABIC LETTER TAH
- 0x0638: 0x00d9, # ARABIC LETTER ZAH
- 0x0639: 0x00da, # ARABIC LETTER AIN
- 0x063a: 0x00db, # ARABIC LETTER GHAIN
- 0x0640: 0x00dc, # ARABIC TATWEEL
- 0x0641: 0x00dd, # ARABIC LETTER FEH
- 0x0642: 0x00de, # ARABIC LETTER QAF
- 0x0643: 0x00df, # ARABIC LETTER KAF
- 0x0644: 0x00e1, # ARABIC LETTER LAM
- 0x0645: 0x00e3, # ARABIC LETTER MEEM
- 0x0646: 0x00e4, # ARABIC LETTER NOON
- 0x0647: 0x00e5, # ARABIC LETTER HEH
- 0x0648: 0x00e6, # ARABIC LETTER WAW
- 0x0649: 0x00ec, # ARABIC LETTER ALEF MAKSURA
- 0x064a: 0x00ed, # ARABIC LETTER YEH
- 0x064b: 0x00f0, # ARABIC FATHATAN
- 0x064c: 0x00f1, # ARABIC DAMMATAN
- 0x064d: 0x00f2, # ARABIC KASRATAN
- 0x064e: 0x00f3, # ARABIC FATHA
- 0x064f: 0x00f5, # ARABIC DAMMA
- 0x0650: 0x00f6, # ARABIC KASRA
- 0x0651: 0x00f8, # ARABIC SHADDA
- 0x0652: 0x00fa, # ARABIC SUKUN
- 0x0679: 0x008a, # ARABIC LETTER TTEH
- 0x067e: 0x0081, # ARABIC LETTER PEH
- 0x0686: 0x008d, # ARABIC LETTER TCHEH
- 0x0688: 0x008f, # ARABIC LETTER DDAL
- 0x0691: 0x009a, # ARABIC LETTER RREH
- 0x0698: 0x008e, # ARABIC LETTER JEH
- 0x06a9: 0x0098, # ARABIC LETTER KEHEH
- 0x06af: 0x0090, # ARABIC LETTER GAF
- 0x06ba: 0x009f, # ARABIC LETTER NOON GHUNNA
- 0x06be: 0x00aa, # ARABIC LETTER HEH DOACHASHMEE
- 0x06c1: 0x00c0, # ARABIC LETTER HEH GOAL
- 0x06d2: 0x00ff, # ARABIC LETTER YEH BARREE
- 0x200c: 0x009d, # ZERO WIDTH NON-JOINER
- 0x200d: 0x009e, # ZERO WIDTH JOINER
- 0x200e: 0x00fd, # LEFT-TO-RIGHT MARK
- 0x200f: 0x00fe, # RIGHT-TO-LEFT MARK
- 0x2013: 0x0096, # EN DASH
- 0x2014: 0x0097, # EM DASH
- 0x2018: 0x0091, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x0092, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x0082, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x0093, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x0094, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x0084, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x0086, # DAGGER
- 0x2021: 0x0087, # DOUBLE DAGGER
- 0x2022: 0x0095, # BULLET
- 0x2026: 0x0085, # HORIZONTAL ELLIPSIS
- 0x2030: 0x0089, # PER MILLE SIGN
- 0x2039: 0x008b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x009b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x20ac: 0x0080, # EURO SIGN
- 0x2122: 0x0099, # TRADE MARK SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a5: 0xa5, # YEN SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00af: 0xaf, # MACRON
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b8: 0xb8, # CEDILLA
+ 0x00b9: 0xb9, # SUPERSCRIPT ONE
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xbc, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xbe, # VULGAR FRACTION THREE QUARTERS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00e0: 0xe0, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e7: 0xe7, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0xe8, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0xea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0xef, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00f9: 0xf9, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fb: 0xfb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x0152: 0x8c, # LATIN CAPITAL LIGATURE OE
+ 0x0153: 0x9c, # LATIN SMALL LIGATURE OE
+ 0x0192: 0x83, # LATIN SMALL LETTER F WITH HOOK
+ 0x02c6: 0x88, # MODIFIER LETTER CIRCUMFLEX ACCENT
+ 0x060c: 0xa1, # ARABIC COMMA
+ 0x061b: 0xba, # ARABIC SEMICOLON
+ 0x061f: 0xbf, # ARABIC QUESTION MARK
+ 0x0621: 0xc1, # ARABIC LETTER HAMZA
+ 0x0622: 0xc2, # ARABIC LETTER ALEF WITH MADDA ABOVE
+ 0x0623: 0xc3, # ARABIC LETTER ALEF WITH HAMZA ABOVE
+ 0x0624: 0xc4, # ARABIC LETTER WAW WITH HAMZA ABOVE
+ 0x0625: 0xc5, # ARABIC LETTER ALEF WITH HAMZA BELOW
+ 0x0626: 0xc6, # ARABIC LETTER YEH WITH HAMZA ABOVE
+ 0x0627: 0xc7, # ARABIC LETTER ALEF
+ 0x0628: 0xc8, # ARABIC LETTER BEH
+ 0x0629: 0xc9, # ARABIC LETTER TEH MARBUTA
+ 0x062a: 0xca, # ARABIC LETTER TEH
+ 0x062b: 0xcb, # ARABIC LETTER THEH
+ 0x062c: 0xcc, # ARABIC LETTER JEEM
+ 0x062d: 0xcd, # ARABIC LETTER HAH
+ 0x062e: 0xce, # ARABIC LETTER KHAH
+ 0x062f: 0xcf, # ARABIC LETTER DAL
+ 0x0630: 0xd0, # ARABIC LETTER THAL
+ 0x0631: 0xd1, # ARABIC LETTER REH
+ 0x0632: 0xd2, # ARABIC LETTER ZAIN
+ 0x0633: 0xd3, # ARABIC LETTER SEEN
+ 0x0634: 0xd4, # ARABIC LETTER SHEEN
+ 0x0635: 0xd5, # ARABIC LETTER SAD
+ 0x0636: 0xd6, # ARABIC LETTER DAD
+ 0x0637: 0xd8, # ARABIC LETTER TAH
+ 0x0638: 0xd9, # ARABIC LETTER ZAH
+ 0x0639: 0xda, # ARABIC LETTER AIN
+ 0x063a: 0xdb, # ARABIC LETTER GHAIN
+ 0x0640: 0xdc, # ARABIC TATWEEL
+ 0x0641: 0xdd, # ARABIC LETTER FEH
+ 0x0642: 0xde, # ARABIC LETTER QAF
+ 0x0643: 0xdf, # ARABIC LETTER KAF
+ 0x0644: 0xe1, # ARABIC LETTER LAM
+ 0x0645: 0xe3, # ARABIC LETTER MEEM
+ 0x0646: 0xe4, # ARABIC LETTER NOON
+ 0x0647: 0xe5, # ARABIC LETTER HEH
+ 0x0648: 0xe6, # ARABIC LETTER WAW
+ 0x0649: 0xec, # ARABIC LETTER ALEF MAKSURA
+ 0x064a: 0xed, # ARABIC LETTER YEH
+ 0x064b: 0xf0, # ARABIC FATHATAN
+ 0x064c: 0xf1, # ARABIC DAMMATAN
+ 0x064d: 0xf2, # ARABIC KASRATAN
+ 0x064e: 0xf3, # ARABIC FATHA
+ 0x064f: 0xf5, # ARABIC DAMMA
+ 0x0650: 0xf6, # ARABIC KASRA
+ 0x0651: 0xf8, # ARABIC SHADDA
+ 0x0652: 0xfa, # ARABIC SUKUN
+ 0x0679: 0x8a, # ARABIC LETTER TTEH
+ 0x067e: 0x81, # ARABIC LETTER PEH
+ 0x0686: 0x8d, # ARABIC LETTER TCHEH
+ 0x0688: 0x8f, # ARABIC LETTER DDAL
+ 0x0691: 0x9a, # ARABIC LETTER RREH
+ 0x0698: 0x8e, # ARABIC LETTER JEH
+ 0x06a9: 0x98, # ARABIC LETTER KEHEH
+ 0x06af: 0x90, # ARABIC LETTER GAF
+ 0x06ba: 0x9f, # ARABIC LETTER NOON GHUNNA
+ 0x06be: 0xaa, # ARABIC LETTER HEH DOACHASHMEE
+ 0x06c1: 0xc0, # ARABIC LETTER HEH GOAL
+ 0x06d2: 0xff, # ARABIC LETTER YEH BARREE
+ 0x200c: 0x9d, # ZERO WIDTH NON-JOINER
+ 0x200d: 0x9e, # ZERO WIDTH JOINER
+ 0x200e: 0xfd, # LEFT-TO-RIGHT MARK
+ 0x200f: 0xfe, # RIGHT-TO-LEFT MARK
+ 0x2013: 0x96, # EN DASH
+ 0x2014: 0x97, # EM DASH
+ 0x2018: 0x91, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0x92, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0x82, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0x93, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0x94, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0x84, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0x86, # DAGGER
+ 0x2021: 0x87, # DOUBLE DAGGER
+ 0x2022: 0x95, # BULLET
+ 0x2026: 0x85, # HORIZONTAL ELLIPSIS
+ 0x2030: 0x89, # PER MILLE SIGN
+ 0x2039: 0x8b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0x9b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x20ac: 0x80, # EURO SIGN
+ 0x2122: 0x99, # TRADE MARK SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/cp1257.py b/Lib/encodings/cp1257.py
index 3565475bcc5..2aeab21d516 100644
--- a/Lib/encodings/cp1257.py
+++ b/Lib/encodings/cp1257.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/WINDOWS/CP1257.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1257.TXT' with gencodec.py.
"""#"
@@ -28,605 +28,513 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x20ac, # EURO SIGN
- 0x0081: None, # UNDEFINED
- 0x0082: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x0083: None, # UNDEFINED
- 0x0084: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x0085: 0x2026, # HORIZONTAL ELLIPSIS
- 0x0086: 0x2020, # DAGGER
- 0x0087: 0x2021, # DOUBLE DAGGER
- 0x0088: None, # UNDEFINED
- 0x0089: 0x2030, # PER MILLE SIGN
- 0x008a: None, # UNDEFINED
- 0x008b: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x008c: None, # UNDEFINED
- 0x008d: 0x00a8, # DIAERESIS
- 0x008e: 0x02c7, # CARON
- 0x008f: 0x00b8, # CEDILLA
- 0x0090: None, # UNDEFINED
- 0x0091: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x0092: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x0093: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x0094: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x0095: 0x2022, # BULLET
- 0x0096: 0x2013, # EN DASH
- 0x0097: 0x2014, # EM DASH
- 0x0098: None, # UNDEFINED
- 0x0099: 0x2122, # TRADE MARK SIGN
- 0x009a: None, # UNDEFINED
- 0x009b: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x009c: None, # UNDEFINED
- 0x009d: 0x00af, # MACRON
- 0x009e: 0x02db, # OGONEK
- 0x009f: None, # UNDEFINED
- 0x00a1: None, # UNDEFINED
- 0x00a5: None, # UNDEFINED
- 0x00a8: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00aa: 0x0156, # LATIN CAPITAL LETTER R WITH CEDILLA
- 0x00af: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00b8: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00ba: 0x0157, # LATIN SMALL LETTER R WITH CEDILLA
- 0x00bf: 0x00e6, # LATIN SMALL LETTER AE
- 0x00c0: 0x0104, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x00c1: 0x012e, # LATIN CAPITAL LETTER I WITH OGONEK
- 0x00c2: 0x0100, # LATIN CAPITAL LETTER A WITH MACRON
- 0x00c3: 0x0106, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x00c6: 0x0118, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x00c7: 0x0112, # LATIN CAPITAL LETTER E WITH MACRON
- 0x00c8: 0x010c, # LATIN CAPITAL LETTER C WITH CARON
- 0x00ca: 0x0179, # LATIN CAPITAL LETTER Z WITH ACUTE
- 0x00cb: 0x0116, # LATIN CAPITAL LETTER E WITH DOT ABOVE
- 0x00cc: 0x0122, # LATIN CAPITAL LETTER G WITH CEDILLA
- 0x00cd: 0x0136, # LATIN CAPITAL LETTER K WITH CEDILLA
- 0x00ce: 0x012a, # LATIN CAPITAL LETTER I WITH MACRON
- 0x00cf: 0x013b, # LATIN CAPITAL LETTER L WITH CEDILLA
- 0x00d0: 0x0160, # LATIN CAPITAL LETTER S WITH CARON
- 0x00d1: 0x0143, # LATIN CAPITAL LETTER N WITH ACUTE
- 0x00d2: 0x0145, # LATIN CAPITAL LETTER N WITH CEDILLA
- 0x00d4: 0x014c, # LATIN CAPITAL LETTER O WITH MACRON
- 0x00d8: 0x0172, # LATIN CAPITAL LETTER U WITH OGONEK
- 0x00d9: 0x0141, # LATIN CAPITAL LETTER L WITH STROKE
- 0x00da: 0x015a, # LATIN CAPITAL LETTER S WITH ACUTE
- 0x00db: 0x016a, # LATIN CAPITAL LETTER U WITH MACRON
- 0x00dd: 0x017b, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x00de: 0x017d, # LATIN CAPITAL LETTER Z WITH CARON
- 0x00e0: 0x0105, # LATIN SMALL LETTER A WITH OGONEK
- 0x00e1: 0x012f, # LATIN SMALL LETTER I WITH OGONEK
- 0x00e2: 0x0101, # LATIN SMALL LETTER A WITH MACRON
- 0x00e3: 0x0107, # LATIN SMALL LETTER C WITH ACUTE
- 0x00e6: 0x0119, # LATIN SMALL LETTER E WITH OGONEK
- 0x00e7: 0x0113, # LATIN SMALL LETTER E WITH MACRON
- 0x00e8: 0x010d, # LATIN SMALL LETTER C WITH CARON
- 0x00ea: 0x017a, # LATIN SMALL LETTER Z WITH ACUTE
- 0x00eb: 0x0117, # LATIN SMALL LETTER E WITH DOT ABOVE
- 0x00ec: 0x0123, # LATIN SMALL LETTER G WITH CEDILLA
- 0x00ed: 0x0137, # LATIN SMALL LETTER K WITH CEDILLA
- 0x00ee: 0x012b, # LATIN SMALL LETTER I WITH MACRON
- 0x00ef: 0x013c, # LATIN SMALL LETTER L WITH CEDILLA
- 0x00f0: 0x0161, # LATIN SMALL LETTER S WITH CARON
- 0x00f1: 0x0144, # LATIN SMALL LETTER N WITH ACUTE
- 0x00f2: 0x0146, # LATIN SMALL LETTER N WITH CEDILLA
- 0x00f4: 0x014d, # LATIN SMALL LETTER O WITH MACRON
- 0x00f8: 0x0173, # LATIN SMALL LETTER U WITH OGONEK
- 0x00f9: 0x0142, # LATIN SMALL LETTER L WITH STROKE
- 0x00fa: 0x015b, # LATIN SMALL LETTER S WITH ACUTE
- 0x00fb: 0x016b, # LATIN SMALL LETTER U WITH MACRON
- 0x00fd: 0x017c, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x00fe: 0x017e, # LATIN SMALL LETTER Z WITH CARON
- 0x00ff: 0x02d9, # DOT ABOVE
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\u20ac' # 0x0080 -> EURO SIGN
- u'\ufffe' # 0x0081 -> UNDEFINED
- u'\u201a' # 0x0082 -> SINGLE LOW-9 QUOTATION MARK
- u'\ufffe' # 0x0083 -> UNDEFINED
- u'\u201e' # 0x0084 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2026' # 0x0085 -> HORIZONTAL ELLIPSIS
- u'\u2020' # 0x0086 -> DAGGER
- u'\u2021' # 0x0087 -> DOUBLE DAGGER
- u'\ufffe' # 0x0088 -> UNDEFINED
- u'\u2030' # 0x0089 -> PER MILLE SIGN
- u'\ufffe' # 0x008a -> UNDEFINED
- u'\u2039' # 0x008b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\ufffe' # 0x008c -> UNDEFINED
- u'\xa8' # 0x008d -> DIAERESIS
- u'\u02c7' # 0x008e -> CARON
- u'\xb8' # 0x008f -> CEDILLA
- u'\ufffe' # 0x0090 -> UNDEFINED
- u'\u2018' # 0x0091 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x0092 -> RIGHT SINGLE QUOTATION MARK
- u'\u201c' # 0x0093 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x0094 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2022' # 0x0095 -> BULLET
- u'\u2013' # 0x0096 -> EN DASH
- u'\u2014' # 0x0097 -> EM DASH
- u'\ufffe' # 0x0098 -> UNDEFINED
- u'\u2122' # 0x0099 -> TRADE MARK SIGN
- u'\ufffe' # 0x009a -> UNDEFINED
- u'\u203a' # 0x009b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\ufffe' # 0x009c -> UNDEFINED
- u'\xaf' # 0x009d -> MACRON
- u'\u02db' # 0x009e -> OGONEK
- u'\ufffe' # 0x009f -> UNDEFINED
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\ufffe' # 0x00a1 -> UNDEFINED
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\ufffe' # 0x00a5 -> UNDEFINED
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xd8' # 0x00a8 -> LATIN CAPITAL LETTER O WITH STROKE
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u0156' # 0x00aa -> LATIN CAPITAL LETTER R WITH CEDILLA
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\xc6' # 0x00af -> LATIN CAPITAL LETTER AE
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\xf8' # 0x00b8 -> LATIN SMALL LETTER O WITH STROKE
- u'\xb9' # 0x00b9 -> SUPERSCRIPT ONE
- u'\u0157' # 0x00ba -> LATIN SMALL LETTER R WITH CEDILLA
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbc' # 0x00bc -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00be -> VULGAR FRACTION THREE QUARTERS
- u'\xe6' # 0x00bf -> LATIN SMALL LETTER AE
- u'\u0104' # 0x00c0 -> LATIN CAPITAL LETTER A WITH OGONEK
- u'\u012e' # 0x00c1 -> LATIN CAPITAL LETTER I WITH OGONEK
- u'\u0100' # 0x00c2 -> LATIN CAPITAL LETTER A WITH MACRON
- u'\u0106' # 0x00c3 -> LATIN CAPITAL LETTER C WITH ACUTE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x00c5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\u0118' # 0x00c6 -> LATIN CAPITAL LETTER E WITH OGONEK
- u'\u0112' # 0x00c7 -> LATIN CAPITAL LETTER E WITH MACRON
- u'\u010c' # 0x00c8 -> LATIN CAPITAL LETTER C WITH CARON
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\u0179' # 0x00ca -> LATIN CAPITAL LETTER Z WITH ACUTE
- u'\u0116' # 0x00cb -> LATIN CAPITAL LETTER E WITH DOT ABOVE
- u'\u0122' # 0x00cc -> LATIN CAPITAL LETTER G WITH CEDILLA
- u'\u0136' # 0x00cd -> LATIN CAPITAL LETTER K WITH CEDILLA
- u'\u012a' # 0x00ce -> LATIN CAPITAL LETTER I WITH MACRON
- u'\u013b' # 0x00cf -> LATIN CAPITAL LETTER L WITH CEDILLA
- u'\u0160' # 0x00d0 -> LATIN CAPITAL LETTER S WITH CARON
- u'\u0143' # 0x00d1 -> LATIN CAPITAL LETTER N WITH ACUTE
- u'\u0145' # 0x00d2 -> LATIN CAPITAL LETTER N WITH CEDILLA
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\u014c' # 0x00d4 -> LATIN CAPITAL LETTER O WITH MACRON
- u'\xd5' # 0x00d5 -> LATIN CAPITAL LETTER O WITH TILDE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\u0172' # 0x00d8 -> LATIN CAPITAL LETTER U WITH OGONEK
- u'\u0141' # 0x00d9 -> LATIN CAPITAL LETTER L WITH STROKE
- u'\u015a' # 0x00da -> LATIN CAPITAL LETTER S WITH ACUTE
- u'\u016a' # 0x00db -> LATIN CAPITAL LETTER U WITH MACRON
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\u017b' # 0x00dd -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
- u'\u017d' # 0x00de -> LATIN CAPITAL LETTER Z WITH CARON
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S
- u'\u0105' # 0x00e0 -> LATIN SMALL LETTER A WITH OGONEK
- u'\u012f' # 0x00e1 -> LATIN SMALL LETTER I WITH OGONEK
- u'\u0101' # 0x00e2 -> LATIN SMALL LETTER A WITH MACRON
- u'\u0107' # 0x00e3 -> LATIN SMALL LETTER C WITH ACUTE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe5' # 0x00e5 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\u0119' # 0x00e6 -> LATIN SMALL LETTER E WITH OGONEK
- u'\u0113' # 0x00e7 -> LATIN SMALL LETTER E WITH MACRON
- u'\u010d' # 0x00e8 -> LATIN SMALL LETTER C WITH CARON
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\u017a' # 0x00ea -> LATIN SMALL LETTER Z WITH ACUTE
- u'\u0117' # 0x00eb -> LATIN SMALL LETTER E WITH DOT ABOVE
- u'\u0123' # 0x00ec -> LATIN SMALL LETTER G WITH CEDILLA
- u'\u0137' # 0x00ed -> LATIN SMALL LETTER K WITH CEDILLA
- u'\u012b' # 0x00ee -> LATIN SMALL LETTER I WITH MACRON
- u'\u013c' # 0x00ef -> LATIN SMALL LETTER L WITH CEDILLA
- u'\u0161' # 0x00f0 -> LATIN SMALL LETTER S WITH CARON
- u'\u0144' # 0x00f1 -> LATIN SMALL LETTER N WITH ACUTE
- u'\u0146' # 0x00f2 -> LATIN SMALL LETTER N WITH CEDILLA
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\u014d' # 0x00f4 -> LATIN SMALL LETTER O WITH MACRON
- u'\xf5' # 0x00f5 -> LATIN SMALL LETTER O WITH TILDE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\u0173' # 0x00f8 -> LATIN SMALL LETTER U WITH OGONEK
- u'\u0142' # 0x00f9 -> LATIN SMALL LETTER L WITH STROKE
- u'\u015b' # 0x00fa -> LATIN SMALL LETTER S WITH ACUTE
- u'\u016b' # 0x00fb -> LATIN SMALL LETTER U WITH MACRON
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u017c' # 0x00fd -> LATIN SMALL LETTER Z WITH DOT ABOVE
- u'\u017e' # 0x00fe -> LATIN SMALL LETTER Z WITH CARON
- u'\u02d9' # 0x00ff -> DOT ABOVE
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u20ac' # 0x80 -> EURO SIGN
+ u'\ufffe' # 0x81 -> UNDEFINED
+ u'\u201a' # 0x82 -> SINGLE LOW-9 QUOTATION MARK
+ u'\ufffe' # 0x83 -> UNDEFINED
+ u'\u201e' # 0x84 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2026' # 0x85 -> HORIZONTAL ELLIPSIS
+ u'\u2020' # 0x86 -> DAGGER
+ u'\u2021' # 0x87 -> DOUBLE DAGGER
+ u'\ufffe' # 0x88 -> UNDEFINED
+ u'\u2030' # 0x89 -> PER MILLE SIGN
+ u'\ufffe' # 0x8a -> UNDEFINED
+ u'\u2039' # 0x8b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\ufffe' # 0x8c -> UNDEFINED
+ u'\xa8' # 0x8d -> DIAERESIS
+ u'\u02c7' # 0x8e -> CARON
+ u'\xb8' # 0x8f -> CEDILLA
+ u'\ufffe' # 0x90 -> UNDEFINED
+ u'\u2018' # 0x91 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0x92 -> RIGHT SINGLE QUOTATION MARK
+ u'\u201c' # 0x93 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0x94 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2022' # 0x95 -> BULLET
+ u'\u2013' # 0x96 -> EN DASH
+ u'\u2014' # 0x97 -> EM DASH
+ u'\ufffe' # 0x98 -> UNDEFINED
+ u'\u2122' # 0x99 -> TRADE MARK SIGN
+ u'\ufffe' # 0x9a -> UNDEFINED
+ u'\u203a' # 0x9b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\ufffe' # 0x9c -> UNDEFINED
+ u'\xaf' # 0x9d -> MACRON
+ u'\u02db' # 0x9e -> OGONEK
+ u'\ufffe' # 0x9f -> UNDEFINED
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\ufffe' # 0xa1 -> UNDEFINED
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\ufffe' # 0xa5 -> UNDEFINED
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xd8' # 0xa8 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u0156' # 0xaa -> LATIN CAPITAL LETTER R WITH CEDILLA
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\xc6' # 0xaf -> LATIN CAPITAL LETTER AE
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\xf8' # 0xb8 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xb9' # 0xb9 -> SUPERSCRIPT ONE
+ u'\u0157' # 0xba -> LATIN SMALL LETTER R WITH CEDILLA
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbc' # 0xbc -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xbe -> VULGAR FRACTION THREE QUARTERS
+ u'\xe6' # 0xbf -> LATIN SMALL LETTER AE
+ u'\u0104' # 0xc0 -> LATIN CAPITAL LETTER A WITH OGONEK
+ u'\u012e' # 0xc1 -> LATIN CAPITAL LETTER I WITH OGONEK
+ u'\u0100' # 0xc2 -> LATIN CAPITAL LETTER A WITH MACRON
+ u'\u0106' # 0xc3 -> LATIN CAPITAL LETTER C WITH ACUTE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0xc5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\u0118' # 0xc6 -> LATIN CAPITAL LETTER E WITH OGONEK
+ u'\u0112' # 0xc7 -> LATIN CAPITAL LETTER E WITH MACRON
+ u'\u010c' # 0xc8 -> LATIN CAPITAL LETTER C WITH CARON
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\u0179' # 0xca -> LATIN CAPITAL LETTER Z WITH ACUTE
+ u'\u0116' # 0xcb -> LATIN CAPITAL LETTER E WITH DOT ABOVE
+ u'\u0122' # 0xcc -> LATIN CAPITAL LETTER G WITH CEDILLA
+ u'\u0136' # 0xcd -> LATIN CAPITAL LETTER K WITH CEDILLA
+ u'\u012a' # 0xce -> LATIN CAPITAL LETTER I WITH MACRON
+ u'\u013b' # 0xcf -> LATIN CAPITAL LETTER L WITH CEDILLA
+ u'\u0160' # 0xd0 -> LATIN CAPITAL LETTER S WITH CARON
+ u'\u0143' # 0xd1 -> LATIN CAPITAL LETTER N WITH ACUTE
+ u'\u0145' # 0xd2 -> LATIN CAPITAL LETTER N WITH CEDILLA
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\u014c' # 0xd4 -> LATIN CAPITAL LETTER O WITH MACRON
+ u'\xd5' # 0xd5 -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\u0172' # 0xd8 -> LATIN CAPITAL LETTER U WITH OGONEK
+ u'\u0141' # 0xd9 -> LATIN CAPITAL LETTER L WITH STROKE
+ u'\u015a' # 0xda -> LATIN CAPITAL LETTER S WITH ACUTE
+ u'\u016a' # 0xdb -> LATIN CAPITAL LETTER U WITH MACRON
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\u017b' # 0xdd -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ u'\u017d' # 0xde -> LATIN CAPITAL LETTER Z WITH CARON
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S
+ u'\u0105' # 0xe0 -> LATIN SMALL LETTER A WITH OGONEK
+ u'\u012f' # 0xe1 -> LATIN SMALL LETTER I WITH OGONEK
+ u'\u0101' # 0xe2 -> LATIN SMALL LETTER A WITH MACRON
+ u'\u0107' # 0xe3 -> LATIN SMALL LETTER C WITH ACUTE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe5' # 0xe5 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\u0119' # 0xe6 -> LATIN SMALL LETTER E WITH OGONEK
+ u'\u0113' # 0xe7 -> LATIN SMALL LETTER E WITH MACRON
+ u'\u010d' # 0xe8 -> LATIN SMALL LETTER C WITH CARON
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\u017a' # 0xea -> LATIN SMALL LETTER Z WITH ACUTE
+ u'\u0117' # 0xeb -> LATIN SMALL LETTER E WITH DOT ABOVE
+ u'\u0123' # 0xec -> LATIN SMALL LETTER G WITH CEDILLA
+ u'\u0137' # 0xed -> LATIN SMALL LETTER K WITH CEDILLA
+ u'\u012b' # 0xee -> LATIN SMALL LETTER I WITH MACRON
+ u'\u013c' # 0xef -> LATIN SMALL LETTER L WITH CEDILLA
+ u'\u0161' # 0xf0 -> LATIN SMALL LETTER S WITH CARON
+ u'\u0144' # 0xf1 -> LATIN SMALL LETTER N WITH ACUTE
+ u'\u0146' # 0xf2 -> LATIN SMALL LETTER N WITH CEDILLA
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\u014d' # 0xf4 -> LATIN SMALL LETTER O WITH MACRON
+ u'\xf5' # 0xf5 -> LATIN SMALL LETTER O WITH TILDE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\u0173' # 0xf8 -> LATIN SMALL LETTER U WITH OGONEK
+ u'\u0142' # 0xf9 -> LATIN SMALL LETTER L WITH STROKE
+ u'\u015b' # 0xfa -> LATIN SMALL LETTER S WITH ACUTE
+ u'\u016b' # 0xfb -> LATIN SMALL LETTER U WITH MACRON
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u017c' # 0xfd -> LATIN SMALL LETTER Z WITH DOT ABOVE
+ u'\u017e' # 0xfe -> LATIN SMALL LETTER Z WITH CARON
+ u'\u02d9' # 0xff -> DOT ABOVE
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x008d, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00af: 0x009d, # MACRON
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b8: 0x008f, # CEDILLA
- 0x00b9: 0x00b9, # SUPERSCRIPT ONE
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00af, # LATIN CAPITAL LETTER AE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d5: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00d8: 0x00a8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00bf, # LATIN SMALL LETTER AE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f5: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00f8: 0x00b8, # LATIN SMALL LETTER O WITH STROKE
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x0100: 0x00c2, # LATIN CAPITAL LETTER A WITH MACRON
- 0x0101: 0x00e2, # LATIN SMALL LETTER A WITH MACRON
- 0x0104: 0x00c0, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x0105: 0x00e0, # LATIN SMALL LETTER A WITH OGONEK
- 0x0106: 0x00c3, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x0107: 0x00e3, # LATIN SMALL LETTER C WITH ACUTE
- 0x010c: 0x00c8, # LATIN CAPITAL LETTER C WITH CARON
- 0x010d: 0x00e8, # LATIN SMALL LETTER C WITH CARON
- 0x0112: 0x00c7, # LATIN CAPITAL LETTER E WITH MACRON
- 0x0113: 0x00e7, # LATIN SMALL LETTER E WITH MACRON
- 0x0116: 0x00cb, # LATIN CAPITAL LETTER E WITH DOT ABOVE
- 0x0117: 0x00eb, # LATIN SMALL LETTER E WITH DOT ABOVE
- 0x0118: 0x00c6, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x0119: 0x00e6, # LATIN SMALL LETTER E WITH OGONEK
- 0x0122: 0x00cc, # LATIN CAPITAL LETTER G WITH CEDILLA
- 0x0123: 0x00ec, # LATIN SMALL LETTER G WITH CEDILLA
- 0x012a: 0x00ce, # LATIN CAPITAL LETTER I WITH MACRON
- 0x012b: 0x00ee, # LATIN SMALL LETTER I WITH MACRON
- 0x012e: 0x00c1, # LATIN CAPITAL LETTER I WITH OGONEK
- 0x012f: 0x00e1, # LATIN SMALL LETTER I WITH OGONEK
- 0x0136: 0x00cd, # LATIN CAPITAL LETTER K WITH CEDILLA
- 0x0137: 0x00ed, # LATIN SMALL LETTER K WITH CEDILLA
- 0x013b: 0x00cf, # LATIN CAPITAL LETTER L WITH CEDILLA
- 0x013c: 0x00ef, # LATIN SMALL LETTER L WITH CEDILLA
- 0x0141: 0x00d9, # LATIN CAPITAL LETTER L WITH STROKE
- 0x0142: 0x00f9, # LATIN SMALL LETTER L WITH STROKE
- 0x0143: 0x00d1, # LATIN CAPITAL LETTER N WITH ACUTE
- 0x0144: 0x00f1, # LATIN SMALL LETTER N WITH ACUTE
- 0x0145: 0x00d2, # LATIN CAPITAL LETTER N WITH CEDILLA
- 0x0146: 0x00f2, # LATIN SMALL LETTER N WITH CEDILLA
- 0x014c: 0x00d4, # LATIN CAPITAL LETTER O WITH MACRON
- 0x014d: 0x00f4, # LATIN SMALL LETTER O WITH MACRON
- 0x0156: 0x00aa, # LATIN CAPITAL LETTER R WITH CEDILLA
- 0x0157: 0x00ba, # LATIN SMALL LETTER R WITH CEDILLA
- 0x015a: 0x00da, # LATIN CAPITAL LETTER S WITH ACUTE
- 0x015b: 0x00fa, # LATIN SMALL LETTER S WITH ACUTE
- 0x0160: 0x00d0, # LATIN CAPITAL LETTER S WITH CARON
- 0x0161: 0x00f0, # LATIN SMALL LETTER S WITH CARON
- 0x016a: 0x00db, # LATIN CAPITAL LETTER U WITH MACRON
- 0x016b: 0x00fb, # LATIN SMALL LETTER U WITH MACRON
- 0x0172: 0x00d8, # LATIN CAPITAL LETTER U WITH OGONEK
- 0x0173: 0x00f8, # LATIN SMALL LETTER U WITH OGONEK
- 0x0179: 0x00ca, # LATIN CAPITAL LETTER Z WITH ACUTE
- 0x017a: 0x00ea, # LATIN SMALL LETTER Z WITH ACUTE
- 0x017b: 0x00dd, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x017c: 0x00fd, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x017d: 0x00de, # LATIN CAPITAL LETTER Z WITH CARON
- 0x017e: 0x00fe, # LATIN SMALL LETTER Z WITH CARON
- 0x02c7: 0x008e, # CARON
- 0x02d9: 0x00ff, # DOT ABOVE
- 0x02db: 0x009e, # OGONEK
- 0x2013: 0x0096, # EN DASH
- 0x2014: 0x0097, # EM DASH
- 0x2018: 0x0091, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x0092, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x0082, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x0093, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x0094, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x0084, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x0086, # DAGGER
- 0x2021: 0x0087, # DOUBLE DAGGER
- 0x2022: 0x0095, # BULLET
- 0x2026: 0x0085, # HORIZONTAL ELLIPSIS
- 0x2030: 0x0089, # PER MILLE SIGN
- 0x2039: 0x008b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x009b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x20ac: 0x0080, # EURO SIGN
- 0x2122: 0x0099, # TRADE MARK SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0x8d, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00af: 0x9d, # MACRON
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b8: 0x8f, # CEDILLA
+ 0x00b9: 0xb9, # SUPERSCRIPT ONE
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xbc, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xbe, # VULGAR FRACTION THREE QUARTERS
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0xc5, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xaf, # LATIN CAPITAL LETTER AE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d5: 0xd5, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00d8: 0xa8, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0xe5, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xbf, # LATIN SMALL LETTER AE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f5: 0xf5, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00f8: 0xb8, # LATIN SMALL LETTER O WITH STROKE
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x0100: 0xc2, # LATIN CAPITAL LETTER A WITH MACRON
+ 0x0101: 0xe2, # LATIN SMALL LETTER A WITH MACRON
+ 0x0104: 0xc0, # LATIN CAPITAL LETTER A WITH OGONEK
+ 0x0105: 0xe0, # LATIN SMALL LETTER A WITH OGONEK
+ 0x0106: 0xc3, # LATIN CAPITAL LETTER C WITH ACUTE
+ 0x0107: 0xe3, # LATIN SMALL LETTER C WITH ACUTE
+ 0x010c: 0xc8, # LATIN CAPITAL LETTER C WITH CARON
+ 0x010d: 0xe8, # LATIN SMALL LETTER C WITH CARON
+ 0x0112: 0xc7, # LATIN CAPITAL LETTER E WITH MACRON
+ 0x0113: 0xe7, # LATIN SMALL LETTER E WITH MACRON
+ 0x0116: 0xcb, # LATIN CAPITAL LETTER E WITH DOT ABOVE
+ 0x0117: 0xeb, # LATIN SMALL LETTER E WITH DOT ABOVE
+ 0x0118: 0xc6, # LATIN CAPITAL LETTER E WITH OGONEK
+ 0x0119: 0xe6, # LATIN SMALL LETTER E WITH OGONEK
+ 0x0122: 0xcc, # LATIN CAPITAL LETTER G WITH CEDILLA
+ 0x0123: 0xec, # LATIN SMALL LETTER G WITH CEDILLA
+ 0x012a: 0xce, # LATIN CAPITAL LETTER I WITH MACRON
+ 0x012b: 0xee, # LATIN SMALL LETTER I WITH MACRON
+ 0x012e: 0xc1, # LATIN CAPITAL LETTER I WITH OGONEK
+ 0x012f: 0xe1, # LATIN SMALL LETTER I WITH OGONEK
+ 0x0136: 0xcd, # LATIN CAPITAL LETTER K WITH CEDILLA
+ 0x0137: 0xed, # LATIN SMALL LETTER K WITH CEDILLA
+ 0x013b: 0xcf, # LATIN CAPITAL LETTER L WITH CEDILLA
+ 0x013c: 0xef, # LATIN SMALL LETTER L WITH CEDILLA
+ 0x0141: 0xd9, # LATIN CAPITAL LETTER L WITH STROKE
+ 0x0142: 0xf9, # LATIN SMALL LETTER L WITH STROKE
+ 0x0143: 0xd1, # LATIN CAPITAL LETTER N WITH ACUTE
+ 0x0144: 0xf1, # LATIN SMALL LETTER N WITH ACUTE
+ 0x0145: 0xd2, # LATIN CAPITAL LETTER N WITH CEDILLA
+ 0x0146: 0xf2, # LATIN SMALL LETTER N WITH CEDILLA
+ 0x014c: 0xd4, # LATIN CAPITAL LETTER O WITH MACRON
+ 0x014d: 0xf4, # LATIN SMALL LETTER O WITH MACRON
+ 0x0156: 0xaa, # LATIN CAPITAL LETTER R WITH CEDILLA
+ 0x0157: 0xba, # LATIN SMALL LETTER R WITH CEDILLA
+ 0x015a: 0xda, # LATIN CAPITAL LETTER S WITH ACUTE
+ 0x015b: 0xfa, # LATIN SMALL LETTER S WITH ACUTE
+ 0x0160: 0xd0, # LATIN CAPITAL LETTER S WITH CARON
+ 0x0161: 0xf0, # LATIN SMALL LETTER S WITH CARON
+ 0x016a: 0xdb, # LATIN CAPITAL LETTER U WITH MACRON
+ 0x016b: 0xfb, # LATIN SMALL LETTER U WITH MACRON
+ 0x0172: 0xd8, # LATIN CAPITAL LETTER U WITH OGONEK
+ 0x0173: 0xf8, # LATIN SMALL LETTER U WITH OGONEK
+ 0x0179: 0xca, # LATIN CAPITAL LETTER Z WITH ACUTE
+ 0x017a: 0xea, # LATIN SMALL LETTER Z WITH ACUTE
+ 0x017b: 0xdd, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ 0x017c: 0xfd, # LATIN SMALL LETTER Z WITH DOT ABOVE
+ 0x017d: 0xde, # LATIN CAPITAL LETTER Z WITH CARON
+ 0x017e: 0xfe, # LATIN SMALL LETTER Z WITH CARON
+ 0x02c7: 0x8e, # CARON
+ 0x02d9: 0xff, # DOT ABOVE
+ 0x02db: 0x9e, # OGONEK
+ 0x2013: 0x96, # EN DASH
+ 0x2014: 0x97, # EM DASH
+ 0x2018: 0x91, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0x92, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0x82, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0x93, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0x94, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0x84, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0x86, # DAGGER
+ 0x2021: 0x87, # DOUBLE DAGGER
+ 0x2022: 0x95, # BULLET
+ 0x2026: 0x85, # HORIZONTAL ELLIPSIS
+ 0x2030: 0x89, # PER MILLE SIGN
+ 0x2039: 0x8b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0x9b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x20ac: 0x80, # EURO SIGN
+ 0x2122: 0x99, # TRADE MARK SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/cp1258.py b/Lib/encodings/cp1258.py
index dfa63ba568f..67f04de42fe 100644
--- a/Lib/encodings/cp1258.py
+++ b/Lib/encodings/cp1258.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/WINDOWS/CP1258.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1258.TXT' with gencodec.py.
"""#"
@@ -28,567 +28,516 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x20ac, # EURO SIGN
- 0x0081: None, # UNDEFINED
- 0x0082: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x0083: 0x0192, # LATIN SMALL LETTER F WITH HOOK
- 0x0084: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x0085: 0x2026, # HORIZONTAL ELLIPSIS
- 0x0086: 0x2020, # DAGGER
- 0x0087: 0x2021, # DOUBLE DAGGER
- 0x0088: 0x02c6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x0089: 0x2030, # PER MILLE SIGN
- 0x008a: None, # UNDEFINED
- 0x008b: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x008c: 0x0152, # LATIN CAPITAL LIGATURE OE
- 0x008d: None, # UNDEFINED
- 0x008e: None, # UNDEFINED
- 0x008f: None, # UNDEFINED
- 0x0090: None, # UNDEFINED
- 0x0091: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x0092: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x0093: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x0094: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x0095: 0x2022, # BULLET
- 0x0096: 0x2013, # EN DASH
- 0x0097: 0x2014, # EM DASH
- 0x0098: 0x02dc, # SMALL TILDE
- 0x0099: 0x2122, # TRADE MARK SIGN
- 0x009a: None, # UNDEFINED
- 0x009b: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x009c: 0x0153, # LATIN SMALL LIGATURE OE
- 0x009d: None, # UNDEFINED
- 0x009e: None, # UNDEFINED
- 0x009f: 0x0178, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x00c3: 0x0102, # LATIN CAPITAL LETTER A WITH BREVE
- 0x00cc: 0x0300, # COMBINING GRAVE ACCENT
- 0x00d0: 0x0110, # LATIN CAPITAL LETTER D WITH STROKE
- 0x00d2: 0x0309, # COMBINING HOOK ABOVE
- 0x00d5: 0x01a0, # LATIN CAPITAL LETTER O WITH HORN
- 0x00dd: 0x01af, # LATIN CAPITAL LETTER U WITH HORN
- 0x00de: 0x0303, # COMBINING TILDE
- 0x00e3: 0x0103, # LATIN SMALL LETTER A WITH BREVE
- 0x00ec: 0x0301, # COMBINING ACUTE ACCENT
- 0x00f0: 0x0111, # LATIN SMALL LETTER D WITH STROKE
- 0x00f2: 0x0323, # COMBINING DOT BELOW
- 0x00f5: 0x01a1, # LATIN SMALL LETTER O WITH HORN
- 0x00fd: 0x01b0, # LATIN SMALL LETTER U WITH HORN
- 0x00fe: 0x20ab, # DONG SIGN
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\u20ac' # 0x0080 -> EURO SIGN
- u'\ufffe' # 0x0081 -> UNDEFINED
- u'\u201a' # 0x0082 -> SINGLE LOW-9 QUOTATION MARK
- u'\u0192' # 0x0083 -> LATIN SMALL LETTER F WITH HOOK
- u'\u201e' # 0x0084 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2026' # 0x0085 -> HORIZONTAL ELLIPSIS
- u'\u2020' # 0x0086 -> DAGGER
- u'\u2021' # 0x0087 -> DOUBLE DAGGER
- u'\u02c6' # 0x0088 -> MODIFIER LETTER CIRCUMFLEX ACCENT
- u'\u2030' # 0x0089 -> PER MILLE SIGN
- u'\ufffe' # 0x008a -> UNDEFINED
- u'\u2039' # 0x008b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\u0152' # 0x008c -> LATIN CAPITAL LIGATURE OE
- u'\ufffe' # 0x008d -> UNDEFINED
- u'\ufffe' # 0x008e -> UNDEFINED
- u'\ufffe' # 0x008f -> UNDEFINED
- u'\ufffe' # 0x0090 -> UNDEFINED
- u'\u2018' # 0x0091 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x0092 -> RIGHT SINGLE QUOTATION MARK
- u'\u201c' # 0x0093 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x0094 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2022' # 0x0095 -> BULLET
- u'\u2013' # 0x0096 -> EN DASH
- u'\u2014' # 0x0097 -> EM DASH
- u'\u02dc' # 0x0098 -> SMALL TILDE
- u'\u2122' # 0x0099 -> TRADE MARK SIGN
- u'\ufffe' # 0x009a -> UNDEFINED
- u'\u203a' # 0x009b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\u0153' # 0x009c -> LATIN SMALL LIGATURE OE
- u'\ufffe' # 0x009d -> UNDEFINED
- u'\ufffe' # 0x009e -> UNDEFINED
- u'\u0178' # 0x009f -> LATIN CAPITAL LETTER Y WITH DIAERESIS
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\xa1' # 0x00a1 -> INVERTED EXCLAMATION MARK
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\xa5' # 0x00a5 -> YEN SIGN
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\xaa' # 0x00aa -> FEMININE ORDINAL INDICATOR
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\xaf' # 0x00af -> MACRON
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\xb8' # 0x00b8 -> CEDILLA
- u'\xb9' # 0x00b9 -> SUPERSCRIPT ONE
- u'\xba' # 0x00ba -> MASCULINE ORDINAL INDICATOR
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbc' # 0x00bc -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00be -> VULGAR FRACTION THREE QUARTERS
- u'\xbf' # 0x00bf -> INVERTED QUESTION MARK
- u'\xc0' # 0x00c0 -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\u0102' # 0x00c3 -> LATIN CAPITAL LETTER A WITH BREVE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x00c5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc6' # 0x00c6 -> LATIN CAPITAL LETTER AE
- u'\xc7' # 0x00c7 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc8' # 0x00c8 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xca' # 0x00ca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\u0300' # 0x00cc -> COMBINING GRAVE ACCENT
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00cf -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\u0110' # 0x00d0 -> LATIN CAPITAL LETTER D WITH STROKE
- u'\xd1' # 0x00d1 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\u0309' # 0x00d2 -> COMBINING HOOK ABOVE
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\u01a0' # 0x00d5 -> LATIN CAPITAL LETTER O WITH HORN
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\xd8' # 0x00d8 -> LATIN CAPITAL LETTER O WITH STROKE
- u'\xd9' # 0x00d9 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00db -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\u01af' # 0x00dd -> LATIN CAPITAL LETTER U WITH HORN
- u'\u0303' # 0x00de -> COMBINING TILDE
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S
- u'\xe0' # 0x00e0 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\u0103' # 0x00e3 -> LATIN SMALL LETTER A WITH BREVE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe5' # 0x00e5 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe6' # 0x00e6 -> LATIN SMALL LETTER AE
- u'\xe7' # 0x00e7 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe8' # 0x00e8 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x00ea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\u0301' # 0x00ec -> COMBINING ACUTE ACCENT
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x00ef -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\u0111' # 0x00f0 -> LATIN SMALL LETTER D WITH STROKE
- u'\xf1' # 0x00f1 -> LATIN SMALL LETTER N WITH TILDE
- u'\u0323' # 0x00f2 -> COMBINING DOT BELOW
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\u01a1' # 0x00f5 -> LATIN SMALL LETTER O WITH HORN
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\xf8' # 0x00f8 -> LATIN SMALL LETTER O WITH STROKE
- u'\xf9' # 0x00f9 -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\xfb' # 0x00fb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u01b0' # 0x00fd -> LATIN SMALL LETTER U WITH HORN
- u'\u20ab' # 0x00fe -> DONG SIGN
- u'\xff' # 0x00ff -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u20ac' # 0x80 -> EURO SIGN
+ u'\ufffe' # 0x81 -> UNDEFINED
+ u'\u201a' # 0x82 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u0192' # 0x83 -> LATIN SMALL LETTER F WITH HOOK
+ u'\u201e' # 0x84 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2026' # 0x85 -> HORIZONTAL ELLIPSIS
+ u'\u2020' # 0x86 -> DAGGER
+ u'\u2021' # 0x87 -> DOUBLE DAGGER
+ u'\u02c6' # 0x88 -> MODIFIER LETTER CIRCUMFLEX ACCENT
+ u'\u2030' # 0x89 -> PER MILLE SIGN
+ u'\ufffe' # 0x8a -> UNDEFINED
+ u'\u2039' # 0x8b -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\u0152' # 0x8c -> LATIN CAPITAL LIGATURE OE
+ u'\ufffe' # 0x8d -> UNDEFINED
+ u'\ufffe' # 0x8e -> UNDEFINED
+ u'\ufffe' # 0x8f -> UNDEFINED
+ u'\ufffe' # 0x90 -> UNDEFINED
+ u'\u2018' # 0x91 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0x92 -> RIGHT SINGLE QUOTATION MARK
+ u'\u201c' # 0x93 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0x94 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2022' # 0x95 -> BULLET
+ u'\u2013' # 0x96 -> EN DASH
+ u'\u2014' # 0x97 -> EM DASH
+ u'\u02dc' # 0x98 -> SMALL TILDE
+ u'\u2122' # 0x99 -> TRADE MARK SIGN
+ u'\ufffe' # 0x9a -> UNDEFINED
+ u'\u203a' # 0x9b -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\u0153' # 0x9c -> LATIN SMALL LIGATURE OE
+ u'\ufffe' # 0x9d -> UNDEFINED
+ u'\ufffe' # 0x9e -> UNDEFINED
+ u'\u0178' # 0x9f -> LATIN CAPITAL LETTER Y WITH DIAERESIS
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\xa1' # 0xa1 -> INVERTED EXCLAMATION MARK
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\xa5' # 0xa5 -> YEN SIGN
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\xaa' # 0xaa -> FEMININE ORDINAL INDICATOR
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\xaf' # 0xaf -> MACRON
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\xb8' # 0xb8 -> CEDILLA
+ u'\xb9' # 0xb9 -> SUPERSCRIPT ONE
+ u'\xba' # 0xba -> MASCULINE ORDINAL INDICATOR
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbc' # 0xbc -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xbe -> VULGAR FRACTION THREE QUARTERS
+ u'\xbf' # 0xbf -> INVERTED QUESTION MARK
+ u'\xc0' # 0xc0 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\u0102' # 0xc3 -> LATIN CAPITAL LETTER A WITH BREVE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0xc5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc6' # 0xc6 -> LATIN CAPITAL LETTER AE
+ u'\xc7' # 0xc7 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc8' # 0xc8 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0xca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\u0300' # 0xcc -> COMBINING GRAVE ACCENT
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xcf -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\u0110' # 0xd0 -> LATIN CAPITAL LETTER D WITH STROKE
+ u'\xd1' # 0xd1 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\u0309' # 0xd2 -> COMBINING HOOK ABOVE
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\u01a0' # 0xd5 -> LATIN CAPITAL LETTER O WITH HORN
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\xd8' # 0xd8 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\xd9' # 0xd9 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xdb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\u01af' # 0xdd -> LATIN CAPITAL LETTER U WITH HORN
+ u'\u0303' # 0xde -> COMBINING TILDE
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S
+ u'\xe0' # 0xe0 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\u0103' # 0xe3 -> LATIN SMALL LETTER A WITH BREVE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe5' # 0xe5 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe6' # 0xe6 -> LATIN SMALL LETTER AE
+ u'\xe7' # 0xe7 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe8' # 0xe8 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0xea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\u0301' # 0xec -> COMBINING ACUTE ACCENT
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0xef -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\u0111' # 0xf0 -> LATIN SMALL LETTER D WITH STROKE
+ u'\xf1' # 0xf1 -> LATIN SMALL LETTER N WITH TILDE
+ u'\u0323' # 0xf2 -> COMBINING DOT BELOW
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\u01a1' # 0xf5 -> LATIN SMALL LETTER O WITH HORN
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\xf8' # 0xf8 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xf9' # 0xf9 -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xfb' # 0xfb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u01b0' # 0xfd -> LATIN SMALL LETTER U WITH HORN
+ u'\u20ab' # 0xfe -> DONG SIGN
+ u'\xff' # 0xff -> LATIN SMALL LETTER Y WITH DIAERESIS
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a1: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a5: 0x00a5, # YEN SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00aa: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00af: 0x00af, # MACRON
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b8: 0x00b8, # CEDILLA
- 0x00b9: 0x00b9, # SUPERSCRIPT ONE
- 0x00ba: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00bf: 0x00bf, # INVERTED QUESTION MARK
- 0x00c0: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00c7: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d1: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00d8: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00e6, # LATIN SMALL LETTER AE
- 0x00e7: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f1: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00f8: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00ff: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x0102: 0x00c3, # LATIN CAPITAL LETTER A WITH BREVE
- 0x0103: 0x00e3, # LATIN SMALL LETTER A WITH BREVE
- 0x0110: 0x00d0, # LATIN CAPITAL LETTER D WITH STROKE
- 0x0111: 0x00f0, # LATIN SMALL LETTER D WITH STROKE
- 0x0152: 0x008c, # LATIN CAPITAL LIGATURE OE
- 0x0153: 0x009c, # LATIN SMALL LIGATURE OE
- 0x0178: 0x009f, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x0192: 0x0083, # LATIN SMALL LETTER F WITH HOOK
- 0x01a0: 0x00d5, # LATIN CAPITAL LETTER O WITH HORN
- 0x01a1: 0x00f5, # LATIN SMALL LETTER O WITH HORN
- 0x01af: 0x00dd, # LATIN CAPITAL LETTER U WITH HORN
- 0x01b0: 0x00fd, # LATIN SMALL LETTER U WITH HORN
- 0x02c6: 0x0088, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x02dc: 0x0098, # SMALL TILDE
- 0x0300: 0x00cc, # COMBINING GRAVE ACCENT
- 0x0301: 0x00ec, # COMBINING ACUTE ACCENT
- 0x0303: 0x00de, # COMBINING TILDE
- 0x0309: 0x00d2, # COMBINING HOOK ABOVE
- 0x0323: 0x00f2, # COMBINING DOT BELOW
- 0x2013: 0x0096, # EN DASH
- 0x2014: 0x0097, # EM DASH
- 0x2018: 0x0091, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x0092, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x0082, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x0093, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x0094, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x0084, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x0086, # DAGGER
- 0x2021: 0x0087, # DOUBLE DAGGER
- 0x2022: 0x0095, # BULLET
- 0x2026: 0x0085, # HORIZONTAL ELLIPSIS
- 0x2030: 0x0089, # PER MILLE SIGN
- 0x2039: 0x008b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x009b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x20ab: 0x00fe, # DONG SIGN
- 0x20ac: 0x0080, # EURO SIGN
- 0x2122: 0x0099, # TRADE MARK SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a1: 0xa1, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a5: 0xa5, # YEN SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00aa: 0xaa, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00af: 0xaf, # MACRON
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b8: 0xb8, # CEDILLA
+ 0x00b9: 0xb9, # SUPERSCRIPT ONE
+ 0x00ba: 0xba, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xbc, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xbe, # VULGAR FRACTION THREE QUARTERS
+ 0x00bf: 0xbf, # INVERTED QUESTION MARK
+ 0x00c0: 0xc0, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0xc5, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xc6, # LATIN CAPITAL LETTER AE
+ 0x00c7: 0xc7, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xc8, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xcf, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d1: 0xd1, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00d8: 0xd8, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xd9, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xdb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0xe0, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0xe5, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xe6, # LATIN SMALL LETTER AE
+ 0x00e7: 0xe7, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0xe8, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0xea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0xef, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f1: 0xf1, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00f8: 0xf8, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0xf9, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xfb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00ff: 0xff, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x0102: 0xc3, # LATIN CAPITAL LETTER A WITH BREVE
+ 0x0103: 0xe3, # LATIN SMALL LETTER A WITH BREVE
+ 0x0110: 0xd0, # LATIN CAPITAL LETTER D WITH STROKE
+ 0x0111: 0xf0, # LATIN SMALL LETTER D WITH STROKE
+ 0x0152: 0x8c, # LATIN CAPITAL LIGATURE OE
+ 0x0153: 0x9c, # LATIN SMALL LIGATURE OE
+ 0x0178: 0x9f, # LATIN CAPITAL LETTER Y WITH DIAERESIS
+ 0x0192: 0x83, # LATIN SMALL LETTER F WITH HOOK
+ 0x01a0: 0xd5, # LATIN CAPITAL LETTER O WITH HORN
+ 0x01a1: 0xf5, # LATIN SMALL LETTER O WITH HORN
+ 0x01af: 0xdd, # LATIN CAPITAL LETTER U WITH HORN
+ 0x01b0: 0xfd, # LATIN SMALL LETTER U WITH HORN
+ 0x02c6: 0x88, # MODIFIER LETTER CIRCUMFLEX ACCENT
+ 0x02dc: 0x98, # SMALL TILDE
+ 0x0300: 0xcc, # COMBINING GRAVE ACCENT
+ 0x0301: 0xec, # COMBINING ACUTE ACCENT
+ 0x0303: 0xde, # COMBINING TILDE
+ 0x0309: 0xd2, # COMBINING HOOK ABOVE
+ 0x0323: 0xf2, # COMBINING DOT BELOW
+ 0x2013: 0x96, # EN DASH
+ 0x2014: 0x97, # EM DASH
+ 0x2018: 0x91, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0x92, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0x82, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0x93, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0x94, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0x84, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0x86, # DAGGER
+ 0x2021: 0x87, # DOUBLE DAGGER
+ 0x2022: 0x95, # BULLET
+ 0x2026: 0x85, # HORIZONTAL ELLIPSIS
+ 0x2030: 0x89, # PER MILLE SIGN
+ 0x2039: 0x8b, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0x9b, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x20ab: 0xfe, # DONG SIGN
+ 0x20ac: 0x80, # EURO SIGN
+ 0x2122: 0x99, # TRADE MARK SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/cp424.py b/Lib/encodings/cp424.py
index 1f4480dff74..4748690ff46 100644
--- a/Lib/encodings/cp424.py
+++ b/Lib/encodings/cp424.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MISC/CP424.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MISC/CP424.TXT' with gencodec.py.
"""#"
@@ -28,728 +28,487 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0004: 0x009c, # SELECT
- 0x0005: 0x0009, # HORIZONTAL TABULATION
- 0x0006: 0x0086, # REQUIRED NEW LINE
- 0x0007: 0x007f, # DELETE
- 0x0008: 0x0097, # GRAPHIC ESCAPE
- 0x0009: 0x008d, # SUPERSCRIPT
- 0x000a: 0x008e, # REPEAT
- 0x0014: 0x009d, # RESTORE/ENABLE PRESENTATION
- 0x0015: 0x0085, # NEW LINE
- 0x0016: 0x0008, # BACKSPACE
- 0x0017: 0x0087, # PROGRAM OPERATOR COMMUNICATION
- 0x001a: 0x0092, # UNIT BACK SPACE
- 0x001b: 0x008f, # CUSTOMER USE ONE
- 0x0020: 0x0080, # DIGIT SELECT
- 0x0021: 0x0081, # START OF SIGNIFICANCE
- 0x0022: 0x0082, # FIELD SEPARATOR
- 0x0023: 0x0083, # WORD UNDERSCORE
- 0x0024: 0x0084, # BYPASS OR INHIBIT PRESENTATION
- 0x0025: 0x000a, # LINE FEED
- 0x0026: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0027: 0x001b, # ESCAPE
- 0x0028: 0x0088, # SET ATTRIBUTE
- 0x0029: 0x0089, # START FIELD EXTENDED
- 0x002a: 0x008a, # SET MODE OR SWITCH
- 0x002b: 0x008b, # CONTROL SEQUENCE PREFIX
- 0x002c: 0x008c, # MODIFY FIELD ATTRIBUTE
- 0x002d: 0x0005, # ENQUIRY
- 0x002e: 0x0006, # ACKNOWLEDGE
- 0x002f: 0x0007, # BELL
- 0x0030: 0x0090, # <reserved>
- 0x0031: 0x0091, # <reserved>
- 0x0032: 0x0016, # SYNCHRONOUS IDLE
- 0x0033: 0x0093, # INDEX RETURN
- 0x0034: 0x0094, # PRESENTATION POSITION
- 0x0035: 0x0095, # TRANSPARENT
- 0x0036: 0x0096, # NUMERIC BACKSPACE
- 0x0037: 0x0004, # END OF TRANSMISSION
- 0x0038: 0x0098, # SUBSCRIPT
- 0x0039: 0x0099, # INDENT TABULATION
- 0x003a: 0x009a, # REVERSE FORM FEED
- 0x003b: 0x009b, # CUSTOMER USE THREE
- 0x003c: 0x0014, # DEVICE CONTROL FOUR
- 0x003d: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x003e: 0x009e, # <reserved>
- 0x003f: 0x001a, # SUBSTITUTE
- 0x0040: 0x0020, # SPACE
- 0x0041: 0x05d0, # HEBREW LETTER ALEF
- 0x0042: 0x05d1, # HEBREW LETTER BET
- 0x0043: 0x05d2, # HEBREW LETTER GIMEL
- 0x0044: 0x05d3, # HEBREW LETTER DALET
- 0x0045: 0x05d4, # HEBREW LETTER HE
- 0x0046: 0x05d5, # HEBREW LETTER VAV
- 0x0047: 0x05d6, # HEBREW LETTER ZAYIN
- 0x0048: 0x05d7, # HEBREW LETTER HET
- 0x0049: 0x05d8, # HEBREW LETTER TET
- 0x004a: 0x00a2, # CENT SIGN
- 0x004b: 0x002e, # FULL STOP
- 0x004c: 0x003c, # LESS-THAN SIGN
- 0x004d: 0x0028, # LEFT PARENTHESIS
- 0x004e: 0x002b, # PLUS SIGN
- 0x004f: 0x007c, # VERTICAL LINE
- 0x0050: 0x0026, # AMPERSAND
- 0x0051: 0x05d9, # HEBREW LETTER YOD
- 0x0052: 0x05da, # HEBREW LETTER FINAL KAF
- 0x0053: 0x05db, # HEBREW LETTER KAF
- 0x0054: 0x05dc, # HEBREW LETTER LAMED
- 0x0055: 0x05dd, # HEBREW LETTER FINAL MEM
- 0x0056: 0x05de, # HEBREW LETTER MEM
- 0x0057: 0x05df, # HEBREW LETTER FINAL NUN
- 0x0058: 0x05e0, # HEBREW LETTER NUN
- 0x0059: 0x05e1, # HEBREW LETTER SAMEKH
- 0x005a: 0x0021, # EXCLAMATION MARK
- 0x005b: 0x0024, # DOLLAR SIGN
- 0x005c: 0x002a, # ASTERISK
- 0x005d: 0x0029, # RIGHT PARENTHESIS
- 0x005e: 0x003b, # SEMICOLON
- 0x005f: 0x00ac, # NOT SIGN
- 0x0060: 0x002d, # HYPHEN-MINUS
- 0x0061: 0x002f, # SOLIDUS
- 0x0062: 0x05e2, # HEBREW LETTER AYIN
- 0x0063: 0x05e3, # HEBREW LETTER FINAL PE
- 0x0064: 0x05e4, # HEBREW LETTER PE
- 0x0065: 0x05e5, # HEBREW LETTER FINAL TSADI
- 0x0066: 0x05e6, # HEBREW LETTER TSADI
- 0x0067: 0x05e7, # HEBREW LETTER QOF
- 0x0068: 0x05e8, # HEBREW LETTER RESH
- 0x0069: 0x05e9, # HEBREW LETTER SHIN
- 0x006a: 0x00a6, # BROKEN BAR
- 0x006b: 0x002c, # COMMA
- 0x006c: 0x0025, # PERCENT SIGN
- 0x006d: 0x005f, # LOW LINE
- 0x006e: 0x003e, # GREATER-THAN SIGN
- 0x006f: 0x003f, # QUESTION MARK
- 0x0070: None, # UNDEFINED
- 0x0071: 0x05ea, # HEBREW LETTER TAV
- 0x0072: None, # UNDEFINED
- 0x0073: None, # UNDEFINED
- 0x0074: 0x00a0, # NO-BREAK SPACE
- 0x0075: None, # UNDEFINED
- 0x0076: None, # UNDEFINED
- 0x0077: None, # UNDEFINED
- 0x0078: 0x2017, # DOUBLE LOW LINE
- 0x0079: 0x0060, # GRAVE ACCENT
- 0x007a: 0x003a, # COLON
- 0x007b: 0x0023, # NUMBER SIGN
- 0x007c: 0x0040, # COMMERCIAL AT
- 0x007d: 0x0027, # APOSTROPHE
- 0x007e: 0x003d, # EQUALS SIGN
- 0x007f: 0x0022, # QUOTATION MARK
- 0x0080: None, # UNDEFINED
- 0x0081: 0x0061, # LATIN SMALL LETTER A
- 0x0082: 0x0062, # LATIN SMALL LETTER B
- 0x0083: 0x0063, # LATIN SMALL LETTER C
- 0x0084: 0x0064, # LATIN SMALL LETTER D
- 0x0085: 0x0065, # LATIN SMALL LETTER E
- 0x0086: 0x0066, # LATIN SMALL LETTER F
- 0x0087: 0x0067, # LATIN SMALL LETTER G
- 0x0088: 0x0068, # LATIN SMALL LETTER H
- 0x0089: 0x0069, # LATIN SMALL LETTER I
- 0x008a: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x008b: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x008c: None, # UNDEFINED
- 0x008d: None, # UNDEFINED
- 0x008e: None, # UNDEFINED
- 0x008f: 0x00b1, # PLUS-MINUS SIGN
- 0x0090: 0x00b0, # DEGREE SIGN
- 0x0091: 0x006a, # LATIN SMALL LETTER J
- 0x0092: 0x006b, # LATIN SMALL LETTER K
- 0x0093: 0x006c, # LATIN SMALL LETTER L
- 0x0094: 0x006d, # LATIN SMALL LETTER M
- 0x0095: 0x006e, # LATIN SMALL LETTER N
- 0x0096: 0x006f, # LATIN SMALL LETTER O
- 0x0097: 0x0070, # LATIN SMALL LETTER P
- 0x0098: 0x0071, # LATIN SMALL LETTER Q
- 0x0099: 0x0072, # LATIN SMALL LETTER R
- 0x009a: None, # UNDEFINED
- 0x009b: None, # UNDEFINED
- 0x009c: None, # UNDEFINED
- 0x009d: 0x00b8, # CEDILLA
- 0x009e: None, # UNDEFINED
- 0x009f: 0x00a4, # CURRENCY SIGN
- 0x00a0: 0x00b5, # MICRO SIGN
- 0x00a1: 0x007e, # TILDE
- 0x00a2: 0x0073, # LATIN SMALL LETTER S
- 0x00a3: 0x0074, # LATIN SMALL LETTER T
- 0x00a4: 0x0075, # LATIN SMALL LETTER U
- 0x00a5: 0x0076, # LATIN SMALL LETTER V
- 0x00a6: 0x0077, # LATIN SMALL LETTER W
- 0x00a7: 0x0078, # LATIN SMALL LETTER X
- 0x00a8: 0x0079, # LATIN SMALL LETTER Y
- 0x00a9: 0x007a, # LATIN SMALL LETTER Z
- 0x00aa: None, # UNDEFINED
- 0x00ab: None, # UNDEFINED
- 0x00ac: None, # UNDEFINED
- 0x00ad: None, # UNDEFINED
- 0x00ae: None, # UNDEFINED
- 0x00af: 0x00ae, # REGISTERED SIGN
- 0x00b0: 0x005e, # CIRCUMFLEX ACCENT
- 0x00b1: 0x00a3, # POUND SIGN
- 0x00b2: 0x00a5, # YEN SIGN
- 0x00b3: 0x00b7, # MIDDLE DOT
- 0x00b4: 0x00a9, # COPYRIGHT SIGN
- 0x00b5: 0x00a7, # SECTION SIGN
- 0x00b7: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00b8: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00b9: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00ba: 0x005b, # LEFT SQUARE BRACKET
- 0x00bb: 0x005d, # RIGHT SQUARE BRACKET
- 0x00bc: 0x00af, # MACRON
- 0x00bd: 0x00a8, # DIAERESIS
- 0x00be: 0x00b4, # ACUTE ACCENT
- 0x00bf: 0x00d7, # MULTIPLICATION SIGN
- 0x00c0: 0x007b, # LEFT CURLY BRACKET
- 0x00c1: 0x0041, # LATIN CAPITAL LETTER A
- 0x00c2: 0x0042, # LATIN CAPITAL LETTER B
- 0x00c3: 0x0043, # LATIN CAPITAL LETTER C
- 0x00c4: 0x0044, # LATIN CAPITAL LETTER D
- 0x00c5: 0x0045, # LATIN CAPITAL LETTER E
- 0x00c6: 0x0046, # LATIN CAPITAL LETTER F
- 0x00c7: 0x0047, # LATIN CAPITAL LETTER G
- 0x00c8: 0x0048, # LATIN CAPITAL LETTER H
- 0x00c9: 0x0049, # LATIN CAPITAL LETTER I
- 0x00ca: 0x00ad, # SOFT HYPHEN
- 0x00cb: None, # UNDEFINED
- 0x00cc: None, # UNDEFINED
- 0x00cd: None, # UNDEFINED
- 0x00ce: None, # UNDEFINED
- 0x00cf: None, # UNDEFINED
- 0x00d0: 0x007d, # RIGHT CURLY BRACKET
- 0x00d1: 0x004a, # LATIN CAPITAL LETTER J
- 0x00d2: 0x004b, # LATIN CAPITAL LETTER K
- 0x00d3: 0x004c, # LATIN CAPITAL LETTER L
- 0x00d4: 0x004d, # LATIN CAPITAL LETTER M
- 0x00d5: 0x004e, # LATIN CAPITAL LETTER N
- 0x00d6: 0x004f, # LATIN CAPITAL LETTER O
- 0x00d7: 0x0050, # LATIN CAPITAL LETTER P
- 0x00d8: 0x0051, # LATIN CAPITAL LETTER Q
- 0x00d9: 0x0052, # LATIN CAPITAL LETTER R
- 0x00da: 0x00b9, # SUPERSCRIPT ONE
- 0x00db: None, # UNDEFINED
- 0x00dc: None, # UNDEFINED
- 0x00dd: None, # UNDEFINED
- 0x00de: None, # UNDEFINED
- 0x00df: None, # UNDEFINED
- 0x00e0: 0x005c, # REVERSE SOLIDUS
- 0x00e1: 0x00f7, # DIVISION SIGN
- 0x00e2: 0x0053, # LATIN CAPITAL LETTER S
- 0x00e3: 0x0054, # LATIN CAPITAL LETTER T
- 0x00e4: 0x0055, # LATIN CAPITAL LETTER U
- 0x00e5: 0x0056, # LATIN CAPITAL LETTER V
- 0x00e6: 0x0057, # LATIN CAPITAL LETTER W
- 0x00e7: 0x0058, # LATIN CAPITAL LETTER X
- 0x00e8: 0x0059, # LATIN CAPITAL LETTER Y
- 0x00e9: 0x005a, # LATIN CAPITAL LETTER Z
- 0x00ea: 0x00b2, # SUPERSCRIPT TWO
- 0x00eb: None, # UNDEFINED
- 0x00ec: None, # UNDEFINED
- 0x00ed: None, # UNDEFINED
- 0x00ee: None, # UNDEFINED
- 0x00ef: None, # UNDEFINED
- 0x00f0: 0x0030, # DIGIT ZERO
- 0x00f1: 0x0031, # DIGIT ONE
- 0x00f2: 0x0032, # DIGIT TWO
- 0x00f3: 0x0033, # DIGIT THREE
- 0x00f4: 0x0034, # DIGIT FOUR
- 0x00f5: 0x0035, # DIGIT FIVE
- 0x00f6: 0x0036, # DIGIT SIX
- 0x00f7: 0x0037, # DIGIT SEVEN
- 0x00f8: 0x0038, # DIGIT EIGHT
- 0x00f9: 0x0039, # DIGIT NINE
- 0x00fa: 0x00b3, # SUPERSCRIPT THREE
- 0x00fb: None, # UNDEFINED
- 0x00fc: None, # UNDEFINED
- 0x00fd: None, # UNDEFINED
- 0x00fe: None, # UNDEFINED
- 0x00ff: 0x009f, # EIGHT ONES
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x9c' # 0x0004 -> SELECT
- u'\t' # 0x0005 -> HORIZONTAL TABULATION
- u'\x86' # 0x0006 -> REQUIRED NEW LINE
- u'\x7f' # 0x0007 -> DELETE
- u'\x97' # 0x0008 -> GRAPHIC ESCAPE
- u'\x8d' # 0x0009 -> SUPERSCRIPT
- u'\x8e' # 0x000a -> REPEAT
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x9d' # 0x0014 -> RESTORE/ENABLE PRESENTATION
- u'\x85' # 0x0015 -> NEW LINE
- u'\x08' # 0x0016 -> BACKSPACE
- u'\x87' # 0x0017 -> PROGRAM OPERATOR COMMUNICATION
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x92' # 0x001a -> UNIT BACK SPACE
- u'\x8f' # 0x001b -> CUSTOMER USE ONE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u'\x80' # 0x0020 -> DIGIT SELECT
- u'\x81' # 0x0021 -> START OF SIGNIFICANCE
- u'\x82' # 0x0022 -> FIELD SEPARATOR
- u'\x83' # 0x0023 -> WORD UNDERSCORE
- u'\x84' # 0x0024 -> BYPASS OR INHIBIT PRESENTATION
- u'\n' # 0x0025 -> LINE FEED
- u'\x17' # 0x0026 -> END OF TRANSMISSION BLOCK
- u'\x1b' # 0x0027 -> ESCAPE
- u'\x88' # 0x0028 -> SET ATTRIBUTE
- u'\x89' # 0x0029 -> START FIELD EXTENDED
- u'\x8a' # 0x002a -> SET MODE OR SWITCH
- u'\x8b' # 0x002b -> CONTROL SEQUENCE PREFIX
- u'\x8c' # 0x002c -> MODIFY FIELD ATTRIBUTE
- u'\x05' # 0x002d -> ENQUIRY
- u'\x06' # 0x002e -> ACKNOWLEDGE
- u'\x07' # 0x002f -> BELL
- u'\x90' # 0x0030 -> <reserved>
- u'\x91' # 0x0031 -> <reserved>
- u'\x16' # 0x0032 -> SYNCHRONOUS IDLE
- u'\x93' # 0x0033 -> INDEX RETURN
- u'\x94' # 0x0034 -> PRESENTATION POSITION
- u'\x95' # 0x0035 -> TRANSPARENT
- u'\x96' # 0x0036 -> NUMERIC BACKSPACE
- u'\x04' # 0x0037 -> END OF TRANSMISSION
- u'\x98' # 0x0038 -> SUBSCRIPT
- u'\x99' # 0x0039 -> INDENT TABULATION
- u'\x9a' # 0x003a -> REVERSE FORM FEED
- u'\x9b' # 0x003b -> CUSTOMER USE THREE
- u'\x14' # 0x003c -> DEVICE CONTROL FOUR
- u'\x15' # 0x003d -> NEGATIVE ACKNOWLEDGE
- u'\x9e' # 0x003e -> <reserved>
- u'\x1a' # 0x003f -> SUBSTITUTE
- u' ' # 0x0040 -> SPACE
- u'\u05d0' # 0x0041 -> HEBREW LETTER ALEF
- u'\u05d1' # 0x0042 -> HEBREW LETTER BET
- u'\u05d2' # 0x0043 -> HEBREW LETTER GIMEL
- u'\u05d3' # 0x0044 -> HEBREW LETTER DALET
- u'\u05d4' # 0x0045 -> HEBREW LETTER HE
- u'\u05d5' # 0x0046 -> HEBREW LETTER VAV
- u'\u05d6' # 0x0047 -> HEBREW LETTER ZAYIN
- u'\u05d7' # 0x0048 -> HEBREW LETTER HET
- u'\u05d8' # 0x0049 -> HEBREW LETTER TET
- u'\xa2' # 0x004a -> CENT SIGN
- u'.' # 0x004b -> FULL STOP
- u'<' # 0x004c -> LESS-THAN SIGN
- u'(' # 0x004d -> LEFT PARENTHESIS
- u'+' # 0x004e -> PLUS SIGN
- u'|' # 0x004f -> VERTICAL LINE
- u'&' # 0x0050 -> AMPERSAND
- u'\u05d9' # 0x0051 -> HEBREW LETTER YOD
- u'\u05da' # 0x0052 -> HEBREW LETTER FINAL KAF
- u'\u05db' # 0x0053 -> HEBREW LETTER KAF
- u'\u05dc' # 0x0054 -> HEBREW LETTER LAMED
- u'\u05dd' # 0x0055 -> HEBREW LETTER FINAL MEM
- u'\u05de' # 0x0056 -> HEBREW LETTER MEM
- u'\u05df' # 0x0057 -> HEBREW LETTER FINAL NUN
- u'\u05e0' # 0x0058 -> HEBREW LETTER NUN
- u'\u05e1' # 0x0059 -> HEBREW LETTER SAMEKH
- u'!' # 0x005a -> EXCLAMATION MARK
- u'$' # 0x005b -> DOLLAR SIGN
- u'*' # 0x005c -> ASTERISK
- u')' # 0x005d -> RIGHT PARENTHESIS
- u';' # 0x005e -> SEMICOLON
- u'\xac' # 0x005f -> NOT SIGN
- u'-' # 0x0060 -> HYPHEN-MINUS
- u'/' # 0x0061 -> SOLIDUS
- u'\u05e2' # 0x0062 -> HEBREW LETTER AYIN
- u'\u05e3' # 0x0063 -> HEBREW LETTER FINAL PE
- u'\u05e4' # 0x0064 -> HEBREW LETTER PE
- u'\u05e5' # 0x0065 -> HEBREW LETTER FINAL TSADI
- u'\u05e6' # 0x0066 -> HEBREW LETTER TSADI
- u'\u05e7' # 0x0067 -> HEBREW LETTER QOF
- u'\u05e8' # 0x0068 -> HEBREW LETTER RESH
- u'\u05e9' # 0x0069 -> HEBREW LETTER SHIN
- u'\xa6' # 0x006a -> BROKEN BAR
- u',' # 0x006b -> COMMA
- u'%' # 0x006c -> PERCENT SIGN
- u'_' # 0x006d -> LOW LINE
- u'>' # 0x006e -> GREATER-THAN SIGN
- u'?' # 0x006f -> QUESTION MARK
- u'\ufffe' # 0x0070 -> UNDEFINED
- u'\u05ea' # 0x0071 -> HEBREW LETTER TAV
- u'\ufffe' # 0x0072 -> UNDEFINED
- u'\ufffe' # 0x0073 -> UNDEFINED
- u'\xa0' # 0x0074 -> NO-BREAK SPACE
- u'\ufffe' # 0x0075 -> UNDEFINED
- u'\ufffe' # 0x0076 -> UNDEFINED
- u'\ufffe' # 0x0077 -> UNDEFINED
- u'\u2017' # 0x0078 -> DOUBLE LOW LINE
- u'`' # 0x0079 -> GRAVE ACCENT
- u':' # 0x007a -> COLON
- u'#' # 0x007b -> NUMBER SIGN
- u'@' # 0x007c -> COMMERCIAL AT
- u"'" # 0x007d -> APOSTROPHE
- u'=' # 0x007e -> EQUALS SIGN
- u'"' # 0x007f -> QUOTATION MARK
- u'\ufffe' # 0x0080 -> UNDEFINED
- u'a' # 0x0081 -> LATIN SMALL LETTER A
- u'b' # 0x0082 -> LATIN SMALL LETTER B
- u'c' # 0x0083 -> LATIN SMALL LETTER C
- u'd' # 0x0084 -> LATIN SMALL LETTER D
- u'e' # 0x0085 -> LATIN SMALL LETTER E
- u'f' # 0x0086 -> LATIN SMALL LETTER F
- u'g' # 0x0087 -> LATIN SMALL LETTER G
- u'h' # 0x0088 -> LATIN SMALL LETTER H
- u'i' # 0x0089 -> LATIN SMALL LETTER I
- u'\xab' # 0x008a -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbb' # 0x008b -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\ufffe' # 0x008c -> UNDEFINED
- u'\ufffe' # 0x008d -> UNDEFINED
- u'\ufffe' # 0x008e -> UNDEFINED
- u'\xb1' # 0x008f -> PLUS-MINUS SIGN
- u'\xb0' # 0x0090 -> DEGREE SIGN
- u'j' # 0x0091 -> LATIN SMALL LETTER J
- u'k' # 0x0092 -> LATIN SMALL LETTER K
- u'l' # 0x0093 -> LATIN SMALL LETTER L
- u'm' # 0x0094 -> LATIN SMALL LETTER M
- u'n' # 0x0095 -> LATIN SMALL LETTER N
- u'o' # 0x0096 -> LATIN SMALL LETTER O
- u'p' # 0x0097 -> LATIN SMALL LETTER P
- u'q' # 0x0098 -> LATIN SMALL LETTER Q
- u'r' # 0x0099 -> LATIN SMALL LETTER R
- u'\ufffe' # 0x009a -> UNDEFINED
- u'\ufffe' # 0x009b -> UNDEFINED
- u'\ufffe' # 0x009c -> UNDEFINED
- u'\xb8' # 0x009d -> CEDILLA
- u'\ufffe' # 0x009e -> UNDEFINED
- u'\xa4' # 0x009f -> CURRENCY SIGN
- u'\xb5' # 0x00a0 -> MICRO SIGN
- u'~' # 0x00a1 -> TILDE
- u's' # 0x00a2 -> LATIN SMALL LETTER S
- u't' # 0x00a3 -> LATIN SMALL LETTER T
- u'u' # 0x00a4 -> LATIN SMALL LETTER U
- u'v' # 0x00a5 -> LATIN SMALL LETTER V
- u'w' # 0x00a6 -> LATIN SMALL LETTER W
- u'x' # 0x00a7 -> LATIN SMALL LETTER X
- u'y' # 0x00a8 -> LATIN SMALL LETTER Y
- u'z' # 0x00a9 -> LATIN SMALL LETTER Z
- u'\ufffe' # 0x00aa -> UNDEFINED
- u'\ufffe' # 0x00ab -> UNDEFINED
- u'\ufffe' # 0x00ac -> UNDEFINED
- u'\ufffe' # 0x00ad -> UNDEFINED
- u'\ufffe' # 0x00ae -> UNDEFINED
- u'\xae' # 0x00af -> REGISTERED SIGN
- u'^' # 0x00b0 -> CIRCUMFLEX ACCENT
- u'\xa3' # 0x00b1 -> POUND SIGN
- u'\xa5' # 0x00b2 -> YEN SIGN
- u'\xb7' # 0x00b3 -> MIDDLE DOT
- u'\xa9' # 0x00b4 -> COPYRIGHT SIGN
- u'\xa7' # 0x00b5 -> SECTION SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xbc' # 0x00b7 -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00b8 -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00b9 -> VULGAR FRACTION THREE QUARTERS
- u'[' # 0x00ba -> LEFT SQUARE BRACKET
- u']' # 0x00bb -> RIGHT SQUARE BRACKET
- u'\xaf' # 0x00bc -> MACRON
- u'\xa8' # 0x00bd -> DIAERESIS
- u'\xb4' # 0x00be -> ACUTE ACCENT
- u'\xd7' # 0x00bf -> MULTIPLICATION SIGN
- u'{' # 0x00c0 -> LEFT CURLY BRACKET
- u'A' # 0x00c1 -> LATIN CAPITAL LETTER A
- u'B' # 0x00c2 -> LATIN CAPITAL LETTER B
- u'C' # 0x00c3 -> LATIN CAPITAL LETTER C
- u'D' # 0x00c4 -> LATIN CAPITAL LETTER D
- u'E' # 0x00c5 -> LATIN CAPITAL LETTER E
- u'F' # 0x00c6 -> LATIN CAPITAL LETTER F
- u'G' # 0x00c7 -> LATIN CAPITAL LETTER G
- u'H' # 0x00c8 -> LATIN CAPITAL LETTER H
- u'I' # 0x00c9 -> LATIN CAPITAL LETTER I
- u'\xad' # 0x00ca -> SOFT HYPHEN
- u'\ufffe' # 0x00cb -> UNDEFINED
- u'\ufffe' # 0x00cc -> UNDEFINED
- u'\ufffe' # 0x00cd -> UNDEFINED
- u'\ufffe' # 0x00ce -> UNDEFINED
- u'\ufffe' # 0x00cf -> UNDEFINED
- u'}' # 0x00d0 -> RIGHT CURLY BRACKET
- u'J' # 0x00d1 -> LATIN CAPITAL LETTER J
- u'K' # 0x00d2 -> LATIN CAPITAL LETTER K
- u'L' # 0x00d3 -> LATIN CAPITAL LETTER L
- u'M' # 0x00d4 -> LATIN CAPITAL LETTER M
- u'N' # 0x00d5 -> LATIN CAPITAL LETTER N
- u'O' # 0x00d6 -> LATIN CAPITAL LETTER O
- u'P' # 0x00d7 -> LATIN CAPITAL LETTER P
- u'Q' # 0x00d8 -> LATIN CAPITAL LETTER Q
- u'R' # 0x00d9 -> LATIN CAPITAL LETTER R
- u'\xb9' # 0x00da -> SUPERSCRIPT ONE
- u'\ufffe' # 0x00db -> UNDEFINED
- u'\ufffe' # 0x00dc -> UNDEFINED
- u'\ufffe' # 0x00dd -> UNDEFINED
- u'\ufffe' # 0x00de -> UNDEFINED
- u'\ufffe' # 0x00df -> UNDEFINED
- u'\\' # 0x00e0 -> REVERSE SOLIDUS
- u'\xf7' # 0x00e1 -> DIVISION SIGN
- u'S' # 0x00e2 -> LATIN CAPITAL LETTER S
- u'T' # 0x00e3 -> LATIN CAPITAL LETTER T
- u'U' # 0x00e4 -> LATIN CAPITAL LETTER U
- u'V' # 0x00e5 -> LATIN CAPITAL LETTER V
- u'W' # 0x00e6 -> LATIN CAPITAL LETTER W
- u'X' # 0x00e7 -> LATIN CAPITAL LETTER X
- u'Y' # 0x00e8 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x00e9 -> LATIN CAPITAL LETTER Z
- u'\xb2' # 0x00ea -> SUPERSCRIPT TWO
- u'\ufffe' # 0x00eb -> UNDEFINED
- u'\ufffe' # 0x00ec -> UNDEFINED
- u'\ufffe' # 0x00ed -> UNDEFINED
- u'\ufffe' # 0x00ee -> UNDEFINED
- u'\ufffe' # 0x00ef -> UNDEFINED
- u'0' # 0x00f0 -> DIGIT ZERO
- u'1' # 0x00f1 -> DIGIT ONE
- u'2' # 0x00f2 -> DIGIT TWO
- u'3' # 0x00f3 -> DIGIT THREE
- u'4' # 0x00f4 -> DIGIT FOUR
- u'5' # 0x00f5 -> DIGIT FIVE
- u'6' # 0x00f6 -> DIGIT SIX
- u'7' # 0x00f7 -> DIGIT SEVEN
- u'8' # 0x00f8 -> DIGIT EIGHT
- u'9' # 0x00f9 -> DIGIT NINE
- u'\xb3' # 0x00fa -> SUPERSCRIPT THREE
- u'\ufffe' # 0x00fb -> UNDEFINED
- u'\ufffe' # 0x00fc -> UNDEFINED
- u'\ufffe' # 0x00fd -> UNDEFINED
- u'\ufffe' # 0x00fe -> UNDEFINED
- u'\x9f' # 0x00ff -> EIGHT ONES
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x9c' # 0x04 -> SELECT
+ u'\t' # 0x05 -> HORIZONTAL TABULATION
+ u'\x86' # 0x06 -> REQUIRED NEW LINE
+ u'\x7f' # 0x07 -> DELETE
+ u'\x97' # 0x08 -> GRAPHIC ESCAPE
+ u'\x8d' # 0x09 -> SUPERSCRIPT
+ u'\x8e' # 0x0a -> REPEAT
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x9d' # 0x14 -> RESTORE/ENABLE PRESENTATION
+ u'\x85' # 0x15 -> NEW LINE
+ u'\x08' # 0x16 -> BACKSPACE
+ u'\x87' # 0x17 -> PROGRAM OPERATOR COMMUNICATION
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x92' # 0x1a -> UNIT BACK SPACE
+ u'\x8f' # 0x1b -> CUSTOMER USE ONE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u'\x80' # 0x20 -> DIGIT SELECT
+ u'\x81' # 0x21 -> START OF SIGNIFICANCE
+ u'\x82' # 0x22 -> FIELD SEPARATOR
+ u'\x83' # 0x23 -> WORD UNDERSCORE
+ u'\x84' # 0x24 -> BYPASS OR INHIBIT PRESENTATION
+ u'\n' # 0x25 -> LINE FEED
+ u'\x17' # 0x26 -> END OF TRANSMISSION BLOCK
+ u'\x1b' # 0x27 -> ESCAPE
+ u'\x88' # 0x28 -> SET ATTRIBUTE
+ u'\x89' # 0x29 -> START FIELD EXTENDED
+ u'\x8a' # 0x2a -> SET MODE OR SWITCH
+ u'\x8b' # 0x2b -> CONTROL SEQUENCE PREFIX
+ u'\x8c' # 0x2c -> MODIFY FIELD ATTRIBUTE
+ u'\x05' # 0x2d -> ENQUIRY
+ u'\x06' # 0x2e -> ACKNOWLEDGE
+ u'\x07' # 0x2f -> BELL
+ u'\x90' # 0x30 -> <reserved>
+ u'\x91' # 0x31 -> <reserved>
+ u'\x16' # 0x32 -> SYNCHRONOUS IDLE
+ u'\x93' # 0x33 -> INDEX RETURN
+ u'\x94' # 0x34 -> PRESENTATION POSITION
+ u'\x95' # 0x35 -> TRANSPARENT
+ u'\x96' # 0x36 -> NUMERIC BACKSPACE
+ u'\x04' # 0x37 -> END OF TRANSMISSION
+ u'\x98' # 0x38 -> SUBSCRIPT
+ u'\x99' # 0x39 -> INDENT TABULATION
+ u'\x9a' # 0x3a -> REVERSE FORM FEED
+ u'\x9b' # 0x3b -> CUSTOMER USE THREE
+ u'\x14' # 0x3c -> DEVICE CONTROL FOUR
+ u'\x15' # 0x3d -> NEGATIVE ACKNOWLEDGE
+ u'\x9e' # 0x3e -> <reserved>
+ u'\x1a' # 0x3f -> SUBSTITUTE
+ u' ' # 0x40 -> SPACE
+ u'\u05d0' # 0x41 -> HEBREW LETTER ALEF
+ u'\u05d1' # 0x42 -> HEBREW LETTER BET
+ u'\u05d2' # 0x43 -> HEBREW LETTER GIMEL
+ u'\u05d3' # 0x44 -> HEBREW LETTER DALET
+ u'\u05d4' # 0x45 -> HEBREW LETTER HE
+ u'\u05d5' # 0x46 -> HEBREW LETTER VAV
+ u'\u05d6' # 0x47 -> HEBREW LETTER ZAYIN
+ u'\u05d7' # 0x48 -> HEBREW LETTER HET
+ u'\u05d8' # 0x49 -> HEBREW LETTER TET
+ u'\xa2' # 0x4a -> CENT SIGN
+ u'.' # 0x4b -> FULL STOP
+ u'<' # 0x4c -> LESS-THAN SIGN
+ u'(' # 0x4d -> LEFT PARENTHESIS
+ u'+' # 0x4e -> PLUS SIGN
+ u'|' # 0x4f -> VERTICAL LINE
+ u'&' # 0x50 -> AMPERSAND
+ u'\u05d9' # 0x51 -> HEBREW LETTER YOD
+ u'\u05da' # 0x52 -> HEBREW LETTER FINAL KAF
+ u'\u05db' # 0x53 -> HEBREW LETTER KAF
+ u'\u05dc' # 0x54 -> HEBREW LETTER LAMED
+ u'\u05dd' # 0x55 -> HEBREW LETTER FINAL MEM
+ u'\u05de' # 0x56 -> HEBREW LETTER MEM
+ u'\u05df' # 0x57 -> HEBREW LETTER FINAL NUN
+ u'\u05e0' # 0x58 -> HEBREW LETTER NUN
+ u'\u05e1' # 0x59 -> HEBREW LETTER SAMEKH
+ u'!' # 0x5a -> EXCLAMATION MARK
+ u'$' # 0x5b -> DOLLAR SIGN
+ u'*' # 0x5c -> ASTERISK
+ u')' # 0x5d -> RIGHT PARENTHESIS
+ u';' # 0x5e -> SEMICOLON
+ u'\xac' # 0x5f -> NOT SIGN
+ u'-' # 0x60 -> HYPHEN-MINUS
+ u'/' # 0x61 -> SOLIDUS
+ u'\u05e2' # 0x62 -> HEBREW LETTER AYIN
+ u'\u05e3' # 0x63 -> HEBREW LETTER FINAL PE
+ u'\u05e4' # 0x64 -> HEBREW LETTER PE
+ u'\u05e5' # 0x65 -> HEBREW LETTER FINAL TSADI
+ u'\u05e6' # 0x66 -> HEBREW LETTER TSADI
+ u'\u05e7' # 0x67 -> HEBREW LETTER QOF
+ u'\u05e8' # 0x68 -> HEBREW LETTER RESH
+ u'\u05e9' # 0x69 -> HEBREW LETTER SHIN
+ u'\xa6' # 0x6a -> BROKEN BAR
+ u',' # 0x6b -> COMMA
+ u'%' # 0x6c -> PERCENT SIGN
+ u'_' # 0x6d -> LOW LINE
+ u'>' # 0x6e -> GREATER-THAN SIGN
+ u'?' # 0x6f -> QUESTION MARK
+ u'\ufffe' # 0x70 -> UNDEFINED
+ u'\u05ea' # 0x71 -> HEBREW LETTER TAV
+ u'\ufffe' # 0x72 -> UNDEFINED
+ u'\ufffe' # 0x73 -> UNDEFINED
+ u'\xa0' # 0x74 -> NO-BREAK SPACE
+ u'\ufffe' # 0x75 -> UNDEFINED
+ u'\ufffe' # 0x76 -> UNDEFINED
+ u'\ufffe' # 0x77 -> UNDEFINED
+ u'\u2017' # 0x78 -> DOUBLE LOW LINE
+ u'`' # 0x79 -> GRAVE ACCENT
+ u':' # 0x7a -> COLON
+ u'#' # 0x7b -> NUMBER SIGN
+ u'@' # 0x7c -> COMMERCIAL AT
+ u"'" # 0x7d -> APOSTROPHE
+ u'=' # 0x7e -> EQUALS SIGN
+ u'"' # 0x7f -> QUOTATION MARK
+ u'\ufffe' # 0x80 -> UNDEFINED
+ u'a' # 0x81 -> LATIN SMALL LETTER A
+ u'b' # 0x82 -> LATIN SMALL LETTER B
+ u'c' # 0x83 -> LATIN SMALL LETTER C
+ u'd' # 0x84 -> LATIN SMALL LETTER D
+ u'e' # 0x85 -> LATIN SMALL LETTER E
+ u'f' # 0x86 -> LATIN SMALL LETTER F
+ u'g' # 0x87 -> LATIN SMALL LETTER G
+ u'h' # 0x88 -> LATIN SMALL LETTER H
+ u'i' # 0x89 -> LATIN SMALL LETTER I
+ u'\xab' # 0x8a -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0x8b -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\ufffe' # 0x8c -> UNDEFINED
+ u'\ufffe' # 0x8d -> UNDEFINED
+ u'\ufffe' # 0x8e -> UNDEFINED
+ u'\xb1' # 0x8f -> PLUS-MINUS SIGN
+ u'\xb0' # 0x90 -> DEGREE SIGN
+ u'j' # 0x91 -> LATIN SMALL LETTER J
+ u'k' # 0x92 -> LATIN SMALL LETTER K
+ u'l' # 0x93 -> LATIN SMALL LETTER L
+ u'm' # 0x94 -> LATIN SMALL LETTER M
+ u'n' # 0x95 -> LATIN SMALL LETTER N
+ u'o' # 0x96 -> LATIN SMALL LETTER O
+ u'p' # 0x97 -> LATIN SMALL LETTER P
+ u'q' # 0x98 -> LATIN SMALL LETTER Q
+ u'r' # 0x99 -> LATIN SMALL LETTER R
+ u'\ufffe' # 0x9a -> UNDEFINED
+ u'\ufffe' # 0x9b -> UNDEFINED
+ u'\ufffe' # 0x9c -> UNDEFINED
+ u'\xb8' # 0x9d -> CEDILLA
+ u'\ufffe' # 0x9e -> UNDEFINED
+ u'\xa4' # 0x9f -> CURRENCY SIGN
+ u'\xb5' # 0xa0 -> MICRO SIGN
+ u'~' # 0xa1 -> TILDE
+ u's' # 0xa2 -> LATIN SMALL LETTER S
+ u't' # 0xa3 -> LATIN SMALL LETTER T
+ u'u' # 0xa4 -> LATIN SMALL LETTER U
+ u'v' # 0xa5 -> LATIN SMALL LETTER V
+ u'w' # 0xa6 -> LATIN SMALL LETTER W
+ u'x' # 0xa7 -> LATIN SMALL LETTER X
+ u'y' # 0xa8 -> LATIN SMALL LETTER Y
+ u'z' # 0xa9 -> LATIN SMALL LETTER Z
+ u'\ufffe' # 0xaa -> UNDEFINED
+ u'\ufffe' # 0xab -> UNDEFINED
+ u'\ufffe' # 0xac -> UNDEFINED
+ u'\ufffe' # 0xad -> UNDEFINED
+ u'\ufffe' # 0xae -> UNDEFINED
+ u'\xae' # 0xaf -> REGISTERED SIGN
+ u'^' # 0xb0 -> CIRCUMFLEX ACCENT
+ u'\xa3' # 0xb1 -> POUND SIGN
+ u'\xa5' # 0xb2 -> YEN SIGN
+ u'\xb7' # 0xb3 -> MIDDLE DOT
+ u'\xa9' # 0xb4 -> COPYRIGHT SIGN
+ u'\xa7' # 0xb5 -> SECTION SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xbc' # 0xb7 -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xb8 -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xb9 -> VULGAR FRACTION THREE QUARTERS
+ u'[' # 0xba -> LEFT SQUARE BRACKET
+ u']' # 0xbb -> RIGHT SQUARE BRACKET
+ u'\xaf' # 0xbc -> MACRON
+ u'\xa8' # 0xbd -> DIAERESIS
+ u'\xb4' # 0xbe -> ACUTE ACCENT
+ u'\xd7' # 0xbf -> MULTIPLICATION SIGN
+ u'{' # 0xc0 -> LEFT CURLY BRACKET
+ u'A' # 0xc1 -> LATIN CAPITAL LETTER A
+ u'B' # 0xc2 -> LATIN CAPITAL LETTER B
+ u'C' # 0xc3 -> LATIN CAPITAL LETTER C
+ u'D' # 0xc4 -> LATIN CAPITAL LETTER D
+ u'E' # 0xc5 -> LATIN CAPITAL LETTER E
+ u'F' # 0xc6 -> LATIN CAPITAL LETTER F
+ u'G' # 0xc7 -> LATIN CAPITAL LETTER G
+ u'H' # 0xc8 -> LATIN CAPITAL LETTER H
+ u'I' # 0xc9 -> LATIN CAPITAL LETTER I
+ u'\xad' # 0xca -> SOFT HYPHEN
+ u'\ufffe' # 0xcb -> UNDEFINED
+ u'\ufffe' # 0xcc -> UNDEFINED
+ u'\ufffe' # 0xcd -> UNDEFINED
+ u'\ufffe' # 0xce -> UNDEFINED
+ u'\ufffe' # 0xcf -> UNDEFINED
+ u'}' # 0xd0 -> RIGHT CURLY BRACKET
+ u'J' # 0xd1 -> LATIN CAPITAL LETTER J
+ u'K' # 0xd2 -> LATIN CAPITAL LETTER K
+ u'L' # 0xd3 -> LATIN CAPITAL LETTER L
+ u'M' # 0xd4 -> LATIN CAPITAL LETTER M
+ u'N' # 0xd5 -> LATIN CAPITAL LETTER N
+ u'O' # 0xd6 -> LATIN CAPITAL LETTER O
+ u'P' # 0xd7 -> LATIN CAPITAL LETTER P
+ u'Q' # 0xd8 -> LATIN CAPITAL LETTER Q
+ u'R' # 0xd9 -> LATIN CAPITAL LETTER R
+ u'\xb9' # 0xda -> SUPERSCRIPT ONE
+ u'\ufffe' # 0xdb -> UNDEFINED
+ u'\ufffe' # 0xdc -> UNDEFINED
+ u'\ufffe' # 0xdd -> UNDEFINED
+ u'\ufffe' # 0xde -> UNDEFINED
+ u'\ufffe' # 0xdf -> UNDEFINED
+ u'\\' # 0xe0 -> REVERSE SOLIDUS
+ u'\xf7' # 0xe1 -> DIVISION SIGN
+ u'S' # 0xe2 -> LATIN CAPITAL LETTER S
+ u'T' # 0xe3 -> LATIN CAPITAL LETTER T
+ u'U' # 0xe4 -> LATIN CAPITAL LETTER U
+ u'V' # 0xe5 -> LATIN CAPITAL LETTER V
+ u'W' # 0xe6 -> LATIN CAPITAL LETTER W
+ u'X' # 0xe7 -> LATIN CAPITAL LETTER X
+ u'Y' # 0xe8 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0xe9 -> LATIN CAPITAL LETTER Z
+ u'\xb2' # 0xea -> SUPERSCRIPT TWO
+ u'\ufffe' # 0xeb -> UNDEFINED
+ u'\ufffe' # 0xec -> UNDEFINED
+ u'\ufffe' # 0xed -> UNDEFINED
+ u'\ufffe' # 0xee -> UNDEFINED
+ u'\ufffe' # 0xef -> UNDEFINED
+ u'0' # 0xf0 -> DIGIT ZERO
+ u'1' # 0xf1 -> DIGIT ONE
+ u'2' # 0xf2 -> DIGIT TWO
+ u'3' # 0xf3 -> DIGIT THREE
+ u'4' # 0xf4 -> DIGIT FOUR
+ u'5' # 0xf5 -> DIGIT FIVE
+ u'6' # 0xf6 -> DIGIT SIX
+ u'7' # 0xf7 -> DIGIT SEVEN
+ u'8' # 0xf8 -> DIGIT EIGHT
+ u'9' # 0xf9 -> DIGIT NINE
+ u'\xb3' # 0xfa -> SUPERSCRIPT THREE
+ u'\ufffe' # 0xfb -> UNDEFINED
+ u'\ufffe' # 0xfc -> UNDEFINED
+ u'\ufffe' # 0xfd -> UNDEFINED
+ u'\ufffe' # 0xfe -> UNDEFINED
+ u'\x9f' # 0xff -> EIGHT ONES
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0037, # END OF TRANSMISSION
- 0x0005: 0x002d, # ENQUIRY
- 0x0006: 0x002e, # ACKNOWLEDGE
- 0x0007: 0x002f, # BELL
- 0x0008: 0x0016, # BACKSPACE
- 0x0009: 0x0005, # HORIZONTAL TABULATION
- 0x000a: 0x0025, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x003c, # DEVICE CONTROL FOUR
- 0x0015: 0x003d, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0032, # SYNCHRONOUS IDLE
- 0x0017: 0x0026, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x003f, # SUBSTITUTE
- 0x001b: 0x0027, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0040, # SPACE
- 0x0021: 0x005a, # EXCLAMATION MARK
- 0x0022: 0x007f, # QUOTATION MARK
- 0x0023: 0x007b, # NUMBER SIGN
- 0x0024: 0x005b, # DOLLAR SIGN
- 0x0025: 0x006c, # PERCENT SIGN
- 0x0026: 0x0050, # AMPERSAND
- 0x0027: 0x007d, # APOSTROPHE
- 0x0028: 0x004d, # LEFT PARENTHESIS
- 0x0029: 0x005d, # RIGHT PARENTHESIS
- 0x002a: 0x005c, # ASTERISK
- 0x002b: 0x004e, # PLUS SIGN
- 0x002c: 0x006b, # COMMA
- 0x002d: 0x0060, # HYPHEN-MINUS
- 0x002e: 0x004b, # FULL STOP
- 0x002f: 0x0061, # SOLIDUS
- 0x0030: 0x00f0, # DIGIT ZERO
- 0x0031: 0x00f1, # DIGIT ONE
- 0x0032: 0x00f2, # DIGIT TWO
- 0x0033: 0x00f3, # DIGIT THREE
- 0x0034: 0x00f4, # DIGIT FOUR
- 0x0035: 0x00f5, # DIGIT FIVE
- 0x0036: 0x00f6, # DIGIT SIX
- 0x0037: 0x00f7, # DIGIT SEVEN
- 0x0038: 0x00f8, # DIGIT EIGHT
- 0x0039: 0x00f9, # DIGIT NINE
- 0x003a: 0x007a, # COLON
- 0x003b: 0x005e, # SEMICOLON
- 0x003c: 0x004c, # LESS-THAN SIGN
- 0x003d: 0x007e, # EQUALS SIGN
- 0x003e: 0x006e, # GREATER-THAN SIGN
- 0x003f: 0x006f, # QUESTION MARK
- 0x0040: 0x007c, # COMMERCIAL AT
- 0x0041: 0x00c1, # LATIN CAPITAL LETTER A
- 0x0042: 0x00c2, # LATIN CAPITAL LETTER B
- 0x0043: 0x00c3, # LATIN CAPITAL LETTER C
- 0x0044: 0x00c4, # LATIN CAPITAL LETTER D
- 0x0045: 0x00c5, # LATIN CAPITAL LETTER E
- 0x0046: 0x00c6, # LATIN CAPITAL LETTER F
- 0x0047: 0x00c7, # LATIN CAPITAL LETTER G
- 0x0048: 0x00c8, # LATIN CAPITAL LETTER H
- 0x0049: 0x00c9, # LATIN CAPITAL LETTER I
- 0x004a: 0x00d1, # LATIN CAPITAL LETTER J
- 0x004b: 0x00d2, # LATIN CAPITAL LETTER K
- 0x004c: 0x00d3, # LATIN CAPITAL LETTER L
- 0x004d: 0x00d4, # LATIN CAPITAL LETTER M
- 0x004e: 0x00d5, # LATIN CAPITAL LETTER N
- 0x004f: 0x00d6, # LATIN CAPITAL LETTER O
- 0x0050: 0x00d7, # LATIN CAPITAL LETTER P
- 0x0051: 0x00d8, # LATIN CAPITAL LETTER Q
- 0x0052: 0x00d9, # LATIN CAPITAL LETTER R
- 0x0053: 0x00e2, # LATIN CAPITAL LETTER S
- 0x0054: 0x00e3, # LATIN CAPITAL LETTER T
- 0x0055: 0x00e4, # LATIN CAPITAL LETTER U
- 0x0056: 0x00e5, # LATIN CAPITAL LETTER V
- 0x0057: 0x00e6, # LATIN CAPITAL LETTER W
- 0x0058: 0x00e7, # LATIN CAPITAL LETTER X
- 0x0059: 0x00e8, # LATIN CAPITAL LETTER Y
- 0x005a: 0x00e9, # LATIN CAPITAL LETTER Z
- 0x005b: 0x00ba, # LEFT SQUARE BRACKET
- 0x005c: 0x00e0, # REVERSE SOLIDUS
- 0x005d: 0x00bb, # RIGHT SQUARE BRACKET
- 0x005e: 0x00b0, # CIRCUMFLEX ACCENT
- 0x005f: 0x006d, # LOW LINE
- 0x0060: 0x0079, # GRAVE ACCENT
- 0x0061: 0x0081, # LATIN SMALL LETTER A
- 0x0062: 0x0082, # LATIN SMALL LETTER B
- 0x0063: 0x0083, # LATIN SMALL LETTER C
- 0x0064: 0x0084, # LATIN SMALL LETTER D
- 0x0065: 0x0085, # LATIN SMALL LETTER E
- 0x0066: 0x0086, # LATIN SMALL LETTER F
- 0x0067: 0x0087, # LATIN SMALL LETTER G
- 0x0068: 0x0088, # LATIN SMALL LETTER H
- 0x0069: 0x0089, # LATIN SMALL LETTER I
- 0x006a: 0x0091, # LATIN SMALL LETTER J
- 0x006b: 0x0092, # LATIN SMALL LETTER K
- 0x006c: 0x0093, # LATIN SMALL LETTER L
- 0x006d: 0x0094, # LATIN SMALL LETTER M
- 0x006e: 0x0095, # LATIN SMALL LETTER N
- 0x006f: 0x0096, # LATIN SMALL LETTER O
- 0x0070: 0x0097, # LATIN SMALL LETTER P
- 0x0071: 0x0098, # LATIN SMALL LETTER Q
- 0x0072: 0x0099, # LATIN SMALL LETTER R
- 0x0073: 0x00a2, # LATIN SMALL LETTER S
- 0x0074: 0x00a3, # LATIN SMALL LETTER T
- 0x0075: 0x00a4, # LATIN SMALL LETTER U
- 0x0076: 0x00a5, # LATIN SMALL LETTER V
- 0x0077: 0x00a6, # LATIN SMALL LETTER W
- 0x0078: 0x00a7, # LATIN SMALL LETTER X
- 0x0079: 0x00a8, # LATIN SMALL LETTER Y
- 0x007a: 0x00a9, # LATIN SMALL LETTER Z
- 0x007b: 0x00c0, # LEFT CURLY BRACKET
- 0x007c: 0x004f, # VERTICAL LINE
- 0x007d: 0x00d0, # RIGHT CURLY BRACKET
- 0x007e: 0x00a1, # TILDE
- 0x007f: 0x0007, # DELETE
- 0x0080: 0x0020, # DIGIT SELECT
- 0x0081: 0x0021, # START OF SIGNIFICANCE
- 0x0082: 0x0022, # FIELD SEPARATOR
- 0x0083: 0x0023, # WORD UNDERSCORE
- 0x0084: 0x0024, # BYPASS OR INHIBIT PRESENTATION
- 0x0085: 0x0015, # NEW LINE
- 0x0086: 0x0006, # REQUIRED NEW LINE
- 0x0087: 0x0017, # PROGRAM OPERATOR COMMUNICATION
- 0x0088: 0x0028, # SET ATTRIBUTE
- 0x0089: 0x0029, # START FIELD EXTENDED
- 0x008a: 0x002a, # SET MODE OR SWITCH
- 0x008b: 0x002b, # CONTROL SEQUENCE PREFIX
- 0x008c: 0x002c, # MODIFY FIELD ATTRIBUTE
- 0x008d: 0x0009, # SUPERSCRIPT
- 0x008e: 0x000a, # REPEAT
- 0x008f: 0x001b, # CUSTOMER USE ONE
- 0x0090: 0x0030, # <reserved>
- 0x0091: 0x0031, # <reserved>
- 0x0092: 0x001a, # UNIT BACK SPACE
- 0x0093: 0x0033, # INDEX RETURN
- 0x0094: 0x0034, # PRESENTATION POSITION
- 0x0095: 0x0035, # TRANSPARENT
- 0x0096: 0x0036, # NUMERIC BACKSPACE
- 0x0097: 0x0008, # GRAPHIC ESCAPE
- 0x0098: 0x0038, # SUBSCRIPT
- 0x0099: 0x0039, # INDENT TABULATION
- 0x009a: 0x003a, # REVERSE FORM FEED
- 0x009b: 0x003b, # CUSTOMER USE THREE
- 0x009c: 0x0004, # SELECT
- 0x009d: 0x0014, # RESTORE/ENABLE PRESENTATION
- 0x009e: 0x003e, # <reserved>
- 0x009f: 0x00ff, # EIGHT ONES
- 0x00a0: 0x0074, # NO-BREAK SPACE
- 0x00a2: 0x004a, # CENT SIGN
- 0x00a3: 0x00b1, # POUND SIGN
- 0x00a4: 0x009f, # CURRENCY SIGN
- 0x00a5: 0x00b2, # YEN SIGN
- 0x00a6: 0x006a, # BROKEN BAR
- 0x00a7: 0x00b5, # SECTION SIGN
- 0x00a8: 0x00bd, # DIAERESIS
- 0x00a9: 0x00b4, # COPYRIGHT SIGN
- 0x00ab: 0x008a, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x005f, # NOT SIGN
- 0x00ad: 0x00ca, # SOFT HYPHEN
- 0x00ae: 0x00af, # REGISTERED SIGN
- 0x00af: 0x00bc, # MACRON
- 0x00b0: 0x0090, # DEGREE SIGN
- 0x00b1: 0x008f, # PLUS-MINUS SIGN
- 0x00b2: 0x00ea, # SUPERSCRIPT TWO
- 0x00b3: 0x00fa, # SUPERSCRIPT THREE
- 0x00b4: 0x00be, # ACUTE ACCENT
- 0x00b5: 0x00a0, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b3, # MIDDLE DOT
- 0x00b8: 0x009d, # CEDILLA
- 0x00b9: 0x00da, # SUPERSCRIPT ONE
- 0x00bb: 0x008b, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00b7, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00b8, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00b9, # VULGAR FRACTION THREE QUARTERS
- 0x00d7: 0x00bf, # MULTIPLICATION SIGN
- 0x00f7: 0x00e1, # DIVISION SIGN
- 0x05d0: 0x0041, # HEBREW LETTER ALEF
- 0x05d1: 0x0042, # HEBREW LETTER BET
- 0x05d2: 0x0043, # HEBREW LETTER GIMEL
- 0x05d3: 0x0044, # HEBREW LETTER DALET
- 0x05d4: 0x0045, # HEBREW LETTER HE
- 0x05d5: 0x0046, # HEBREW LETTER VAV
- 0x05d6: 0x0047, # HEBREW LETTER ZAYIN
- 0x05d7: 0x0048, # HEBREW LETTER HET
- 0x05d8: 0x0049, # HEBREW LETTER TET
- 0x05d9: 0x0051, # HEBREW LETTER YOD
- 0x05da: 0x0052, # HEBREW LETTER FINAL KAF
- 0x05db: 0x0053, # HEBREW LETTER KAF
- 0x05dc: 0x0054, # HEBREW LETTER LAMED
- 0x05dd: 0x0055, # HEBREW LETTER FINAL MEM
- 0x05de: 0x0056, # HEBREW LETTER MEM
- 0x05df: 0x0057, # HEBREW LETTER FINAL NUN
- 0x05e0: 0x0058, # HEBREW LETTER NUN
- 0x05e1: 0x0059, # HEBREW LETTER SAMEKH
- 0x05e2: 0x0062, # HEBREW LETTER AYIN
- 0x05e3: 0x0063, # HEBREW LETTER FINAL PE
- 0x05e4: 0x0064, # HEBREW LETTER PE
- 0x05e5: 0x0065, # HEBREW LETTER FINAL TSADI
- 0x05e6: 0x0066, # HEBREW LETTER TSADI
- 0x05e7: 0x0067, # HEBREW LETTER QOF
- 0x05e8: 0x0068, # HEBREW LETTER RESH
- 0x05e9: 0x0069, # HEBREW LETTER SHIN
- 0x05ea: 0x0071, # HEBREW LETTER TAV
- 0x2017: 0x0078, # DOUBLE LOW LINE
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x37, # END OF TRANSMISSION
+ 0x0005: 0x2d, # ENQUIRY
+ 0x0006: 0x2e, # ACKNOWLEDGE
+ 0x0007: 0x2f, # BELL
+ 0x0008: 0x16, # BACKSPACE
+ 0x0009: 0x05, # HORIZONTAL TABULATION
+ 0x000a: 0x25, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x3c, # DEVICE CONTROL FOUR
+ 0x0015: 0x3d, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x32, # SYNCHRONOUS IDLE
+ 0x0017: 0x26, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x3f, # SUBSTITUTE
+ 0x001b: 0x27, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x40, # SPACE
+ 0x0021: 0x5a, # EXCLAMATION MARK
+ 0x0022: 0x7f, # QUOTATION MARK
+ 0x0023: 0x7b, # NUMBER SIGN
+ 0x0024: 0x5b, # DOLLAR SIGN
+ 0x0025: 0x6c, # PERCENT SIGN
+ 0x0026: 0x50, # AMPERSAND
+ 0x0027: 0x7d, # APOSTROPHE
+ 0x0028: 0x4d, # LEFT PARENTHESIS
+ 0x0029: 0x5d, # RIGHT PARENTHESIS
+ 0x002a: 0x5c, # ASTERISK
+ 0x002b: 0x4e, # PLUS SIGN
+ 0x002c: 0x6b, # COMMA
+ 0x002d: 0x60, # HYPHEN-MINUS
+ 0x002e: 0x4b, # FULL STOP
+ 0x002f: 0x61, # SOLIDUS
+ 0x0030: 0xf0, # DIGIT ZERO
+ 0x0031: 0xf1, # DIGIT ONE
+ 0x0032: 0xf2, # DIGIT TWO
+ 0x0033: 0xf3, # DIGIT THREE
+ 0x0034: 0xf4, # DIGIT FOUR
+ 0x0035: 0xf5, # DIGIT FIVE
+ 0x0036: 0xf6, # DIGIT SIX
+ 0x0037: 0xf7, # DIGIT SEVEN
+ 0x0038: 0xf8, # DIGIT EIGHT
+ 0x0039: 0xf9, # DIGIT NINE
+ 0x003a: 0x7a, # COLON
+ 0x003b: 0x5e, # SEMICOLON
+ 0x003c: 0x4c, # LESS-THAN SIGN
+ 0x003d: 0x7e, # EQUALS SIGN
+ 0x003e: 0x6e, # GREATER-THAN SIGN
+ 0x003f: 0x6f, # QUESTION MARK
+ 0x0040: 0x7c, # COMMERCIAL AT
+ 0x0041: 0xc1, # LATIN CAPITAL LETTER A
+ 0x0042: 0xc2, # LATIN CAPITAL LETTER B
+ 0x0043: 0xc3, # LATIN CAPITAL LETTER C
+ 0x0044: 0xc4, # LATIN CAPITAL LETTER D
+ 0x0045: 0xc5, # LATIN CAPITAL LETTER E
+ 0x0046: 0xc6, # LATIN CAPITAL LETTER F
+ 0x0047: 0xc7, # LATIN CAPITAL LETTER G
+ 0x0048: 0xc8, # LATIN CAPITAL LETTER H
+ 0x0049: 0xc9, # LATIN CAPITAL LETTER I
+ 0x004a: 0xd1, # LATIN CAPITAL LETTER J
+ 0x004b: 0xd2, # LATIN CAPITAL LETTER K
+ 0x004c: 0xd3, # LATIN CAPITAL LETTER L
+ 0x004d: 0xd4, # LATIN CAPITAL LETTER M
+ 0x004e: 0xd5, # LATIN CAPITAL LETTER N
+ 0x004f: 0xd6, # LATIN CAPITAL LETTER O
+ 0x0050: 0xd7, # LATIN CAPITAL LETTER P
+ 0x0051: 0xd8, # LATIN CAPITAL LETTER Q
+ 0x0052: 0xd9, # LATIN CAPITAL LETTER R
+ 0x0053: 0xe2, # LATIN CAPITAL LETTER S
+ 0x0054: 0xe3, # LATIN CAPITAL LETTER T
+ 0x0055: 0xe4, # LATIN CAPITAL LETTER U
+ 0x0056: 0xe5, # LATIN CAPITAL LETTER V
+ 0x0057: 0xe6, # LATIN CAPITAL LETTER W
+ 0x0058: 0xe7, # LATIN CAPITAL LETTER X
+ 0x0059: 0xe8, # LATIN CAPITAL LETTER Y
+ 0x005a: 0xe9, # LATIN CAPITAL LETTER Z
+ 0x005b: 0xba, # LEFT SQUARE BRACKET
+ 0x005c: 0xe0, # REVERSE SOLIDUS
+ 0x005d: 0xbb, # RIGHT SQUARE BRACKET
+ 0x005e: 0xb0, # CIRCUMFLEX ACCENT
+ 0x005f: 0x6d, # LOW LINE
+ 0x0060: 0x79, # GRAVE ACCENT
+ 0x0061: 0x81, # LATIN SMALL LETTER A
+ 0x0062: 0x82, # LATIN SMALL LETTER B
+ 0x0063: 0x83, # LATIN SMALL LETTER C
+ 0x0064: 0x84, # LATIN SMALL LETTER D
+ 0x0065: 0x85, # LATIN SMALL LETTER E
+ 0x0066: 0x86, # LATIN SMALL LETTER F
+ 0x0067: 0x87, # LATIN SMALL LETTER G
+ 0x0068: 0x88, # LATIN SMALL LETTER H
+ 0x0069: 0x89, # LATIN SMALL LETTER I
+ 0x006a: 0x91, # LATIN SMALL LETTER J
+ 0x006b: 0x92, # LATIN SMALL LETTER K
+ 0x006c: 0x93, # LATIN SMALL LETTER L
+ 0x006d: 0x94, # LATIN SMALL LETTER M
+ 0x006e: 0x95, # LATIN SMALL LETTER N
+ 0x006f: 0x96, # LATIN SMALL LETTER O
+ 0x0070: 0x97, # LATIN SMALL LETTER P
+ 0x0071: 0x98, # LATIN SMALL LETTER Q
+ 0x0072: 0x99, # LATIN SMALL LETTER R
+ 0x0073: 0xa2, # LATIN SMALL LETTER S
+ 0x0074: 0xa3, # LATIN SMALL LETTER T
+ 0x0075: 0xa4, # LATIN SMALL LETTER U
+ 0x0076: 0xa5, # LATIN SMALL LETTER V
+ 0x0077: 0xa6, # LATIN SMALL LETTER W
+ 0x0078: 0xa7, # LATIN SMALL LETTER X
+ 0x0079: 0xa8, # LATIN SMALL LETTER Y
+ 0x007a: 0xa9, # LATIN SMALL LETTER Z
+ 0x007b: 0xc0, # LEFT CURLY BRACKET
+ 0x007c: 0x4f, # VERTICAL LINE
+ 0x007d: 0xd0, # RIGHT CURLY BRACKET
+ 0x007e: 0xa1, # TILDE
+ 0x007f: 0x07, # DELETE
+ 0x0080: 0x20, # DIGIT SELECT
+ 0x0081: 0x21, # START OF SIGNIFICANCE
+ 0x0082: 0x22, # FIELD SEPARATOR
+ 0x0083: 0x23, # WORD UNDERSCORE
+ 0x0084: 0x24, # BYPASS OR INHIBIT PRESENTATION
+ 0x0085: 0x15, # NEW LINE
+ 0x0086: 0x06, # REQUIRED NEW LINE
+ 0x0087: 0x17, # PROGRAM OPERATOR COMMUNICATION
+ 0x0088: 0x28, # SET ATTRIBUTE
+ 0x0089: 0x29, # START FIELD EXTENDED
+ 0x008a: 0x2a, # SET MODE OR SWITCH
+ 0x008b: 0x2b, # CONTROL SEQUENCE PREFIX
+ 0x008c: 0x2c, # MODIFY FIELD ATTRIBUTE
+ 0x008d: 0x09, # SUPERSCRIPT
+ 0x008e: 0x0a, # REPEAT
+ 0x008f: 0x1b, # CUSTOMER USE ONE
+ 0x0090: 0x30, # <reserved>
+ 0x0091: 0x31, # <reserved>
+ 0x0092: 0x1a, # UNIT BACK SPACE
+ 0x0093: 0x33, # INDEX RETURN
+ 0x0094: 0x34, # PRESENTATION POSITION
+ 0x0095: 0x35, # TRANSPARENT
+ 0x0096: 0x36, # NUMERIC BACKSPACE
+ 0x0097: 0x08, # GRAPHIC ESCAPE
+ 0x0098: 0x38, # SUBSCRIPT
+ 0x0099: 0x39, # INDENT TABULATION
+ 0x009a: 0x3a, # REVERSE FORM FEED
+ 0x009b: 0x3b, # CUSTOMER USE THREE
+ 0x009c: 0x04, # SELECT
+ 0x009d: 0x14, # RESTORE/ENABLE PRESENTATION
+ 0x009e: 0x3e, # <reserved>
+ 0x009f: 0xff, # EIGHT ONES
+ 0x00a0: 0x74, # NO-BREAK SPACE
+ 0x00a2: 0x4a, # CENT SIGN
+ 0x00a3: 0xb1, # POUND SIGN
+ 0x00a4: 0x9f, # CURRENCY SIGN
+ 0x00a5: 0xb2, # YEN SIGN
+ 0x00a6: 0x6a, # BROKEN BAR
+ 0x00a7: 0xb5, # SECTION SIGN
+ 0x00a8: 0xbd, # DIAERESIS
+ 0x00a9: 0xb4, # COPYRIGHT SIGN
+ 0x00ab: 0x8a, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0x5f, # NOT SIGN
+ 0x00ad: 0xca, # SOFT HYPHEN
+ 0x00ae: 0xaf, # REGISTERED SIGN
+ 0x00af: 0xbc, # MACRON
+ 0x00b0: 0x90, # DEGREE SIGN
+ 0x00b1: 0x8f, # PLUS-MINUS SIGN
+ 0x00b2: 0xea, # SUPERSCRIPT TWO
+ 0x00b3: 0xfa, # SUPERSCRIPT THREE
+ 0x00b4: 0xbe, # ACUTE ACCENT
+ 0x00b5: 0xa0, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb3, # MIDDLE DOT
+ 0x00b8: 0x9d, # CEDILLA
+ 0x00b9: 0xda, # SUPERSCRIPT ONE
+ 0x00bb: 0x8b, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xb7, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xb8, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xb9, # VULGAR FRACTION THREE QUARTERS
+ 0x00d7: 0xbf, # MULTIPLICATION SIGN
+ 0x00f7: 0xe1, # DIVISION SIGN
+ 0x05d0: 0x41, # HEBREW LETTER ALEF
+ 0x05d1: 0x42, # HEBREW LETTER BET
+ 0x05d2: 0x43, # HEBREW LETTER GIMEL
+ 0x05d3: 0x44, # HEBREW LETTER DALET
+ 0x05d4: 0x45, # HEBREW LETTER HE
+ 0x05d5: 0x46, # HEBREW LETTER VAV
+ 0x05d6: 0x47, # HEBREW LETTER ZAYIN
+ 0x05d7: 0x48, # HEBREW LETTER HET
+ 0x05d8: 0x49, # HEBREW LETTER TET
+ 0x05d9: 0x51, # HEBREW LETTER YOD
+ 0x05da: 0x52, # HEBREW LETTER FINAL KAF
+ 0x05db: 0x53, # HEBREW LETTER KAF
+ 0x05dc: 0x54, # HEBREW LETTER LAMED
+ 0x05dd: 0x55, # HEBREW LETTER FINAL MEM
+ 0x05de: 0x56, # HEBREW LETTER MEM
+ 0x05df: 0x57, # HEBREW LETTER FINAL NUN
+ 0x05e0: 0x58, # HEBREW LETTER NUN
+ 0x05e1: 0x59, # HEBREW LETTER SAMEKH
+ 0x05e2: 0x62, # HEBREW LETTER AYIN
+ 0x05e3: 0x63, # HEBREW LETTER FINAL PE
+ 0x05e4: 0x64, # HEBREW LETTER PE
+ 0x05e5: 0x65, # HEBREW LETTER FINAL TSADI
+ 0x05e6: 0x66, # HEBREW LETTER TSADI
+ 0x05e7: 0x67, # HEBREW LETTER QOF
+ 0x05e8: 0x68, # HEBREW LETTER RESH
+ 0x05e9: 0x69, # HEBREW LETTER SHIN
+ 0x05ea: 0x71, # HEBREW LETTER TAV
+ 0x2017: 0x78, # DOUBLE LOW LINE
} \ No newline at end of file
diff --git a/Lib/encodings/cp500.py b/Lib/encodings/cp500.py
index 62a6f7b6f73..ab3042c7855 100644
--- a/Lib/encodings/cp500.py
+++ b/Lib/encodings/cp500.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/EBCDIC/CP500.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/EBCDIC/CP500.TXT' with gencodec.py.
"""#"
@@ -28,766 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0004: 0x009c, # CONTROL
- 0x0005: 0x0009, # HORIZONTAL TABULATION
- 0x0006: 0x0086, # CONTROL
- 0x0007: 0x007f, # DELETE
- 0x0008: 0x0097, # CONTROL
- 0x0009: 0x008d, # CONTROL
- 0x000a: 0x008e, # CONTROL
- 0x0014: 0x009d, # CONTROL
- 0x0015: 0x0085, # CONTROL
- 0x0016: 0x0008, # BACKSPACE
- 0x0017: 0x0087, # CONTROL
- 0x001a: 0x0092, # CONTROL
- 0x001b: 0x008f, # CONTROL
- 0x0020: 0x0080, # CONTROL
- 0x0021: 0x0081, # CONTROL
- 0x0022: 0x0082, # CONTROL
- 0x0023: 0x0083, # CONTROL
- 0x0024: 0x0084, # CONTROL
- 0x0025: 0x000a, # LINE FEED
- 0x0026: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0027: 0x001b, # ESCAPE
- 0x0028: 0x0088, # CONTROL
- 0x0029: 0x0089, # CONTROL
- 0x002a: 0x008a, # CONTROL
- 0x002b: 0x008b, # CONTROL
- 0x002c: 0x008c, # CONTROL
- 0x002d: 0x0005, # ENQUIRY
- 0x002e: 0x0006, # ACKNOWLEDGE
- 0x002f: 0x0007, # BELL
- 0x0030: 0x0090, # CONTROL
- 0x0031: 0x0091, # CONTROL
- 0x0032: 0x0016, # SYNCHRONOUS IDLE
- 0x0033: 0x0093, # CONTROL
- 0x0034: 0x0094, # CONTROL
- 0x0035: 0x0095, # CONTROL
- 0x0036: 0x0096, # CONTROL
- 0x0037: 0x0004, # END OF TRANSMISSION
- 0x0038: 0x0098, # CONTROL
- 0x0039: 0x0099, # CONTROL
- 0x003a: 0x009a, # CONTROL
- 0x003b: 0x009b, # CONTROL
- 0x003c: 0x0014, # DEVICE CONTROL FOUR
- 0x003d: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x003e: 0x009e, # CONTROL
- 0x003f: 0x001a, # SUBSTITUTE
- 0x0040: 0x0020, # SPACE
- 0x0041: 0x00a0, # NO-BREAK SPACE
- 0x0042: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x0043: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x0044: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x0045: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x0046: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x0047: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x0048: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x0049: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x004a: 0x005b, # LEFT SQUARE BRACKET
- 0x004b: 0x002e, # FULL STOP
- 0x004c: 0x003c, # LESS-THAN SIGN
- 0x004d: 0x0028, # LEFT PARENTHESIS
- 0x004e: 0x002b, # PLUS SIGN
- 0x004f: 0x0021, # EXCLAMATION MARK
- 0x0050: 0x0026, # AMPERSAND
- 0x0051: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x0052: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x0053: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x0054: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x0055: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x0056: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x0057: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x0058: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x0059: 0x00df, # LATIN SMALL LETTER SHARP S (GERMAN)
- 0x005a: 0x005d, # RIGHT SQUARE BRACKET
- 0x005b: 0x0024, # DOLLAR SIGN
- 0x005c: 0x002a, # ASTERISK
- 0x005d: 0x0029, # RIGHT PARENTHESIS
- 0x005e: 0x003b, # SEMICOLON
- 0x005f: 0x005e, # CIRCUMFLEX ACCENT
- 0x0060: 0x002d, # HYPHEN-MINUS
- 0x0061: 0x002f, # SOLIDUS
- 0x0062: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x0063: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x0064: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x0065: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x0066: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x0067: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x0068: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x0069: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x006a: 0x00a6, # BROKEN BAR
- 0x006b: 0x002c, # COMMA
- 0x006c: 0x0025, # PERCENT SIGN
- 0x006d: 0x005f, # LOW LINE
- 0x006e: 0x003e, # GREATER-THAN SIGN
- 0x006f: 0x003f, # QUESTION MARK
- 0x0070: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x0071: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x0072: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x0073: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x0074: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x0075: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x0076: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x0077: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x0078: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x0079: 0x0060, # GRAVE ACCENT
- 0x007a: 0x003a, # COLON
- 0x007b: 0x0023, # NUMBER SIGN
- 0x007c: 0x0040, # COMMERCIAL AT
- 0x007d: 0x0027, # APOSTROPHE
- 0x007e: 0x003d, # EQUALS SIGN
- 0x007f: 0x0022, # QUOTATION MARK
- 0x0080: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x0081: 0x0061, # LATIN SMALL LETTER A
- 0x0082: 0x0062, # LATIN SMALL LETTER B
- 0x0083: 0x0063, # LATIN SMALL LETTER C
- 0x0084: 0x0064, # LATIN SMALL LETTER D
- 0x0085: 0x0065, # LATIN SMALL LETTER E
- 0x0086: 0x0066, # LATIN SMALL LETTER F
- 0x0087: 0x0067, # LATIN SMALL LETTER G
- 0x0088: 0x0068, # LATIN SMALL LETTER H
- 0x0089: 0x0069, # LATIN SMALL LETTER I
- 0x008a: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x008b: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x008c: 0x00f0, # LATIN SMALL LETTER ETH (ICELANDIC)
- 0x008d: 0x00fd, # LATIN SMALL LETTER Y WITH ACUTE
- 0x008e: 0x00fe, # LATIN SMALL LETTER THORN (ICELANDIC)
- 0x008f: 0x00b1, # PLUS-MINUS SIGN
- 0x0090: 0x00b0, # DEGREE SIGN
- 0x0091: 0x006a, # LATIN SMALL LETTER J
- 0x0092: 0x006b, # LATIN SMALL LETTER K
- 0x0093: 0x006c, # LATIN SMALL LETTER L
- 0x0094: 0x006d, # LATIN SMALL LETTER M
- 0x0095: 0x006e, # LATIN SMALL LETTER N
- 0x0096: 0x006f, # LATIN SMALL LETTER O
- 0x0097: 0x0070, # LATIN SMALL LETTER P
- 0x0098: 0x0071, # LATIN SMALL LETTER Q
- 0x0099: 0x0072, # LATIN SMALL LETTER R
- 0x009a: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x009b: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x009c: 0x00e6, # LATIN SMALL LIGATURE AE
- 0x009d: 0x00b8, # CEDILLA
- 0x009e: 0x00c6, # LATIN CAPITAL LIGATURE AE
- 0x009f: 0x00a4, # CURRENCY SIGN
- 0x00a0: 0x00b5, # MICRO SIGN
- 0x00a1: 0x007e, # TILDE
- 0x00a2: 0x0073, # LATIN SMALL LETTER S
- 0x00a3: 0x0074, # LATIN SMALL LETTER T
- 0x00a4: 0x0075, # LATIN SMALL LETTER U
- 0x00a5: 0x0076, # LATIN SMALL LETTER V
- 0x00a6: 0x0077, # LATIN SMALL LETTER W
- 0x00a7: 0x0078, # LATIN SMALL LETTER X
- 0x00a8: 0x0079, # LATIN SMALL LETTER Y
- 0x00a9: 0x007a, # LATIN SMALL LETTER Z
- 0x00aa: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00ab: 0x00bf, # INVERTED QUESTION MARK
- 0x00ac: 0x00d0, # LATIN CAPITAL LETTER ETH (ICELANDIC)
- 0x00ad: 0x00dd, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00ae: 0x00de, # LATIN CAPITAL LETTER THORN (ICELANDIC)
- 0x00af: 0x00ae, # REGISTERED SIGN
- 0x00b0: 0x00a2, # CENT SIGN
- 0x00b1: 0x00a3, # POUND SIGN
- 0x00b2: 0x00a5, # YEN SIGN
- 0x00b3: 0x00b7, # MIDDLE DOT
- 0x00b4: 0x00a9, # COPYRIGHT SIGN
- 0x00b5: 0x00a7, # SECTION SIGN
- 0x00b7: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00b8: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00b9: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00ba: 0x00ac, # NOT SIGN
- 0x00bb: 0x007c, # VERTICAL LINE
- 0x00bc: 0x00af, # MACRON
- 0x00bd: 0x00a8, # DIAERESIS
- 0x00be: 0x00b4, # ACUTE ACCENT
- 0x00bf: 0x00d7, # MULTIPLICATION SIGN
- 0x00c0: 0x007b, # LEFT CURLY BRACKET
- 0x00c1: 0x0041, # LATIN CAPITAL LETTER A
- 0x00c2: 0x0042, # LATIN CAPITAL LETTER B
- 0x00c3: 0x0043, # LATIN CAPITAL LETTER C
- 0x00c4: 0x0044, # LATIN CAPITAL LETTER D
- 0x00c5: 0x0045, # LATIN CAPITAL LETTER E
- 0x00c6: 0x0046, # LATIN CAPITAL LETTER F
- 0x00c7: 0x0047, # LATIN CAPITAL LETTER G
- 0x00c8: 0x0048, # LATIN CAPITAL LETTER H
- 0x00c9: 0x0049, # LATIN CAPITAL LETTER I
- 0x00ca: 0x00ad, # SOFT HYPHEN
- 0x00cb: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00cc: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00cd: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x00ce: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00cf: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00d0: 0x007d, # RIGHT CURLY BRACKET
- 0x00d1: 0x004a, # LATIN CAPITAL LETTER J
- 0x00d2: 0x004b, # LATIN CAPITAL LETTER K
- 0x00d3: 0x004c, # LATIN CAPITAL LETTER L
- 0x00d4: 0x004d, # LATIN CAPITAL LETTER M
- 0x00d5: 0x004e, # LATIN CAPITAL LETTER N
- 0x00d6: 0x004f, # LATIN CAPITAL LETTER O
- 0x00d7: 0x0050, # LATIN CAPITAL LETTER P
- 0x00d8: 0x0051, # LATIN CAPITAL LETTER Q
- 0x00d9: 0x0052, # LATIN CAPITAL LETTER R
- 0x00da: 0x00b9, # SUPERSCRIPT ONE
- 0x00db: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00dd: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00de: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00df: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x00e0: 0x005c, # REVERSE SOLIDUS
- 0x00e1: 0x00f7, # DIVISION SIGN
- 0x00e2: 0x0053, # LATIN CAPITAL LETTER S
- 0x00e3: 0x0054, # LATIN CAPITAL LETTER T
- 0x00e4: 0x0055, # LATIN CAPITAL LETTER U
- 0x00e5: 0x0056, # LATIN CAPITAL LETTER V
- 0x00e6: 0x0057, # LATIN CAPITAL LETTER W
- 0x00e7: 0x0058, # LATIN CAPITAL LETTER X
- 0x00e8: 0x0059, # LATIN CAPITAL LETTER Y
- 0x00e9: 0x005a, # LATIN CAPITAL LETTER Z
- 0x00ea: 0x00b2, # SUPERSCRIPT TWO
- 0x00eb: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00ec: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00ed: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00ee: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00ef: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00f0: 0x0030, # DIGIT ZERO
- 0x00f1: 0x0031, # DIGIT ONE
- 0x00f2: 0x0032, # DIGIT TWO
- 0x00f3: 0x0033, # DIGIT THREE
- 0x00f4: 0x0034, # DIGIT FOUR
- 0x00f5: 0x0035, # DIGIT FIVE
- 0x00f6: 0x0036, # DIGIT SIX
- 0x00f7: 0x0037, # DIGIT SEVEN
- 0x00f8: 0x0038, # DIGIT EIGHT
- 0x00f9: 0x0039, # DIGIT NINE
- 0x00fa: 0x00b3, # SUPERSCRIPT THREE
- 0x00fb: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00fd: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00fe: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00ff: 0x009f, # CONTROL
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x9c' # 0x0004 -> CONTROL
- u'\t' # 0x0005 -> HORIZONTAL TABULATION
- u'\x86' # 0x0006 -> CONTROL
- u'\x7f' # 0x0007 -> DELETE
- u'\x97' # 0x0008 -> CONTROL
- u'\x8d' # 0x0009 -> CONTROL
- u'\x8e' # 0x000a -> CONTROL
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x9d' # 0x0014 -> CONTROL
- u'\x85' # 0x0015 -> CONTROL
- u'\x08' # 0x0016 -> BACKSPACE
- u'\x87' # 0x0017 -> CONTROL
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x92' # 0x001a -> CONTROL
- u'\x8f' # 0x001b -> CONTROL
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u'\x80' # 0x0020 -> CONTROL
- u'\x81' # 0x0021 -> CONTROL
- u'\x82' # 0x0022 -> CONTROL
- u'\x83' # 0x0023 -> CONTROL
- u'\x84' # 0x0024 -> CONTROL
- u'\n' # 0x0025 -> LINE FEED
- u'\x17' # 0x0026 -> END OF TRANSMISSION BLOCK
- u'\x1b' # 0x0027 -> ESCAPE
- u'\x88' # 0x0028 -> CONTROL
- u'\x89' # 0x0029 -> CONTROL
- u'\x8a' # 0x002a -> CONTROL
- u'\x8b' # 0x002b -> CONTROL
- u'\x8c' # 0x002c -> CONTROL
- u'\x05' # 0x002d -> ENQUIRY
- u'\x06' # 0x002e -> ACKNOWLEDGE
- u'\x07' # 0x002f -> BELL
- u'\x90' # 0x0030 -> CONTROL
- u'\x91' # 0x0031 -> CONTROL
- u'\x16' # 0x0032 -> SYNCHRONOUS IDLE
- u'\x93' # 0x0033 -> CONTROL
- u'\x94' # 0x0034 -> CONTROL
- u'\x95' # 0x0035 -> CONTROL
- u'\x96' # 0x0036 -> CONTROL
- u'\x04' # 0x0037 -> END OF TRANSMISSION
- u'\x98' # 0x0038 -> CONTROL
- u'\x99' # 0x0039 -> CONTROL
- u'\x9a' # 0x003a -> CONTROL
- u'\x9b' # 0x003b -> CONTROL
- u'\x14' # 0x003c -> DEVICE CONTROL FOUR
- u'\x15' # 0x003d -> NEGATIVE ACKNOWLEDGE
- u'\x9e' # 0x003e -> CONTROL
- u'\x1a' # 0x003f -> SUBSTITUTE
- u' ' # 0x0040 -> SPACE
- u'\xa0' # 0x0041 -> NO-BREAK SPACE
- u'\xe2' # 0x0042 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe4' # 0x0043 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe0' # 0x0044 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe1' # 0x0045 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe3' # 0x0046 -> LATIN SMALL LETTER A WITH TILDE
- u'\xe5' # 0x0047 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe7' # 0x0048 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xf1' # 0x0049 -> LATIN SMALL LETTER N WITH TILDE
- u'[' # 0x004a -> LEFT SQUARE BRACKET
- u'.' # 0x004b -> FULL STOP
- u'<' # 0x004c -> LESS-THAN SIGN
- u'(' # 0x004d -> LEFT PARENTHESIS
- u'+' # 0x004e -> PLUS SIGN
- u'!' # 0x004f -> EXCLAMATION MARK
- u'&' # 0x0050 -> AMPERSAND
- u'\xe9' # 0x0051 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x0052 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x0053 -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xe8' # 0x0054 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xed' # 0x0055 -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x0056 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x0057 -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xec' # 0x0058 -> LATIN SMALL LETTER I WITH GRAVE
- u'\xdf' # 0x0059 -> LATIN SMALL LETTER SHARP S (GERMAN)
- u']' # 0x005a -> RIGHT SQUARE BRACKET
- u'$' # 0x005b -> DOLLAR SIGN
- u'*' # 0x005c -> ASTERISK
- u')' # 0x005d -> RIGHT PARENTHESIS
- u';' # 0x005e -> SEMICOLON
- u'^' # 0x005f -> CIRCUMFLEX ACCENT
- u'-' # 0x0060 -> HYPHEN-MINUS
- u'/' # 0x0061 -> SOLIDUS
- u'\xc2' # 0x0062 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xc4' # 0x0063 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc0' # 0x0064 -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc1' # 0x0065 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc3' # 0x0066 -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xc5' # 0x0067 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc7' # 0x0068 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xd1' # 0x0069 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xa6' # 0x006a -> BROKEN BAR
- u',' # 0x006b -> COMMA
- u'%' # 0x006c -> PERCENT SIGN
- u'_' # 0x006d -> LOW LINE
- u'>' # 0x006e -> GREATER-THAN SIGN
- u'?' # 0x006f -> QUESTION MARK
- u'\xf8' # 0x0070 -> LATIN SMALL LETTER O WITH STROKE
- u'\xc9' # 0x0071 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xca' # 0x0072 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xcb' # 0x0073 -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xc8' # 0x0074 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xcd' # 0x0075 -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x0076 -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x0077 -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\xcc' # 0x0078 -> LATIN CAPITAL LETTER I WITH GRAVE
- u'`' # 0x0079 -> GRAVE ACCENT
- u':' # 0x007a -> COLON
- u'#' # 0x007b -> NUMBER SIGN
- u'@' # 0x007c -> COMMERCIAL AT
- u"'" # 0x007d -> APOSTROPHE
- u'=' # 0x007e -> EQUALS SIGN
- u'"' # 0x007f -> QUOTATION MARK
- u'\xd8' # 0x0080 -> LATIN CAPITAL LETTER O WITH STROKE
- u'a' # 0x0081 -> LATIN SMALL LETTER A
- u'b' # 0x0082 -> LATIN SMALL LETTER B
- u'c' # 0x0083 -> LATIN SMALL LETTER C
- u'd' # 0x0084 -> LATIN SMALL LETTER D
- u'e' # 0x0085 -> LATIN SMALL LETTER E
- u'f' # 0x0086 -> LATIN SMALL LETTER F
- u'g' # 0x0087 -> LATIN SMALL LETTER G
- u'h' # 0x0088 -> LATIN SMALL LETTER H
- u'i' # 0x0089 -> LATIN SMALL LETTER I
- u'\xab' # 0x008a -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbb' # 0x008b -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xf0' # 0x008c -> LATIN SMALL LETTER ETH (ICELANDIC)
- u'\xfd' # 0x008d -> LATIN SMALL LETTER Y WITH ACUTE
- u'\xfe' # 0x008e -> LATIN SMALL LETTER THORN (ICELANDIC)
- u'\xb1' # 0x008f -> PLUS-MINUS SIGN
- u'\xb0' # 0x0090 -> DEGREE SIGN
- u'j' # 0x0091 -> LATIN SMALL LETTER J
- u'k' # 0x0092 -> LATIN SMALL LETTER K
- u'l' # 0x0093 -> LATIN SMALL LETTER L
- u'm' # 0x0094 -> LATIN SMALL LETTER M
- u'n' # 0x0095 -> LATIN SMALL LETTER N
- u'o' # 0x0096 -> LATIN SMALL LETTER O
- u'p' # 0x0097 -> LATIN SMALL LETTER P
- u'q' # 0x0098 -> LATIN SMALL LETTER Q
- u'r' # 0x0099 -> LATIN SMALL LETTER R
- u'\xaa' # 0x009a -> FEMININE ORDINAL INDICATOR
- u'\xba' # 0x009b -> MASCULINE ORDINAL INDICATOR
- u'\xe6' # 0x009c -> LATIN SMALL LIGATURE AE
- u'\xb8' # 0x009d -> CEDILLA
- u'\xc6' # 0x009e -> LATIN CAPITAL LIGATURE AE
- u'\xa4' # 0x009f -> CURRENCY SIGN
- u'\xb5' # 0x00a0 -> MICRO SIGN
- u'~' # 0x00a1 -> TILDE
- u's' # 0x00a2 -> LATIN SMALL LETTER S
- u't' # 0x00a3 -> LATIN SMALL LETTER T
- u'u' # 0x00a4 -> LATIN SMALL LETTER U
- u'v' # 0x00a5 -> LATIN SMALL LETTER V
- u'w' # 0x00a6 -> LATIN SMALL LETTER W
- u'x' # 0x00a7 -> LATIN SMALL LETTER X
- u'y' # 0x00a8 -> LATIN SMALL LETTER Y
- u'z' # 0x00a9 -> LATIN SMALL LETTER Z
- u'\xa1' # 0x00aa -> INVERTED EXCLAMATION MARK
- u'\xbf' # 0x00ab -> INVERTED QUESTION MARK
- u'\xd0' # 0x00ac -> LATIN CAPITAL LETTER ETH (ICELANDIC)
- u'\xdd' # 0x00ad -> LATIN CAPITAL LETTER Y WITH ACUTE
- u'\xde' # 0x00ae -> LATIN CAPITAL LETTER THORN (ICELANDIC)
- u'\xae' # 0x00af -> REGISTERED SIGN
- u'\xa2' # 0x00b0 -> CENT SIGN
- u'\xa3' # 0x00b1 -> POUND SIGN
- u'\xa5' # 0x00b2 -> YEN SIGN
- u'\xb7' # 0x00b3 -> MIDDLE DOT
- u'\xa9' # 0x00b4 -> COPYRIGHT SIGN
- u'\xa7' # 0x00b5 -> SECTION SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xbc' # 0x00b7 -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00b8 -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00b9 -> VULGAR FRACTION THREE QUARTERS
- u'\xac' # 0x00ba -> NOT SIGN
- u'|' # 0x00bb -> VERTICAL LINE
- u'\xaf' # 0x00bc -> MACRON
- u'\xa8' # 0x00bd -> DIAERESIS
- u'\xb4' # 0x00be -> ACUTE ACCENT
- u'\xd7' # 0x00bf -> MULTIPLICATION SIGN
- u'{' # 0x00c0 -> LEFT CURLY BRACKET
- u'A' # 0x00c1 -> LATIN CAPITAL LETTER A
- u'B' # 0x00c2 -> LATIN CAPITAL LETTER B
- u'C' # 0x00c3 -> LATIN CAPITAL LETTER C
- u'D' # 0x00c4 -> LATIN CAPITAL LETTER D
- u'E' # 0x00c5 -> LATIN CAPITAL LETTER E
- u'F' # 0x00c6 -> LATIN CAPITAL LETTER F
- u'G' # 0x00c7 -> LATIN CAPITAL LETTER G
- u'H' # 0x00c8 -> LATIN CAPITAL LETTER H
- u'I' # 0x00c9 -> LATIN CAPITAL LETTER I
- u'\xad' # 0x00ca -> SOFT HYPHEN
- u'\xf4' # 0x00cb -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf6' # 0x00cc -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf2' # 0x00cd -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf3' # 0x00ce -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf5' # 0x00cf -> LATIN SMALL LETTER O WITH TILDE
- u'}' # 0x00d0 -> RIGHT CURLY BRACKET
- u'J' # 0x00d1 -> LATIN CAPITAL LETTER J
- u'K' # 0x00d2 -> LATIN CAPITAL LETTER K
- u'L' # 0x00d3 -> LATIN CAPITAL LETTER L
- u'M' # 0x00d4 -> LATIN CAPITAL LETTER M
- u'N' # 0x00d5 -> LATIN CAPITAL LETTER N
- u'O' # 0x00d6 -> LATIN CAPITAL LETTER O
- u'P' # 0x00d7 -> LATIN CAPITAL LETTER P
- u'Q' # 0x00d8 -> LATIN CAPITAL LETTER Q
- u'R' # 0x00d9 -> LATIN CAPITAL LETTER R
- u'\xb9' # 0x00da -> SUPERSCRIPT ONE
- u'\xfb' # 0x00db -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00dc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\xf9' # 0x00dd -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfa' # 0x00de -> LATIN SMALL LETTER U WITH ACUTE
- u'\xff' # 0x00df -> LATIN SMALL LETTER Y WITH DIAERESIS
- u'\\' # 0x00e0 -> REVERSE SOLIDUS
- u'\xf7' # 0x00e1 -> DIVISION SIGN
- u'S' # 0x00e2 -> LATIN CAPITAL LETTER S
- u'T' # 0x00e3 -> LATIN CAPITAL LETTER T
- u'U' # 0x00e4 -> LATIN CAPITAL LETTER U
- u'V' # 0x00e5 -> LATIN CAPITAL LETTER V
- u'W' # 0x00e6 -> LATIN CAPITAL LETTER W
- u'X' # 0x00e7 -> LATIN CAPITAL LETTER X
- u'Y' # 0x00e8 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x00e9 -> LATIN CAPITAL LETTER Z
- u'\xb2' # 0x00ea -> SUPERSCRIPT TWO
- u'\xd4' # 0x00eb -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\xd6' # 0x00ec -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd2' # 0x00ed -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xd3' # 0x00ee -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd5' # 0x00ef -> LATIN CAPITAL LETTER O WITH TILDE
- u'0' # 0x00f0 -> DIGIT ZERO
- u'1' # 0x00f1 -> DIGIT ONE
- u'2' # 0x00f2 -> DIGIT TWO
- u'3' # 0x00f3 -> DIGIT THREE
- u'4' # 0x00f4 -> DIGIT FOUR
- u'5' # 0x00f5 -> DIGIT FIVE
- u'6' # 0x00f6 -> DIGIT SIX
- u'7' # 0x00f7 -> DIGIT SEVEN
- u'8' # 0x00f8 -> DIGIT EIGHT
- u'9' # 0x00f9 -> DIGIT NINE
- u'\xb3' # 0x00fa -> SUPERSCRIPT THREE
- u'\xdb' # 0x00fb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00fc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xd9' # 0x00fd -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\xda' # 0x00fe -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\x9f' # 0x00ff -> CONTROL
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x9c' # 0x04 -> CONTROL
+ u'\t' # 0x05 -> HORIZONTAL TABULATION
+ u'\x86' # 0x06 -> CONTROL
+ u'\x7f' # 0x07 -> DELETE
+ u'\x97' # 0x08 -> CONTROL
+ u'\x8d' # 0x09 -> CONTROL
+ u'\x8e' # 0x0a -> CONTROL
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x9d' # 0x14 -> CONTROL
+ u'\x85' # 0x15 -> CONTROL
+ u'\x08' # 0x16 -> BACKSPACE
+ u'\x87' # 0x17 -> CONTROL
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x92' # 0x1a -> CONTROL
+ u'\x8f' # 0x1b -> CONTROL
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u'\x80' # 0x20 -> CONTROL
+ u'\x81' # 0x21 -> CONTROL
+ u'\x82' # 0x22 -> CONTROL
+ u'\x83' # 0x23 -> CONTROL
+ u'\x84' # 0x24 -> CONTROL
+ u'\n' # 0x25 -> LINE FEED
+ u'\x17' # 0x26 -> END OF TRANSMISSION BLOCK
+ u'\x1b' # 0x27 -> ESCAPE
+ u'\x88' # 0x28 -> CONTROL
+ u'\x89' # 0x29 -> CONTROL
+ u'\x8a' # 0x2a -> CONTROL
+ u'\x8b' # 0x2b -> CONTROL
+ u'\x8c' # 0x2c -> CONTROL
+ u'\x05' # 0x2d -> ENQUIRY
+ u'\x06' # 0x2e -> ACKNOWLEDGE
+ u'\x07' # 0x2f -> BELL
+ u'\x90' # 0x30 -> CONTROL
+ u'\x91' # 0x31 -> CONTROL
+ u'\x16' # 0x32 -> SYNCHRONOUS IDLE
+ u'\x93' # 0x33 -> CONTROL
+ u'\x94' # 0x34 -> CONTROL
+ u'\x95' # 0x35 -> CONTROL
+ u'\x96' # 0x36 -> CONTROL
+ u'\x04' # 0x37 -> END OF TRANSMISSION
+ u'\x98' # 0x38 -> CONTROL
+ u'\x99' # 0x39 -> CONTROL
+ u'\x9a' # 0x3a -> CONTROL
+ u'\x9b' # 0x3b -> CONTROL
+ u'\x14' # 0x3c -> DEVICE CONTROL FOUR
+ u'\x15' # 0x3d -> NEGATIVE ACKNOWLEDGE
+ u'\x9e' # 0x3e -> CONTROL
+ u'\x1a' # 0x3f -> SUBSTITUTE
+ u' ' # 0x40 -> SPACE
+ u'\xa0' # 0x41 -> NO-BREAK SPACE
+ u'\xe2' # 0x42 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe4' # 0x43 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe0' # 0x44 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0x45 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe3' # 0x46 -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe5' # 0x47 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe7' # 0x48 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xf1' # 0x49 -> LATIN SMALL LETTER N WITH TILDE
+ u'[' # 0x4a -> LEFT SQUARE BRACKET
+ u'.' # 0x4b -> FULL STOP
+ u'<' # 0x4c -> LESS-THAN SIGN
+ u'(' # 0x4d -> LEFT PARENTHESIS
+ u'+' # 0x4e -> PLUS SIGN
+ u'!' # 0x4f -> EXCLAMATION MARK
+ u'&' # 0x50 -> AMPERSAND
+ u'\xe9' # 0x51 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0x52 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0x53 -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xe8' # 0x54 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xed' # 0x55 -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0x56 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0x57 -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xec' # 0x58 -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xdf' # 0x59 -> LATIN SMALL LETTER SHARP S (GERMAN)
+ u']' # 0x5a -> RIGHT SQUARE BRACKET
+ u'$' # 0x5b -> DOLLAR SIGN
+ u'*' # 0x5c -> ASTERISK
+ u')' # 0x5d -> RIGHT PARENTHESIS
+ u';' # 0x5e -> SEMICOLON
+ u'^' # 0x5f -> CIRCUMFLEX ACCENT
+ u'-' # 0x60 -> HYPHEN-MINUS
+ u'/' # 0x61 -> SOLIDUS
+ u'\xc2' # 0x62 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xc4' # 0x63 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc0' # 0x64 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0x65 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc3' # 0x66 -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xc5' # 0x67 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc7' # 0x68 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xd1' # 0x69 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xa6' # 0x6a -> BROKEN BAR
+ u',' # 0x6b -> COMMA
+ u'%' # 0x6c -> PERCENT SIGN
+ u'_' # 0x6d -> LOW LINE
+ u'>' # 0x6e -> GREATER-THAN SIGN
+ u'?' # 0x6f -> QUESTION MARK
+ u'\xf8' # 0x70 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xc9' # 0x71 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0x72 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0x73 -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xc8' # 0x74 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xcd' # 0x75 -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0x76 -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0x77 -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xcc' # 0x78 -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'`' # 0x79 -> GRAVE ACCENT
+ u':' # 0x7a -> COLON
+ u'#' # 0x7b -> NUMBER SIGN
+ u'@' # 0x7c -> COMMERCIAL AT
+ u"'" # 0x7d -> APOSTROPHE
+ u'=' # 0x7e -> EQUALS SIGN
+ u'"' # 0x7f -> QUOTATION MARK
+ u'\xd8' # 0x80 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'a' # 0x81 -> LATIN SMALL LETTER A
+ u'b' # 0x82 -> LATIN SMALL LETTER B
+ u'c' # 0x83 -> LATIN SMALL LETTER C
+ u'd' # 0x84 -> LATIN SMALL LETTER D
+ u'e' # 0x85 -> LATIN SMALL LETTER E
+ u'f' # 0x86 -> LATIN SMALL LETTER F
+ u'g' # 0x87 -> LATIN SMALL LETTER G
+ u'h' # 0x88 -> LATIN SMALL LETTER H
+ u'i' # 0x89 -> LATIN SMALL LETTER I
+ u'\xab' # 0x8a -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0x8b -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xf0' # 0x8c -> LATIN SMALL LETTER ETH (ICELANDIC)
+ u'\xfd' # 0x8d -> LATIN SMALL LETTER Y WITH ACUTE
+ u'\xfe' # 0x8e -> LATIN SMALL LETTER THORN (ICELANDIC)
+ u'\xb1' # 0x8f -> PLUS-MINUS SIGN
+ u'\xb0' # 0x90 -> DEGREE SIGN
+ u'j' # 0x91 -> LATIN SMALL LETTER J
+ u'k' # 0x92 -> LATIN SMALL LETTER K
+ u'l' # 0x93 -> LATIN SMALL LETTER L
+ u'm' # 0x94 -> LATIN SMALL LETTER M
+ u'n' # 0x95 -> LATIN SMALL LETTER N
+ u'o' # 0x96 -> LATIN SMALL LETTER O
+ u'p' # 0x97 -> LATIN SMALL LETTER P
+ u'q' # 0x98 -> LATIN SMALL LETTER Q
+ u'r' # 0x99 -> LATIN SMALL LETTER R
+ u'\xaa' # 0x9a -> FEMININE ORDINAL INDICATOR
+ u'\xba' # 0x9b -> MASCULINE ORDINAL INDICATOR
+ u'\xe6' # 0x9c -> LATIN SMALL LIGATURE AE
+ u'\xb8' # 0x9d -> CEDILLA
+ u'\xc6' # 0x9e -> LATIN CAPITAL LIGATURE AE
+ u'\xa4' # 0x9f -> CURRENCY SIGN
+ u'\xb5' # 0xa0 -> MICRO SIGN
+ u'~' # 0xa1 -> TILDE
+ u's' # 0xa2 -> LATIN SMALL LETTER S
+ u't' # 0xa3 -> LATIN SMALL LETTER T
+ u'u' # 0xa4 -> LATIN SMALL LETTER U
+ u'v' # 0xa5 -> LATIN SMALL LETTER V
+ u'w' # 0xa6 -> LATIN SMALL LETTER W
+ u'x' # 0xa7 -> LATIN SMALL LETTER X
+ u'y' # 0xa8 -> LATIN SMALL LETTER Y
+ u'z' # 0xa9 -> LATIN SMALL LETTER Z
+ u'\xa1' # 0xaa -> INVERTED EXCLAMATION MARK
+ u'\xbf' # 0xab -> INVERTED QUESTION MARK
+ u'\xd0' # 0xac -> LATIN CAPITAL LETTER ETH (ICELANDIC)
+ u'\xdd' # 0xad -> LATIN CAPITAL LETTER Y WITH ACUTE
+ u'\xde' # 0xae -> LATIN CAPITAL LETTER THORN (ICELANDIC)
+ u'\xae' # 0xaf -> REGISTERED SIGN
+ u'\xa2' # 0xb0 -> CENT SIGN
+ u'\xa3' # 0xb1 -> POUND SIGN
+ u'\xa5' # 0xb2 -> YEN SIGN
+ u'\xb7' # 0xb3 -> MIDDLE DOT
+ u'\xa9' # 0xb4 -> COPYRIGHT SIGN
+ u'\xa7' # 0xb5 -> SECTION SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xbc' # 0xb7 -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xb8 -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xb9 -> VULGAR FRACTION THREE QUARTERS
+ u'\xac' # 0xba -> NOT SIGN
+ u'|' # 0xbb -> VERTICAL LINE
+ u'\xaf' # 0xbc -> MACRON
+ u'\xa8' # 0xbd -> DIAERESIS
+ u'\xb4' # 0xbe -> ACUTE ACCENT
+ u'\xd7' # 0xbf -> MULTIPLICATION SIGN
+ u'{' # 0xc0 -> LEFT CURLY BRACKET
+ u'A' # 0xc1 -> LATIN CAPITAL LETTER A
+ u'B' # 0xc2 -> LATIN CAPITAL LETTER B
+ u'C' # 0xc3 -> LATIN CAPITAL LETTER C
+ u'D' # 0xc4 -> LATIN CAPITAL LETTER D
+ u'E' # 0xc5 -> LATIN CAPITAL LETTER E
+ u'F' # 0xc6 -> LATIN CAPITAL LETTER F
+ u'G' # 0xc7 -> LATIN CAPITAL LETTER G
+ u'H' # 0xc8 -> LATIN CAPITAL LETTER H
+ u'I' # 0xc9 -> LATIN CAPITAL LETTER I
+ u'\xad' # 0xca -> SOFT HYPHEN
+ u'\xf4' # 0xcb -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf6' # 0xcc -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf2' # 0xcd -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf3' # 0xce -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf5' # 0xcf -> LATIN SMALL LETTER O WITH TILDE
+ u'}' # 0xd0 -> RIGHT CURLY BRACKET
+ u'J' # 0xd1 -> LATIN CAPITAL LETTER J
+ u'K' # 0xd2 -> LATIN CAPITAL LETTER K
+ u'L' # 0xd3 -> LATIN CAPITAL LETTER L
+ u'M' # 0xd4 -> LATIN CAPITAL LETTER M
+ u'N' # 0xd5 -> LATIN CAPITAL LETTER N
+ u'O' # 0xd6 -> LATIN CAPITAL LETTER O
+ u'P' # 0xd7 -> LATIN CAPITAL LETTER P
+ u'Q' # 0xd8 -> LATIN CAPITAL LETTER Q
+ u'R' # 0xd9 -> LATIN CAPITAL LETTER R
+ u'\xb9' # 0xda -> SUPERSCRIPT ONE
+ u'\xfb' # 0xdb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xdc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\xf9' # 0xdd -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xde -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xff' # 0xdf -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\\' # 0xe0 -> REVERSE SOLIDUS
+ u'\xf7' # 0xe1 -> DIVISION SIGN
+ u'S' # 0xe2 -> LATIN CAPITAL LETTER S
+ u'T' # 0xe3 -> LATIN CAPITAL LETTER T
+ u'U' # 0xe4 -> LATIN CAPITAL LETTER U
+ u'V' # 0xe5 -> LATIN CAPITAL LETTER V
+ u'W' # 0xe6 -> LATIN CAPITAL LETTER W
+ u'X' # 0xe7 -> LATIN CAPITAL LETTER X
+ u'Y' # 0xe8 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0xe9 -> LATIN CAPITAL LETTER Z
+ u'\xb2' # 0xea -> SUPERSCRIPT TWO
+ u'\xd4' # 0xeb -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\xd6' # 0xec -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd2' # 0xed -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xd3' # 0xee -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd5' # 0xef -> LATIN CAPITAL LETTER O WITH TILDE
+ u'0' # 0xf0 -> DIGIT ZERO
+ u'1' # 0xf1 -> DIGIT ONE
+ u'2' # 0xf2 -> DIGIT TWO
+ u'3' # 0xf3 -> DIGIT THREE
+ u'4' # 0xf4 -> DIGIT FOUR
+ u'5' # 0xf5 -> DIGIT FIVE
+ u'6' # 0xf6 -> DIGIT SIX
+ u'7' # 0xf7 -> DIGIT SEVEN
+ u'8' # 0xf8 -> DIGIT EIGHT
+ u'9' # 0xf9 -> DIGIT NINE
+ u'\xb3' # 0xfa -> SUPERSCRIPT THREE
+ u'\xdb' # 0xfb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xfc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xd9' # 0xfd -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xfe -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\x9f' # 0xff -> CONTROL
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0037, # END OF TRANSMISSION
- 0x0005: 0x002d, # ENQUIRY
- 0x0006: 0x002e, # ACKNOWLEDGE
- 0x0007: 0x002f, # BELL
- 0x0008: 0x0016, # BACKSPACE
- 0x0009: 0x0005, # HORIZONTAL TABULATION
- 0x000a: 0x0025, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x003c, # DEVICE CONTROL FOUR
- 0x0015: 0x003d, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0032, # SYNCHRONOUS IDLE
- 0x0017: 0x0026, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x003f, # SUBSTITUTE
- 0x001b: 0x0027, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0040, # SPACE
- 0x0021: 0x004f, # EXCLAMATION MARK
- 0x0022: 0x007f, # QUOTATION MARK
- 0x0023: 0x007b, # NUMBER SIGN
- 0x0024: 0x005b, # DOLLAR SIGN
- 0x0025: 0x006c, # PERCENT SIGN
- 0x0026: 0x0050, # AMPERSAND
- 0x0027: 0x007d, # APOSTROPHE
- 0x0028: 0x004d, # LEFT PARENTHESIS
- 0x0029: 0x005d, # RIGHT PARENTHESIS
- 0x002a: 0x005c, # ASTERISK
- 0x002b: 0x004e, # PLUS SIGN
- 0x002c: 0x006b, # COMMA
- 0x002d: 0x0060, # HYPHEN-MINUS
- 0x002e: 0x004b, # FULL STOP
- 0x002f: 0x0061, # SOLIDUS
- 0x0030: 0x00f0, # DIGIT ZERO
- 0x0031: 0x00f1, # DIGIT ONE
- 0x0032: 0x00f2, # DIGIT TWO
- 0x0033: 0x00f3, # DIGIT THREE
- 0x0034: 0x00f4, # DIGIT FOUR
- 0x0035: 0x00f5, # DIGIT FIVE
- 0x0036: 0x00f6, # DIGIT SIX
- 0x0037: 0x00f7, # DIGIT SEVEN
- 0x0038: 0x00f8, # DIGIT EIGHT
- 0x0039: 0x00f9, # DIGIT NINE
- 0x003a: 0x007a, # COLON
- 0x003b: 0x005e, # SEMICOLON
- 0x003c: 0x004c, # LESS-THAN SIGN
- 0x003d: 0x007e, # EQUALS SIGN
- 0x003e: 0x006e, # GREATER-THAN SIGN
- 0x003f: 0x006f, # QUESTION MARK
- 0x0040: 0x007c, # COMMERCIAL AT
- 0x0041: 0x00c1, # LATIN CAPITAL LETTER A
- 0x0042: 0x00c2, # LATIN CAPITAL LETTER B
- 0x0043: 0x00c3, # LATIN CAPITAL LETTER C
- 0x0044: 0x00c4, # LATIN CAPITAL LETTER D
- 0x0045: 0x00c5, # LATIN CAPITAL LETTER E
- 0x0046: 0x00c6, # LATIN CAPITAL LETTER F
- 0x0047: 0x00c7, # LATIN CAPITAL LETTER G
- 0x0048: 0x00c8, # LATIN CAPITAL LETTER H
- 0x0049: 0x00c9, # LATIN CAPITAL LETTER I
- 0x004a: 0x00d1, # LATIN CAPITAL LETTER J
- 0x004b: 0x00d2, # LATIN CAPITAL LETTER K
- 0x004c: 0x00d3, # LATIN CAPITAL LETTER L
- 0x004d: 0x00d4, # LATIN CAPITAL LETTER M
- 0x004e: 0x00d5, # LATIN CAPITAL LETTER N
- 0x004f: 0x00d6, # LATIN CAPITAL LETTER O
- 0x0050: 0x00d7, # LATIN CAPITAL LETTER P
- 0x0051: 0x00d8, # LATIN CAPITAL LETTER Q
- 0x0052: 0x00d9, # LATIN CAPITAL LETTER R
- 0x0053: 0x00e2, # LATIN CAPITAL LETTER S
- 0x0054: 0x00e3, # LATIN CAPITAL LETTER T
- 0x0055: 0x00e4, # LATIN CAPITAL LETTER U
- 0x0056: 0x00e5, # LATIN CAPITAL LETTER V
- 0x0057: 0x00e6, # LATIN CAPITAL LETTER W
- 0x0058: 0x00e7, # LATIN CAPITAL LETTER X
- 0x0059: 0x00e8, # LATIN CAPITAL LETTER Y
- 0x005a: 0x00e9, # LATIN CAPITAL LETTER Z
- 0x005b: 0x004a, # LEFT SQUARE BRACKET
- 0x005c: 0x00e0, # REVERSE SOLIDUS
- 0x005d: 0x005a, # RIGHT SQUARE BRACKET
- 0x005e: 0x005f, # CIRCUMFLEX ACCENT
- 0x005f: 0x006d, # LOW LINE
- 0x0060: 0x0079, # GRAVE ACCENT
- 0x0061: 0x0081, # LATIN SMALL LETTER A
- 0x0062: 0x0082, # LATIN SMALL LETTER B
- 0x0063: 0x0083, # LATIN SMALL LETTER C
- 0x0064: 0x0084, # LATIN SMALL LETTER D
- 0x0065: 0x0085, # LATIN SMALL LETTER E
- 0x0066: 0x0086, # LATIN SMALL LETTER F
- 0x0067: 0x0087, # LATIN SMALL LETTER G
- 0x0068: 0x0088, # LATIN SMALL LETTER H
- 0x0069: 0x0089, # LATIN SMALL LETTER I
- 0x006a: 0x0091, # LATIN SMALL LETTER J
- 0x006b: 0x0092, # LATIN SMALL LETTER K
- 0x006c: 0x0093, # LATIN SMALL LETTER L
- 0x006d: 0x0094, # LATIN SMALL LETTER M
- 0x006e: 0x0095, # LATIN SMALL LETTER N
- 0x006f: 0x0096, # LATIN SMALL LETTER O
- 0x0070: 0x0097, # LATIN SMALL LETTER P
- 0x0071: 0x0098, # LATIN SMALL LETTER Q
- 0x0072: 0x0099, # LATIN SMALL LETTER R
- 0x0073: 0x00a2, # LATIN SMALL LETTER S
- 0x0074: 0x00a3, # LATIN SMALL LETTER T
- 0x0075: 0x00a4, # LATIN SMALL LETTER U
- 0x0076: 0x00a5, # LATIN SMALL LETTER V
- 0x0077: 0x00a6, # LATIN SMALL LETTER W
- 0x0078: 0x00a7, # LATIN SMALL LETTER X
- 0x0079: 0x00a8, # LATIN SMALL LETTER Y
- 0x007a: 0x00a9, # LATIN SMALL LETTER Z
- 0x007b: 0x00c0, # LEFT CURLY BRACKET
- 0x007c: 0x00bb, # VERTICAL LINE
- 0x007d: 0x00d0, # RIGHT CURLY BRACKET
- 0x007e: 0x00a1, # TILDE
- 0x007f: 0x0007, # DELETE
- 0x0080: 0x0020, # CONTROL
- 0x0081: 0x0021, # CONTROL
- 0x0082: 0x0022, # CONTROL
- 0x0083: 0x0023, # CONTROL
- 0x0084: 0x0024, # CONTROL
- 0x0085: 0x0015, # CONTROL
- 0x0086: 0x0006, # CONTROL
- 0x0087: 0x0017, # CONTROL
- 0x0088: 0x0028, # CONTROL
- 0x0089: 0x0029, # CONTROL
- 0x008a: 0x002a, # CONTROL
- 0x008b: 0x002b, # CONTROL
- 0x008c: 0x002c, # CONTROL
- 0x008d: 0x0009, # CONTROL
- 0x008e: 0x000a, # CONTROL
- 0x008f: 0x001b, # CONTROL
- 0x0090: 0x0030, # CONTROL
- 0x0091: 0x0031, # CONTROL
- 0x0092: 0x001a, # CONTROL
- 0x0093: 0x0033, # CONTROL
- 0x0094: 0x0034, # CONTROL
- 0x0095: 0x0035, # CONTROL
- 0x0096: 0x0036, # CONTROL
- 0x0097: 0x0008, # CONTROL
- 0x0098: 0x0038, # CONTROL
- 0x0099: 0x0039, # CONTROL
- 0x009a: 0x003a, # CONTROL
- 0x009b: 0x003b, # CONTROL
- 0x009c: 0x0004, # CONTROL
- 0x009d: 0x0014, # CONTROL
- 0x009e: 0x003e, # CONTROL
- 0x009f: 0x00ff, # CONTROL
- 0x00a0: 0x0041, # NO-BREAK SPACE
- 0x00a1: 0x00aa, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00b0, # CENT SIGN
- 0x00a3: 0x00b1, # POUND SIGN
- 0x00a4: 0x009f, # CURRENCY SIGN
- 0x00a5: 0x00b2, # YEN SIGN
- 0x00a6: 0x006a, # BROKEN BAR
- 0x00a7: 0x00b5, # SECTION SIGN
- 0x00a8: 0x00bd, # DIAERESIS
- 0x00a9: 0x00b4, # COPYRIGHT SIGN
- 0x00aa: 0x009a, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x008a, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ba, # NOT SIGN
- 0x00ad: 0x00ca, # SOFT HYPHEN
- 0x00ae: 0x00af, # REGISTERED SIGN
- 0x00af: 0x00bc, # MACRON
- 0x00b0: 0x0090, # DEGREE SIGN
- 0x00b1: 0x008f, # PLUS-MINUS SIGN
- 0x00b2: 0x00ea, # SUPERSCRIPT TWO
- 0x00b3: 0x00fa, # SUPERSCRIPT THREE
- 0x00b4: 0x00be, # ACUTE ACCENT
- 0x00b5: 0x00a0, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b3, # MIDDLE DOT
- 0x00b8: 0x009d, # CEDILLA
- 0x00b9: 0x00da, # SUPERSCRIPT ONE
- 0x00ba: 0x009b, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x008b, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00b7, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00b8, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00b9, # VULGAR FRACTION THREE QUARTERS
- 0x00bf: 0x00ab, # INVERTED QUESTION MARK
- 0x00c0: 0x0064, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x0065, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x0062, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x0066, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x0063, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x0067, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x009e, # LATIN CAPITAL LIGATURE AE
- 0x00c7: 0x0068, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x0074, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x0071, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x0072, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x0073, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x0078, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x0075, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x0076, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x0077, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d0: 0x00ac, # LATIN CAPITAL LETTER ETH (ICELANDIC)
- 0x00d1: 0x0069, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00ed, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00ee, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00eb, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00ef, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x00ec, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00bf, # MULTIPLICATION SIGN
- 0x00d8: 0x0080, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00fd, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00fe, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00fb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00fc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00dd: 0x00ad, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00de: 0x00ae, # LATIN CAPITAL LETTER THORN (ICELANDIC)
- 0x00df: 0x0059, # LATIN SMALL LETTER SHARP S (GERMAN)
- 0x00e0: 0x0044, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x0045, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x0042, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x0046, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x0043, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x0047, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x009c, # LATIN SMALL LIGATURE AE
- 0x00e7: 0x0048, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x0054, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x0051, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x0052, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x0053, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x0058, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x0055, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x0056, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x0057, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f0: 0x008c, # LATIN SMALL LETTER ETH (ICELANDIC)
- 0x00f1: 0x0049, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x00cd, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x00ce, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00cb, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x00cf, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00cc, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00e1, # DIVISION SIGN
- 0x00f8: 0x0070, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x00dd, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x00de, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00db, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00dc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00fd: 0x008d, # LATIN SMALL LETTER Y WITH ACUTE
- 0x00fe: 0x008e, # LATIN SMALL LETTER THORN (ICELANDIC)
- 0x00ff: 0x00df, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x37, # END OF TRANSMISSION
+ 0x0005: 0x2d, # ENQUIRY
+ 0x0006: 0x2e, # ACKNOWLEDGE
+ 0x0007: 0x2f, # BELL
+ 0x0008: 0x16, # BACKSPACE
+ 0x0009: 0x05, # HORIZONTAL TABULATION
+ 0x000a: 0x25, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x3c, # DEVICE CONTROL FOUR
+ 0x0015: 0x3d, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x32, # SYNCHRONOUS IDLE
+ 0x0017: 0x26, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x3f, # SUBSTITUTE
+ 0x001b: 0x27, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x40, # SPACE
+ 0x0021: 0x4f, # EXCLAMATION MARK
+ 0x0022: 0x7f, # QUOTATION MARK
+ 0x0023: 0x7b, # NUMBER SIGN
+ 0x0024: 0x5b, # DOLLAR SIGN
+ 0x0025: 0x6c, # PERCENT SIGN
+ 0x0026: 0x50, # AMPERSAND
+ 0x0027: 0x7d, # APOSTROPHE
+ 0x0028: 0x4d, # LEFT PARENTHESIS
+ 0x0029: 0x5d, # RIGHT PARENTHESIS
+ 0x002a: 0x5c, # ASTERISK
+ 0x002b: 0x4e, # PLUS SIGN
+ 0x002c: 0x6b, # COMMA
+ 0x002d: 0x60, # HYPHEN-MINUS
+ 0x002e: 0x4b, # FULL STOP
+ 0x002f: 0x61, # SOLIDUS
+ 0x0030: 0xf0, # DIGIT ZERO
+ 0x0031: 0xf1, # DIGIT ONE
+ 0x0032: 0xf2, # DIGIT TWO
+ 0x0033: 0xf3, # DIGIT THREE
+ 0x0034: 0xf4, # DIGIT FOUR
+ 0x0035: 0xf5, # DIGIT FIVE
+ 0x0036: 0xf6, # DIGIT SIX
+ 0x0037: 0xf7, # DIGIT SEVEN
+ 0x0038: 0xf8, # DIGIT EIGHT
+ 0x0039: 0xf9, # DIGIT NINE
+ 0x003a: 0x7a, # COLON
+ 0x003b: 0x5e, # SEMICOLON
+ 0x003c: 0x4c, # LESS-THAN SIGN
+ 0x003d: 0x7e, # EQUALS SIGN
+ 0x003e: 0x6e, # GREATER-THAN SIGN
+ 0x003f: 0x6f, # QUESTION MARK
+ 0x0040: 0x7c, # COMMERCIAL AT
+ 0x0041: 0xc1, # LATIN CAPITAL LETTER A
+ 0x0042: 0xc2, # LATIN CAPITAL LETTER B
+ 0x0043: 0xc3, # LATIN CAPITAL LETTER C
+ 0x0044: 0xc4, # LATIN CAPITAL LETTER D
+ 0x0045: 0xc5, # LATIN CAPITAL LETTER E
+ 0x0046: 0xc6, # LATIN CAPITAL LETTER F
+ 0x0047: 0xc7, # LATIN CAPITAL LETTER G
+ 0x0048: 0xc8, # LATIN CAPITAL LETTER H
+ 0x0049: 0xc9, # LATIN CAPITAL LETTER I
+ 0x004a: 0xd1, # LATIN CAPITAL LETTER J
+ 0x004b: 0xd2, # LATIN CAPITAL LETTER K
+ 0x004c: 0xd3, # LATIN CAPITAL LETTER L
+ 0x004d: 0xd4, # LATIN CAPITAL LETTER M
+ 0x004e: 0xd5, # LATIN CAPITAL LETTER N
+ 0x004f: 0xd6, # LATIN CAPITAL LETTER O
+ 0x0050: 0xd7, # LATIN CAPITAL LETTER P
+ 0x0051: 0xd8, # LATIN CAPITAL LETTER Q
+ 0x0052: 0xd9, # LATIN CAPITAL LETTER R
+ 0x0053: 0xe2, # LATIN CAPITAL LETTER S
+ 0x0054: 0xe3, # LATIN CAPITAL LETTER T
+ 0x0055: 0xe4, # LATIN CAPITAL LETTER U
+ 0x0056: 0xe5, # LATIN CAPITAL LETTER V
+ 0x0057: 0xe6, # LATIN CAPITAL LETTER W
+ 0x0058: 0xe7, # LATIN CAPITAL LETTER X
+ 0x0059: 0xe8, # LATIN CAPITAL LETTER Y
+ 0x005a: 0xe9, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x4a, # LEFT SQUARE BRACKET
+ 0x005c: 0xe0, # REVERSE SOLIDUS
+ 0x005d: 0x5a, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5f, # CIRCUMFLEX ACCENT
+ 0x005f: 0x6d, # LOW LINE
+ 0x0060: 0x79, # GRAVE ACCENT
+ 0x0061: 0x81, # LATIN SMALL LETTER A
+ 0x0062: 0x82, # LATIN SMALL LETTER B
+ 0x0063: 0x83, # LATIN SMALL LETTER C
+ 0x0064: 0x84, # LATIN SMALL LETTER D
+ 0x0065: 0x85, # LATIN SMALL LETTER E
+ 0x0066: 0x86, # LATIN SMALL LETTER F
+ 0x0067: 0x87, # LATIN SMALL LETTER G
+ 0x0068: 0x88, # LATIN SMALL LETTER H
+ 0x0069: 0x89, # LATIN SMALL LETTER I
+ 0x006a: 0x91, # LATIN SMALL LETTER J
+ 0x006b: 0x92, # LATIN SMALL LETTER K
+ 0x006c: 0x93, # LATIN SMALL LETTER L
+ 0x006d: 0x94, # LATIN SMALL LETTER M
+ 0x006e: 0x95, # LATIN SMALL LETTER N
+ 0x006f: 0x96, # LATIN SMALL LETTER O
+ 0x0070: 0x97, # LATIN SMALL LETTER P
+ 0x0071: 0x98, # LATIN SMALL LETTER Q
+ 0x0072: 0x99, # LATIN SMALL LETTER R
+ 0x0073: 0xa2, # LATIN SMALL LETTER S
+ 0x0074: 0xa3, # LATIN SMALL LETTER T
+ 0x0075: 0xa4, # LATIN SMALL LETTER U
+ 0x0076: 0xa5, # LATIN SMALL LETTER V
+ 0x0077: 0xa6, # LATIN SMALL LETTER W
+ 0x0078: 0xa7, # LATIN SMALL LETTER X
+ 0x0079: 0xa8, # LATIN SMALL LETTER Y
+ 0x007a: 0xa9, # LATIN SMALL LETTER Z
+ 0x007b: 0xc0, # LEFT CURLY BRACKET
+ 0x007c: 0xbb, # VERTICAL LINE
+ 0x007d: 0xd0, # RIGHT CURLY BRACKET
+ 0x007e: 0xa1, # TILDE
+ 0x007f: 0x07, # DELETE
+ 0x0080: 0x20, # CONTROL
+ 0x0081: 0x21, # CONTROL
+ 0x0082: 0x22, # CONTROL
+ 0x0083: 0x23, # CONTROL
+ 0x0084: 0x24, # CONTROL
+ 0x0085: 0x15, # CONTROL
+ 0x0086: 0x06, # CONTROL
+ 0x0087: 0x17, # CONTROL
+ 0x0088: 0x28, # CONTROL
+ 0x0089: 0x29, # CONTROL
+ 0x008a: 0x2a, # CONTROL
+ 0x008b: 0x2b, # CONTROL
+ 0x008c: 0x2c, # CONTROL
+ 0x008d: 0x09, # CONTROL
+ 0x008e: 0x0a, # CONTROL
+ 0x008f: 0x1b, # CONTROL
+ 0x0090: 0x30, # CONTROL
+ 0x0091: 0x31, # CONTROL
+ 0x0092: 0x1a, # CONTROL
+ 0x0093: 0x33, # CONTROL
+ 0x0094: 0x34, # CONTROL
+ 0x0095: 0x35, # CONTROL
+ 0x0096: 0x36, # CONTROL
+ 0x0097: 0x08, # CONTROL
+ 0x0098: 0x38, # CONTROL
+ 0x0099: 0x39, # CONTROL
+ 0x009a: 0x3a, # CONTROL
+ 0x009b: 0x3b, # CONTROL
+ 0x009c: 0x04, # CONTROL
+ 0x009d: 0x14, # CONTROL
+ 0x009e: 0x3e, # CONTROL
+ 0x009f: 0xff, # CONTROL
+ 0x00a0: 0x41, # NO-BREAK SPACE
+ 0x00a1: 0xaa, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xb0, # CENT SIGN
+ 0x00a3: 0xb1, # POUND SIGN
+ 0x00a4: 0x9f, # CURRENCY SIGN
+ 0x00a5: 0xb2, # YEN SIGN
+ 0x00a6: 0x6a, # BROKEN BAR
+ 0x00a7: 0xb5, # SECTION SIGN
+ 0x00a8: 0xbd, # DIAERESIS
+ 0x00a9: 0xb4, # COPYRIGHT SIGN
+ 0x00aa: 0x9a, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0x8a, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xba, # NOT SIGN
+ 0x00ad: 0xca, # SOFT HYPHEN
+ 0x00ae: 0xaf, # REGISTERED SIGN
+ 0x00af: 0xbc, # MACRON
+ 0x00b0: 0x90, # DEGREE SIGN
+ 0x00b1: 0x8f, # PLUS-MINUS SIGN
+ 0x00b2: 0xea, # SUPERSCRIPT TWO
+ 0x00b3: 0xfa, # SUPERSCRIPT THREE
+ 0x00b4: 0xbe, # ACUTE ACCENT
+ 0x00b5: 0xa0, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb3, # MIDDLE DOT
+ 0x00b8: 0x9d, # CEDILLA
+ 0x00b9: 0xda, # SUPERSCRIPT ONE
+ 0x00ba: 0x9b, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0x8b, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xb7, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xb8, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xb9, # VULGAR FRACTION THREE QUARTERS
+ 0x00bf: 0xab, # INVERTED QUESTION MARK
+ 0x00c0: 0x64, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0x65, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0x62, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0x66, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0x63, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0x67, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0x9e, # LATIN CAPITAL LIGATURE AE
+ 0x00c7: 0x68, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0x74, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0x71, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0x72, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0x73, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0x78, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0x75, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0x76, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0x77, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d0: 0xac, # LATIN CAPITAL LETTER ETH (ICELANDIC)
+ 0x00d1: 0x69, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xed, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xee, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xeb, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xef, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xec, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xbf, # MULTIPLICATION SIGN
+ 0x00d8: 0x80, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xfd, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xfe, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xfb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xfc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00dd: 0xad, # LATIN CAPITAL LETTER Y WITH ACUTE
+ 0x00de: 0xae, # LATIN CAPITAL LETTER THORN (ICELANDIC)
+ 0x00df: 0x59, # LATIN SMALL LETTER SHARP S (GERMAN)
+ 0x00e0: 0x44, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0x45, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0x42, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0x46, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0x43, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0x47, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0x9c, # LATIN SMALL LIGATURE AE
+ 0x00e7: 0x48, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0x54, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0x51, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0x52, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0x53, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0x58, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0x55, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0x56, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0x57, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f0: 0x8c, # LATIN SMALL LETTER ETH (ICELANDIC)
+ 0x00f1: 0x49, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0xcd, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0xce, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xcb, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0xcf, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xcc, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xe1, # DIVISION SIGN
+ 0x00f8: 0x70, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0xdd, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xde, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xdb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xdc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00fd: 0x8d, # LATIN SMALL LETTER Y WITH ACUTE
+ 0x00fe: 0x8e, # LATIN SMALL LETTER THORN (ICELANDIC)
+ 0x00ff: 0xdf, # LATIN SMALL LETTER Y WITH DIAERESIS
} \ No newline at end of file
diff --git a/Lib/encodings/cp856.py b/Lib/encodings/cp856.py
index 358cfe96be0..3b7cbd0da67 100644
--- a/Lib/encodings/cp856.py
+++ b/Lib/encodings/cp856.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MISC/CP856.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MISC/CP856.TXT' with gencodec.py.
"""#"
@@ -28,617 +28,484 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x05d0, # HEBREW LETTER ALEF
- 0x0081: 0x05d1, # HEBREW LETTER BET
- 0x0082: 0x05d2, # HEBREW LETTER GIMEL
- 0x0083: 0x05d3, # HEBREW LETTER DALET
- 0x0084: 0x05d4, # HEBREW LETTER HE
- 0x0085: 0x05d5, # HEBREW LETTER VAV
- 0x0086: 0x05d6, # HEBREW LETTER ZAYIN
- 0x0087: 0x05d7, # HEBREW LETTER HET
- 0x0088: 0x05d8, # HEBREW LETTER TET
- 0x0089: 0x05d9, # HEBREW LETTER YOD
- 0x008a: 0x05da, # HEBREW LETTER FINAL KAF
- 0x008b: 0x05db, # HEBREW LETTER KAF
- 0x008c: 0x05dc, # HEBREW LETTER LAMED
- 0x008d: 0x05dd, # HEBREW LETTER FINAL MEM
- 0x008e: 0x05de, # HEBREW LETTER MEM
- 0x008f: 0x05df, # HEBREW LETTER FINAL NUN
- 0x0090: 0x05e0, # HEBREW LETTER NUN
- 0x0091: 0x05e1, # HEBREW LETTER SAMEKH
- 0x0092: 0x05e2, # HEBREW LETTER AYIN
- 0x0093: 0x05e3, # HEBREW LETTER FINAL PE
- 0x0094: 0x05e4, # HEBREW LETTER PE
- 0x0095: 0x05e5, # HEBREW LETTER FINAL TSADI
- 0x0096: 0x05e6, # HEBREW LETTER TSADI
- 0x0097: 0x05e7, # HEBREW LETTER QOF
- 0x0098: 0x05e8, # HEBREW LETTER RESH
- 0x0099: 0x05e9, # HEBREW LETTER SHIN
- 0x009a: 0x05ea, # HEBREW LETTER TAV
- 0x009b: None, # UNDEFINED
- 0x009c: 0x00a3, # POUND SIGN
- 0x009d: None, # UNDEFINED
- 0x009e: 0x00d7, # MULTIPLICATION SIGN
- 0x009f: None, # UNDEFINED
- 0x00a0: None, # UNDEFINED
- 0x00a1: None, # UNDEFINED
- 0x00a2: None, # UNDEFINED
- 0x00a3: None, # UNDEFINED
- 0x00a4: None, # UNDEFINED
- 0x00a5: None, # UNDEFINED
- 0x00a6: None, # UNDEFINED
- 0x00a7: None, # UNDEFINED
- 0x00a8: None, # UNDEFINED
- 0x00a9: 0x00ae, # REGISTERED SIGN
- 0x00aa: 0x00ac, # NOT SIGN
- 0x00ab: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00ac: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00ad: None, # UNDEFINED
- 0x00ae: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00af: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00b0: 0x2591, # LIGHT SHADE
- 0x00b1: 0x2592, # MEDIUM SHADE
- 0x00b2: 0x2593, # DARK SHADE
- 0x00b3: 0x2502, # BOX DRAWINGS LIGHT VERTICAL
- 0x00b4: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
- 0x00b5: None, # UNDEFINED
- 0x00b6: None, # UNDEFINED
- 0x00b7: None, # UNDEFINED
- 0x00b8: 0x00a9, # COPYRIGHT SIGN
- 0x00b9: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
- 0x00ba: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL
- 0x00bb: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT
- 0x00bc: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT
- 0x00bd: 0x00a2, # CENT SIGN
- 0x00be: 0x00a5, # YEN SIGN
- 0x00bf: 0x2510, # BOX DRAWINGS LIGHT DOWN AND LEFT
- 0x00c0: 0x2514, # BOX DRAWINGS LIGHT UP AND RIGHT
- 0x00c1: 0x2534, # BOX DRAWINGS LIGHT UP AND HORIZONTAL
- 0x00c2: 0x252c, # BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
- 0x00c3: 0x251c, # BOX DRAWINGS LIGHT VERTICAL AND RIGHT
- 0x00c4: 0x2500, # BOX DRAWINGS LIGHT HORIZONTAL
- 0x00c5: 0x253c, # BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
- 0x00c6: None, # UNDEFINED
- 0x00c7: None, # UNDEFINED
- 0x00c8: 0x255a, # BOX DRAWINGS DOUBLE UP AND RIGHT
- 0x00c9: 0x2554, # BOX DRAWINGS DOUBLE DOWN AND RIGHT
- 0x00ca: 0x2569, # BOX DRAWINGS DOUBLE UP AND HORIZONTAL
- 0x00cb: 0x2566, # BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
- 0x00cc: 0x2560, # BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
- 0x00cd: 0x2550, # BOX DRAWINGS DOUBLE HORIZONTAL
- 0x00ce: 0x256c, # BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
- 0x00cf: 0x00a4, # CURRENCY SIGN
- 0x00d0: None, # UNDEFINED
- 0x00d1: None, # UNDEFINED
- 0x00d2: None, # UNDEFINED
- 0x00d3: None, # UNDEFINEDS
- 0x00d4: None, # UNDEFINED
- 0x00d5: None, # UNDEFINED
- 0x00d6: None, # UNDEFINEDE
- 0x00d7: None, # UNDEFINED
- 0x00d8: None, # UNDEFINED
- 0x00d9: 0x2518, # BOX DRAWINGS LIGHT UP AND LEFT
- 0x00da: 0x250c, # BOX DRAWINGS LIGHT DOWN AND RIGHT
- 0x00db: 0x2588, # FULL BLOCK
- 0x00dc: 0x2584, # LOWER HALF BLOCK
- 0x00dd: 0x00a6, # BROKEN BAR
- 0x00de: None, # UNDEFINED
- 0x00df: 0x2580, # UPPER HALF BLOCK
- 0x00e0: None, # UNDEFINED
- 0x00e1: None, # UNDEFINED
- 0x00e2: None, # UNDEFINED
- 0x00e3: None, # UNDEFINED
- 0x00e4: None, # UNDEFINED
- 0x00e5: None, # UNDEFINED
- 0x00e6: 0x00b5, # MICRO SIGN
- 0x00e7: None, # UNDEFINED
- 0x00e8: None, # UNDEFINED
- 0x00e9: None, # UNDEFINED
- 0x00ea: None, # UNDEFINED
- 0x00eb: None, # UNDEFINED
- 0x00ec: None, # UNDEFINED
- 0x00ed: None, # UNDEFINED
- 0x00ee: 0x00af, # MACRON
- 0x00ef: 0x00b4, # ACUTE ACCENT
- 0x00f0: 0x00ad, # SOFT HYPHEN
- 0x00f1: 0x00b1, # PLUS-MINUS SIGN
- 0x00f2: 0x2017, # DOUBLE LOW LINE
- 0x00f3: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00f4: 0x00b6, # PILCROW SIGN
- 0x00f5: 0x00a7, # SECTION SIGN
- 0x00f6: 0x00f7, # DIVISION SIGN
- 0x00f7: 0x00b8, # CEDILLA
- 0x00f8: 0x00b0, # DEGREE SIGN
- 0x00f9: 0x00a8, # DIAERESIS
- 0x00fa: 0x00b7, # MIDDLE DOT
- 0x00fb: 0x00b9, # SUPERSCRIPT ONE
- 0x00fc: 0x00b3, # SUPERSCRIPT THREE
- 0x00fd: 0x00b2, # SUPERSCRIPT TWO
- 0x00fe: 0x25a0, # BLACK SQUARE
- 0x00ff: 0x00a0, # NO-BREAK SPACE
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\u05d0' # 0x0080 -> HEBREW LETTER ALEF
- u'\u05d1' # 0x0081 -> HEBREW LETTER BET
- u'\u05d2' # 0x0082 -> HEBREW LETTER GIMEL
- u'\u05d3' # 0x0083 -> HEBREW LETTER DALET
- u'\u05d4' # 0x0084 -> HEBREW LETTER HE
- u'\u05d5' # 0x0085 -> HEBREW LETTER VAV
- u'\u05d6' # 0x0086 -> HEBREW LETTER ZAYIN
- u'\u05d7' # 0x0087 -> HEBREW LETTER HET
- u'\u05d8' # 0x0088 -> HEBREW LETTER TET
- u'\u05d9' # 0x0089 -> HEBREW LETTER YOD
- u'\u05da' # 0x008a -> HEBREW LETTER FINAL KAF
- u'\u05db' # 0x008b -> HEBREW LETTER KAF
- u'\u05dc' # 0x008c -> HEBREW LETTER LAMED
- u'\u05dd' # 0x008d -> HEBREW LETTER FINAL MEM
- u'\u05de' # 0x008e -> HEBREW LETTER MEM
- u'\u05df' # 0x008f -> HEBREW LETTER FINAL NUN
- u'\u05e0' # 0x0090 -> HEBREW LETTER NUN
- u'\u05e1' # 0x0091 -> HEBREW LETTER SAMEKH
- u'\u05e2' # 0x0092 -> HEBREW LETTER AYIN
- u'\u05e3' # 0x0093 -> HEBREW LETTER FINAL PE
- u'\u05e4' # 0x0094 -> HEBREW LETTER PE
- u'\u05e5' # 0x0095 -> HEBREW LETTER FINAL TSADI
- u'\u05e6' # 0x0096 -> HEBREW LETTER TSADI
- u'\u05e7' # 0x0097 -> HEBREW LETTER QOF
- u'\u05e8' # 0x0098 -> HEBREW LETTER RESH
- u'\u05e9' # 0x0099 -> HEBREW LETTER SHIN
- u'\u05ea' # 0x009a -> HEBREW LETTER TAV
- u'\ufffe' # 0x009b -> UNDEFINED
- u'\xa3' # 0x009c -> POUND SIGN
- u'\ufffe' # 0x009d -> UNDEFINED
- u'\xd7' # 0x009e -> MULTIPLICATION SIGN
- u'\ufffe' # 0x009f -> UNDEFINED
- u'\ufffe' # 0x00a0 -> UNDEFINED
- u'\ufffe' # 0x00a1 -> UNDEFINED
- u'\ufffe' # 0x00a2 -> UNDEFINED
- u'\ufffe' # 0x00a3 -> UNDEFINED
- u'\ufffe' # 0x00a4 -> UNDEFINED
- u'\ufffe' # 0x00a5 -> UNDEFINED
- u'\ufffe' # 0x00a6 -> UNDEFINED
- u'\ufffe' # 0x00a7 -> UNDEFINED
- u'\ufffe' # 0x00a8 -> UNDEFINED
- u'\xae' # 0x00a9 -> REGISTERED SIGN
- u'\xac' # 0x00aa -> NOT SIGN
- u'\xbd' # 0x00ab -> VULGAR FRACTION ONE HALF
- u'\xbc' # 0x00ac -> VULGAR FRACTION ONE QUARTER
- u'\ufffe' # 0x00ad -> UNDEFINED
- u'\xab' # 0x00ae -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbb' # 0x00af -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u2591' # 0x00b0 -> LIGHT SHADE
- u'\u2592' # 0x00b1 -> MEDIUM SHADE
- u'\u2593' # 0x00b2 -> DARK SHADE
- u'\u2502' # 0x00b3 -> BOX DRAWINGS LIGHT VERTICAL
- u'\u2524' # 0x00b4 -> BOX DRAWINGS LIGHT VERTICAL AND LEFT
- u'\ufffe' # 0x00b5 -> UNDEFINED
- u'\ufffe' # 0x00b6 -> UNDEFINED
- u'\ufffe' # 0x00b7 -> UNDEFINED
- u'\xa9' # 0x00b8 -> COPYRIGHT SIGN
- u'\u2563' # 0x00b9 -> BOX DRAWINGS DOUBLE VERTICAL AND LEFT
- u'\u2551' # 0x00ba -> BOX DRAWINGS DOUBLE VERTICAL
- u'\u2557' # 0x00bb -> BOX DRAWINGS DOUBLE DOWN AND LEFT
- u'\u255d' # 0x00bc -> BOX DRAWINGS DOUBLE UP AND LEFT
- u'\xa2' # 0x00bd -> CENT SIGN
- u'\xa5' # 0x00be -> YEN SIGN
- u'\u2510' # 0x00bf -> BOX DRAWINGS LIGHT DOWN AND LEFT
- u'\u2514' # 0x00c0 -> BOX DRAWINGS LIGHT UP AND RIGHT
- u'\u2534' # 0x00c1 -> BOX DRAWINGS LIGHT UP AND HORIZONTAL
- u'\u252c' # 0x00c2 -> BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
- u'\u251c' # 0x00c3 -> BOX DRAWINGS LIGHT VERTICAL AND RIGHT
- u'\u2500' # 0x00c4 -> BOX DRAWINGS LIGHT HORIZONTAL
- u'\u253c' # 0x00c5 -> BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
- u'\ufffe' # 0x00c6 -> UNDEFINED
- u'\ufffe' # 0x00c7 -> UNDEFINED
- u'\u255a' # 0x00c8 -> BOX DRAWINGS DOUBLE UP AND RIGHT
- u'\u2554' # 0x00c9 -> BOX DRAWINGS DOUBLE DOWN AND RIGHT
- u'\u2569' # 0x00ca -> BOX DRAWINGS DOUBLE UP AND HORIZONTAL
- u'\u2566' # 0x00cb -> BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
- u'\u2560' # 0x00cc -> BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
- u'\u2550' # 0x00cd -> BOX DRAWINGS DOUBLE HORIZONTAL
- u'\u256c' # 0x00ce -> BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
- u'\xa4' # 0x00cf -> CURRENCY SIGN
- u'\ufffe' # 0x00d0 -> UNDEFINED
- u'\ufffe' # 0x00d1 -> UNDEFINED
- u'\ufffe' # 0x00d2 -> UNDEFINED
- u'\ufffe' # 0x00d3 -> UNDEFINEDS
- u'\ufffe' # 0x00d4 -> UNDEFINED
- u'\ufffe' # 0x00d5 -> UNDEFINED
- u'\ufffe' # 0x00d6 -> UNDEFINEDE
- u'\ufffe' # 0x00d7 -> UNDEFINED
- u'\ufffe' # 0x00d8 -> UNDEFINED
- u'\u2518' # 0x00d9 -> BOX DRAWINGS LIGHT UP AND LEFT
- u'\u250c' # 0x00da -> BOX DRAWINGS LIGHT DOWN AND RIGHT
- u'\u2588' # 0x00db -> FULL BLOCK
- u'\u2584' # 0x00dc -> LOWER HALF BLOCK
- u'\xa6' # 0x00dd -> BROKEN BAR
- u'\ufffe' # 0x00de -> UNDEFINED
- u'\u2580' # 0x00df -> UPPER HALF BLOCK
- u'\ufffe' # 0x00e0 -> UNDEFINED
- u'\ufffe' # 0x00e1 -> UNDEFINED
- u'\ufffe' # 0x00e2 -> UNDEFINED
- u'\ufffe' # 0x00e3 -> UNDEFINED
- u'\ufffe' # 0x00e4 -> UNDEFINED
- u'\ufffe' # 0x00e5 -> UNDEFINED
- u'\xb5' # 0x00e6 -> MICRO SIGN
- u'\ufffe' # 0x00e7 -> UNDEFINED
- u'\ufffe' # 0x00e8 -> UNDEFINED
- u'\ufffe' # 0x00e9 -> UNDEFINED
- u'\ufffe' # 0x00ea -> UNDEFINED
- u'\ufffe' # 0x00eb -> UNDEFINED
- u'\ufffe' # 0x00ec -> UNDEFINED
- u'\ufffe' # 0x00ed -> UNDEFINED
- u'\xaf' # 0x00ee -> MACRON
- u'\xb4' # 0x00ef -> ACUTE ACCENT
- u'\xad' # 0x00f0 -> SOFT HYPHEN
- u'\xb1' # 0x00f1 -> PLUS-MINUS SIGN
- u'\u2017' # 0x00f2 -> DOUBLE LOW LINE
- u'\xbe' # 0x00f3 -> VULGAR FRACTION THREE QUARTERS
- u'\xb6' # 0x00f4 -> PILCROW SIGN
- u'\xa7' # 0x00f5 -> SECTION SIGN
- u'\xf7' # 0x00f6 -> DIVISION SIGN
- u'\xb8' # 0x00f7 -> CEDILLA
- u'\xb0' # 0x00f8 -> DEGREE SIGN
- u'\xa8' # 0x00f9 -> DIAERESIS
- u'\xb7' # 0x00fa -> MIDDLE DOT
- u'\xb9' # 0x00fb -> SUPERSCRIPT ONE
- u'\xb3' # 0x00fc -> SUPERSCRIPT THREE
- u'\xb2' # 0x00fd -> SUPERSCRIPT TWO
- u'\u25a0' # 0x00fe -> BLACK SQUARE
- u'\xa0' # 0x00ff -> NO-BREAK SPACE
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u05d0' # 0x80 -> HEBREW LETTER ALEF
+ u'\u05d1' # 0x81 -> HEBREW LETTER BET
+ u'\u05d2' # 0x82 -> HEBREW LETTER GIMEL
+ u'\u05d3' # 0x83 -> HEBREW LETTER DALET
+ u'\u05d4' # 0x84 -> HEBREW LETTER HE
+ u'\u05d5' # 0x85 -> HEBREW LETTER VAV
+ u'\u05d6' # 0x86 -> HEBREW LETTER ZAYIN
+ u'\u05d7' # 0x87 -> HEBREW LETTER HET
+ u'\u05d8' # 0x88 -> HEBREW LETTER TET
+ u'\u05d9' # 0x89 -> HEBREW LETTER YOD
+ u'\u05da' # 0x8a -> HEBREW LETTER FINAL KAF
+ u'\u05db' # 0x8b -> HEBREW LETTER KAF
+ u'\u05dc' # 0x8c -> HEBREW LETTER LAMED
+ u'\u05dd' # 0x8d -> HEBREW LETTER FINAL MEM
+ u'\u05de' # 0x8e -> HEBREW LETTER MEM
+ u'\u05df' # 0x8f -> HEBREW LETTER FINAL NUN
+ u'\u05e0' # 0x90 -> HEBREW LETTER NUN
+ u'\u05e1' # 0x91 -> HEBREW LETTER SAMEKH
+ u'\u05e2' # 0x92 -> HEBREW LETTER AYIN
+ u'\u05e3' # 0x93 -> HEBREW LETTER FINAL PE
+ u'\u05e4' # 0x94 -> HEBREW LETTER PE
+ u'\u05e5' # 0x95 -> HEBREW LETTER FINAL TSADI
+ u'\u05e6' # 0x96 -> HEBREW LETTER TSADI
+ u'\u05e7' # 0x97 -> HEBREW LETTER QOF
+ u'\u05e8' # 0x98 -> HEBREW LETTER RESH
+ u'\u05e9' # 0x99 -> HEBREW LETTER SHIN
+ u'\u05ea' # 0x9a -> HEBREW LETTER TAV
+ u'\ufffe' # 0x9b -> UNDEFINED
+ u'\xa3' # 0x9c -> POUND SIGN
+ u'\ufffe' # 0x9d -> UNDEFINED
+ u'\xd7' # 0x9e -> MULTIPLICATION SIGN
+ u'\ufffe' # 0x9f -> UNDEFINED
+ u'\ufffe' # 0xa0 -> UNDEFINED
+ u'\ufffe' # 0xa1 -> UNDEFINED
+ u'\ufffe' # 0xa2 -> UNDEFINED
+ u'\ufffe' # 0xa3 -> UNDEFINED
+ u'\ufffe' # 0xa4 -> UNDEFINED
+ u'\ufffe' # 0xa5 -> UNDEFINED
+ u'\ufffe' # 0xa6 -> UNDEFINED
+ u'\ufffe' # 0xa7 -> UNDEFINED
+ u'\ufffe' # 0xa8 -> UNDEFINED
+ u'\xae' # 0xa9 -> REGISTERED SIGN
+ u'\xac' # 0xaa -> NOT SIGN
+ u'\xbd' # 0xab -> VULGAR FRACTION ONE HALF
+ u'\xbc' # 0xac -> VULGAR FRACTION ONE QUARTER
+ u'\ufffe' # 0xad -> UNDEFINED
+ u'\xab' # 0xae -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0xaf -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u2591' # 0xb0 -> LIGHT SHADE
+ u'\u2592' # 0xb1 -> MEDIUM SHADE
+ u'\u2593' # 0xb2 -> DARK SHADE
+ u'\u2502' # 0xb3 -> BOX DRAWINGS LIGHT VERTICAL
+ u'\u2524' # 0xb4 -> BOX DRAWINGS LIGHT VERTICAL AND LEFT
+ u'\ufffe' # 0xb5 -> UNDEFINED
+ u'\ufffe' # 0xb6 -> UNDEFINED
+ u'\ufffe' # 0xb7 -> UNDEFINED
+ u'\xa9' # 0xb8 -> COPYRIGHT SIGN
+ u'\u2563' # 0xb9 -> BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+ u'\u2551' # 0xba -> BOX DRAWINGS DOUBLE VERTICAL
+ u'\u2557' # 0xbb -> BOX DRAWINGS DOUBLE DOWN AND LEFT
+ u'\u255d' # 0xbc -> BOX DRAWINGS DOUBLE UP AND LEFT
+ u'\xa2' # 0xbd -> CENT SIGN
+ u'\xa5' # 0xbe -> YEN SIGN
+ u'\u2510' # 0xbf -> BOX DRAWINGS LIGHT DOWN AND LEFT
+ u'\u2514' # 0xc0 -> BOX DRAWINGS LIGHT UP AND RIGHT
+ u'\u2534' # 0xc1 -> BOX DRAWINGS LIGHT UP AND HORIZONTAL
+ u'\u252c' # 0xc2 -> BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+ u'\u251c' # 0xc3 -> BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+ u'\u2500' # 0xc4 -> BOX DRAWINGS LIGHT HORIZONTAL
+ u'\u253c' # 0xc5 -> BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+ u'\ufffe' # 0xc6 -> UNDEFINED
+ u'\ufffe' # 0xc7 -> UNDEFINED
+ u'\u255a' # 0xc8 -> BOX DRAWINGS DOUBLE UP AND RIGHT
+ u'\u2554' # 0xc9 -> BOX DRAWINGS DOUBLE DOWN AND RIGHT
+ u'\u2569' # 0xca -> BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+ u'\u2566' # 0xcb -> BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+ u'\u2560' # 0xcc -> BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+ u'\u2550' # 0xcd -> BOX DRAWINGS DOUBLE HORIZONTAL
+ u'\u256c' # 0xce -> BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+ u'\xa4' # 0xcf -> CURRENCY SIGN
+ u'\ufffe' # 0xd0 -> UNDEFINED
+ u'\ufffe' # 0xd1 -> UNDEFINED
+ u'\ufffe' # 0xd2 -> UNDEFINED
+ u'\ufffe' # 0xd3 -> UNDEFINEDS
+ u'\ufffe' # 0xd4 -> UNDEFINED
+ u'\ufffe' # 0xd5 -> UNDEFINED
+ u'\ufffe' # 0xd6 -> UNDEFINEDE
+ u'\ufffe' # 0xd7 -> UNDEFINED
+ u'\ufffe' # 0xd8 -> UNDEFINED
+ u'\u2518' # 0xd9 -> BOX DRAWINGS LIGHT UP AND LEFT
+ u'\u250c' # 0xda -> BOX DRAWINGS LIGHT DOWN AND RIGHT
+ u'\u2588' # 0xdb -> FULL BLOCK
+ u'\u2584' # 0xdc -> LOWER HALF BLOCK
+ u'\xa6' # 0xdd -> BROKEN BAR
+ u'\ufffe' # 0xde -> UNDEFINED
+ u'\u2580' # 0xdf -> UPPER HALF BLOCK
+ u'\ufffe' # 0xe0 -> UNDEFINED
+ u'\ufffe' # 0xe1 -> UNDEFINED
+ u'\ufffe' # 0xe2 -> UNDEFINED
+ u'\ufffe' # 0xe3 -> UNDEFINED
+ u'\ufffe' # 0xe4 -> UNDEFINED
+ u'\ufffe' # 0xe5 -> UNDEFINED
+ u'\xb5' # 0xe6 -> MICRO SIGN
+ u'\ufffe' # 0xe7 -> UNDEFINED
+ u'\ufffe' # 0xe8 -> UNDEFINED
+ u'\ufffe' # 0xe9 -> UNDEFINED
+ u'\ufffe' # 0xea -> UNDEFINED
+ u'\ufffe' # 0xeb -> UNDEFINED
+ u'\ufffe' # 0xec -> UNDEFINED
+ u'\ufffe' # 0xed -> UNDEFINED
+ u'\xaf' # 0xee -> MACRON
+ u'\xb4' # 0xef -> ACUTE ACCENT
+ u'\xad' # 0xf0 -> SOFT HYPHEN
+ u'\xb1' # 0xf1 -> PLUS-MINUS SIGN
+ u'\u2017' # 0xf2 -> DOUBLE LOW LINE
+ u'\xbe' # 0xf3 -> VULGAR FRACTION THREE QUARTERS
+ u'\xb6' # 0xf4 -> PILCROW SIGN
+ u'\xa7' # 0xf5 -> SECTION SIGN
+ u'\xf7' # 0xf6 -> DIVISION SIGN
+ u'\xb8' # 0xf7 -> CEDILLA
+ u'\xb0' # 0xf8 -> DEGREE SIGN
+ u'\xa8' # 0xf9 -> DIAERESIS
+ u'\xb7' # 0xfa -> MIDDLE DOT
+ u'\xb9' # 0xfb -> SUPERSCRIPT ONE
+ u'\xb3' # 0xfc -> SUPERSCRIPT THREE
+ u'\xb2' # 0xfd -> SUPERSCRIPT TWO
+ u'\u25a0' # 0xfe -> BLACK SQUARE
+ u'\xa0' # 0xff -> NO-BREAK SPACE
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x00a0: 0x00ff, # NO-BREAK SPACE
- 0x00a2: 0x00bd, # CENT SIGN
- 0x00a3: 0x009c, # POUND SIGN
- 0x00a4: 0x00cf, # CURRENCY SIGN
- 0x00a5: 0x00be, # YEN SIGN
- 0x00a6: 0x00dd, # BROKEN BAR
- 0x00a7: 0x00f5, # SECTION SIGN
- 0x00a8: 0x00f9, # DIAERESIS
- 0x00a9: 0x00b8, # COPYRIGHT SIGN
- 0x00ab: 0x00ae, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00aa, # NOT SIGN
- 0x00ad: 0x00f0, # SOFT HYPHEN
- 0x00ae: 0x00a9, # REGISTERED SIGN
- 0x00af: 0x00ee, # MACRON
- 0x00b0: 0x00f8, # DEGREE SIGN
- 0x00b1: 0x00f1, # PLUS-MINUS SIGN
- 0x00b2: 0x00fd, # SUPERSCRIPT TWO
- 0x00b3: 0x00fc, # SUPERSCRIPT THREE
- 0x00b4: 0x00ef, # ACUTE ACCENT
- 0x00b5: 0x00e6, # MICRO SIGN
- 0x00b6: 0x00f4, # PILCROW SIGN
- 0x00b7: 0x00fa, # MIDDLE DOT
- 0x00b8: 0x00f7, # CEDILLA
- 0x00b9: 0x00fb, # SUPERSCRIPT ONE
- 0x00bb: 0x00af, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00ac, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00ab, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00f3, # VULGAR FRACTION THREE QUARTERS
- 0x00d7: 0x009e, # MULTIPLICATION SIGN
- 0x00f7: 0x00f6, # DIVISION SIGN
- 0x05d0: 0x0080, # HEBREW LETTER ALEF
- 0x05d1: 0x0081, # HEBREW LETTER BET
- 0x05d2: 0x0082, # HEBREW LETTER GIMEL
- 0x05d3: 0x0083, # HEBREW LETTER DALET
- 0x05d4: 0x0084, # HEBREW LETTER HE
- 0x05d5: 0x0085, # HEBREW LETTER VAV
- 0x05d6: 0x0086, # HEBREW LETTER ZAYIN
- 0x05d7: 0x0087, # HEBREW LETTER HET
- 0x05d8: 0x0088, # HEBREW LETTER TET
- 0x05d9: 0x0089, # HEBREW LETTER YOD
- 0x05da: 0x008a, # HEBREW LETTER FINAL KAF
- 0x05db: 0x008b, # HEBREW LETTER KAF
- 0x05dc: 0x008c, # HEBREW LETTER LAMED
- 0x05dd: 0x008d, # HEBREW LETTER FINAL MEM
- 0x05de: 0x008e, # HEBREW LETTER MEM
- 0x05df: 0x008f, # HEBREW LETTER FINAL NUN
- 0x05e0: 0x0090, # HEBREW LETTER NUN
- 0x05e1: 0x0091, # HEBREW LETTER SAMEKH
- 0x05e2: 0x0092, # HEBREW LETTER AYIN
- 0x05e3: 0x0093, # HEBREW LETTER FINAL PE
- 0x05e4: 0x0094, # HEBREW LETTER PE
- 0x05e5: 0x0095, # HEBREW LETTER FINAL TSADI
- 0x05e6: 0x0096, # HEBREW LETTER TSADI
- 0x05e7: 0x0097, # HEBREW LETTER QOF
- 0x05e8: 0x0098, # HEBREW LETTER RESH
- 0x05e9: 0x0099, # HEBREW LETTER SHIN
- 0x05ea: 0x009a, # HEBREW LETTER TAV
- 0x2017: 0x00f2, # DOUBLE LOW LINE
- 0x2500: 0x00c4, # BOX DRAWINGS LIGHT HORIZONTAL
- 0x2502: 0x00b3, # BOX DRAWINGS LIGHT VERTICAL
- 0x250c: 0x00da, # BOX DRAWINGS LIGHT DOWN AND RIGHT
- 0x2510: 0x00bf, # BOX DRAWINGS LIGHT DOWN AND LEFT
- 0x2514: 0x00c0, # BOX DRAWINGS LIGHT UP AND RIGHT
- 0x2518: 0x00d9, # BOX DRAWINGS LIGHT UP AND LEFT
- 0x251c: 0x00c3, # BOX DRAWINGS LIGHT VERTICAL AND RIGHT
- 0x2524: 0x00b4, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
- 0x252c: 0x00c2, # BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
- 0x2534: 0x00c1, # BOX DRAWINGS LIGHT UP AND HORIZONTAL
- 0x253c: 0x00c5, # BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
- 0x2550: 0x00cd, # BOX DRAWINGS DOUBLE HORIZONTAL
- 0x2551: 0x00ba, # BOX DRAWINGS DOUBLE VERTICAL
- 0x2554: 0x00c9, # BOX DRAWINGS DOUBLE DOWN AND RIGHT
- 0x2557: 0x00bb, # BOX DRAWINGS DOUBLE DOWN AND LEFT
- 0x255a: 0x00c8, # BOX DRAWINGS DOUBLE UP AND RIGHT
- 0x255d: 0x00bc, # BOX DRAWINGS DOUBLE UP AND LEFT
- 0x2560: 0x00cc, # BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
- 0x2563: 0x00b9, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
- 0x2566: 0x00cb, # BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
- 0x2569: 0x00ca, # BOX DRAWINGS DOUBLE UP AND HORIZONTAL
- 0x256c: 0x00ce, # BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
- 0x2580: 0x00df, # UPPER HALF BLOCK
- 0x2584: 0x00dc, # LOWER HALF BLOCK
- 0x2588: 0x00db, # FULL BLOCK
- 0x2591: 0x00b0, # LIGHT SHADE
- 0x2592: 0x00b1, # MEDIUM SHADE
- 0x2593: 0x00b2, # DARK SHADE
- 0x25a0: 0x00fe, # BLACK SQUARE
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0xff, # NO-BREAK SPACE
+ 0x00a2: 0xbd, # CENT SIGN
+ 0x00a3: 0x9c, # POUND SIGN
+ 0x00a4: 0xcf, # CURRENCY SIGN
+ 0x00a5: 0xbe, # YEN SIGN
+ 0x00a6: 0xdd, # BROKEN BAR
+ 0x00a7: 0xf5, # SECTION SIGN
+ 0x00a8: 0xf9, # DIAERESIS
+ 0x00a9: 0xb8, # COPYRIGHT SIGN
+ 0x00ab: 0xae, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xaa, # NOT SIGN
+ 0x00ad: 0xf0, # SOFT HYPHEN
+ 0x00ae: 0xa9, # REGISTERED SIGN
+ 0x00af: 0xee, # MACRON
+ 0x00b0: 0xf8, # DEGREE SIGN
+ 0x00b1: 0xf1, # PLUS-MINUS SIGN
+ 0x00b2: 0xfd, # SUPERSCRIPT TWO
+ 0x00b3: 0xfc, # SUPERSCRIPT THREE
+ 0x00b4: 0xef, # ACUTE ACCENT
+ 0x00b5: 0xe6, # MICRO SIGN
+ 0x00b6: 0xf4, # PILCROW SIGN
+ 0x00b7: 0xfa, # MIDDLE DOT
+ 0x00b8: 0xf7, # CEDILLA
+ 0x00b9: 0xfb, # SUPERSCRIPT ONE
+ 0x00bb: 0xaf, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xac, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xab, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xf3, # VULGAR FRACTION THREE QUARTERS
+ 0x00d7: 0x9e, # MULTIPLICATION SIGN
+ 0x00f7: 0xf6, # DIVISION SIGN
+ 0x05d0: 0x80, # HEBREW LETTER ALEF
+ 0x05d1: 0x81, # HEBREW LETTER BET
+ 0x05d2: 0x82, # HEBREW LETTER GIMEL
+ 0x05d3: 0x83, # HEBREW LETTER DALET
+ 0x05d4: 0x84, # HEBREW LETTER HE
+ 0x05d5: 0x85, # HEBREW LETTER VAV
+ 0x05d6: 0x86, # HEBREW LETTER ZAYIN
+ 0x05d7: 0x87, # HEBREW LETTER HET
+ 0x05d8: 0x88, # HEBREW LETTER TET
+ 0x05d9: 0x89, # HEBREW LETTER YOD
+ 0x05da: 0x8a, # HEBREW LETTER FINAL KAF
+ 0x05db: 0x8b, # HEBREW LETTER KAF
+ 0x05dc: 0x8c, # HEBREW LETTER LAMED
+ 0x05dd: 0x8d, # HEBREW LETTER FINAL MEM
+ 0x05de: 0x8e, # HEBREW LETTER MEM
+ 0x05df: 0x8f, # HEBREW LETTER FINAL NUN
+ 0x05e0: 0x90, # HEBREW LETTER NUN
+ 0x05e1: 0x91, # HEBREW LETTER SAMEKH
+ 0x05e2: 0x92, # HEBREW LETTER AYIN
+ 0x05e3: 0x93, # HEBREW LETTER FINAL PE
+ 0x05e4: 0x94, # HEBREW LETTER PE
+ 0x05e5: 0x95, # HEBREW LETTER FINAL TSADI
+ 0x05e6: 0x96, # HEBREW LETTER TSADI
+ 0x05e7: 0x97, # HEBREW LETTER QOF
+ 0x05e8: 0x98, # HEBREW LETTER RESH
+ 0x05e9: 0x99, # HEBREW LETTER SHIN
+ 0x05ea: 0x9a, # HEBREW LETTER TAV
+ 0x2017: 0xf2, # DOUBLE LOW LINE
+ 0x2500: 0xc4, # BOX DRAWINGS LIGHT HORIZONTAL
+ 0x2502: 0xb3, # BOX DRAWINGS LIGHT VERTICAL
+ 0x250c: 0xda, # BOX DRAWINGS LIGHT DOWN AND RIGHT
+ 0x2510: 0xbf, # BOX DRAWINGS LIGHT DOWN AND LEFT
+ 0x2514: 0xc0, # BOX DRAWINGS LIGHT UP AND RIGHT
+ 0x2518: 0xd9, # BOX DRAWINGS LIGHT UP AND LEFT
+ 0x251c: 0xc3, # BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+ 0x2524: 0xb4, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
+ 0x252c: 0xc2, # BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+ 0x2534: 0xc1, # BOX DRAWINGS LIGHT UP AND HORIZONTAL
+ 0x253c: 0xc5, # BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+ 0x2550: 0xcd, # BOX DRAWINGS DOUBLE HORIZONTAL
+ 0x2551: 0xba, # BOX DRAWINGS DOUBLE VERTICAL
+ 0x2554: 0xc9, # BOX DRAWINGS DOUBLE DOWN AND RIGHT
+ 0x2557: 0xbb, # BOX DRAWINGS DOUBLE DOWN AND LEFT
+ 0x255a: 0xc8, # BOX DRAWINGS DOUBLE UP AND RIGHT
+ 0x255d: 0xbc, # BOX DRAWINGS DOUBLE UP AND LEFT
+ 0x2560: 0xcc, # BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+ 0x2563: 0xb9, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+ 0x2566: 0xcb, # BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+ 0x2569: 0xca, # BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+ 0x256c: 0xce, # BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+ 0x2580: 0xdf, # UPPER HALF BLOCK
+ 0x2584: 0xdc, # LOWER HALF BLOCK
+ 0x2588: 0xdb, # FULL BLOCK
+ 0x2591: 0xb0, # LIGHT SHADE
+ 0x2592: 0xb1, # MEDIUM SHADE
+ 0x2593: 0xb2, # DARK SHADE
+ 0x25a0: 0xfe, # BLACK SQUARE
} \ No newline at end of file
diff --git a/Lib/encodings/cp874.py b/Lib/encodings/cp874.py
index b703cbee2a9..e7348d061a0 100644
--- a/Lib/encodings/cp874.py
+++ b/Lib/encodings/cp874.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/WINDOWS/CP874.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP874.TXT' with gencodec.py.
"""#"
@@ -28,626 +28,494 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x20ac, # EURO SIGN
- 0x0081: None, # UNDEFINED
- 0x0082: None, # UNDEFINED
- 0x0083: None, # UNDEFINED
- 0x0084: None, # UNDEFINED
- 0x0085: 0x2026, # HORIZONTAL ELLIPSIS
- 0x0086: None, # UNDEFINED
- 0x0087: None, # UNDEFINED
- 0x0088: None, # UNDEFINED
- 0x0089: None, # UNDEFINED
- 0x008a: None, # UNDEFINED
- 0x008b: None, # UNDEFINED
- 0x008c: None, # UNDEFINED
- 0x008d: None, # UNDEFINED
- 0x008e: None, # UNDEFINED
- 0x008f: None, # UNDEFINED
- 0x0090: None, # UNDEFINED
- 0x0091: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x0092: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x0093: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x0094: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x0095: 0x2022, # BULLET
- 0x0096: 0x2013, # EN DASH
- 0x0097: 0x2014, # EM DASH
- 0x0098: None, # UNDEFINED
- 0x0099: None, # UNDEFINED
- 0x009a: None, # UNDEFINED
- 0x009b: None, # UNDEFINED
- 0x009c: None, # UNDEFINED
- 0x009d: None, # UNDEFINED
- 0x009e: None, # UNDEFINED
- 0x009f: None, # UNDEFINED
- 0x00a1: 0x0e01, # THAI CHARACTER KO KAI
- 0x00a2: 0x0e02, # THAI CHARACTER KHO KHAI
- 0x00a3: 0x0e03, # THAI CHARACTER KHO KHUAT
- 0x00a4: 0x0e04, # THAI CHARACTER KHO KHWAI
- 0x00a5: 0x0e05, # THAI CHARACTER KHO KHON
- 0x00a6: 0x0e06, # THAI CHARACTER KHO RAKHANG
- 0x00a7: 0x0e07, # THAI CHARACTER NGO NGU
- 0x00a8: 0x0e08, # THAI CHARACTER CHO CHAN
- 0x00a9: 0x0e09, # THAI CHARACTER CHO CHING
- 0x00aa: 0x0e0a, # THAI CHARACTER CHO CHANG
- 0x00ab: 0x0e0b, # THAI CHARACTER SO SO
- 0x00ac: 0x0e0c, # THAI CHARACTER CHO CHOE
- 0x00ad: 0x0e0d, # THAI CHARACTER YO YING
- 0x00ae: 0x0e0e, # THAI CHARACTER DO CHADA
- 0x00af: 0x0e0f, # THAI CHARACTER TO PATAK
- 0x00b0: 0x0e10, # THAI CHARACTER THO THAN
- 0x00b1: 0x0e11, # THAI CHARACTER THO NANGMONTHO
- 0x00b2: 0x0e12, # THAI CHARACTER THO PHUTHAO
- 0x00b3: 0x0e13, # THAI CHARACTER NO NEN
- 0x00b4: 0x0e14, # THAI CHARACTER DO DEK
- 0x00b5: 0x0e15, # THAI CHARACTER TO TAO
- 0x00b6: 0x0e16, # THAI CHARACTER THO THUNG
- 0x00b7: 0x0e17, # THAI CHARACTER THO THAHAN
- 0x00b8: 0x0e18, # THAI CHARACTER THO THONG
- 0x00b9: 0x0e19, # THAI CHARACTER NO NU
- 0x00ba: 0x0e1a, # THAI CHARACTER BO BAIMAI
- 0x00bb: 0x0e1b, # THAI CHARACTER PO PLA
- 0x00bc: 0x0e1c, # THAI CHARACTER PHO PHUNG
- 0x00bd: 0x0e1d, # THAI CHARACTER FO FA
- 0x00be: 0x0e1e, # THAI CHARACTER PHO PHAN
- 0x00bf: 0x0e1f, # THAI CHARACTER FO FAN
- 0x00c0: 0x0e20, # THAI CHARACTER PHO SAMPHAO
- 0x00c1: 0x0e21, # THAI CHARACTER MO MA
- 0x00c2: 0x0e22, # THAI CHARACTER YO YAK
- 0x00c3: 0x0e23, # THAI CHARACTER RO RUA
- 0x00c4: 0x0e24, # THAI CHARACTER RU
- 0x00c5: 0x0e25, # THAI CHARACTER LO LING
- 0x00c6: 0x0e26, # THAI CHARACTER LU
- 0x00c7: 0x0e27, # THAI CHARACTER WO WAEN
- 0x00c8: 0x0e28, # THAI CHARACTER SO SALA
- 0x00c9: 0x0e29, # THAI CHARACTER SO RUSI
- 0x00ca: 0x0e2a, # THAI CHARACTER SO SUA
- 0x00cb: 0x0e2b, # THAI CHARACTER HO HIP
- 0x00cc: 0x0e2c, # THAI CHARACTER LO CHULA
- 0x00cd: 0x0e2d, # THAI CHARACTER O ANG
- 0x00ce: 0x0e2e, # THAI CHARACTER HO NOKHUK
- 0x00cf: 0x0e2f, # THAI CHARACTER PAIYANNOI
- 0x00d0: 0x0e30, # THAI CHARACTER SARA A
- 0x00d1: 0x0e31, # THAI CHARACTER MAI HAN-AKAT
- 0x00d2: 0x0e32, # THAI CHARACTER SARA AA
- 0x00d3: 0x0e33, # THAI CHARACTER SARA AM
- 0x00d4: 0x0e34, # THAI CHARACTER SARA I
- 0x00d5: 0x0e35, # THAI CHARACTER SARA II
- 0x00d6: 0x0e36, # THAI CHARACTER SARA UE
- 0x00d7: 0x0e37, # THAI CHARACTER SARA UEE
- 0x00d8: 0x0e38, # THAI CHARACTER SARA U
- 0x00d9: 0x0e39, # THAI CHARACTER SARA UU
- 0x00da: 0x0e3a, # THAI CHARACTER PHINTHU
- 0x00db: None, # UNDEFINED
- 0x00dc: None, # UNDEFINED
- 0x00dd: None, # UNDEFINED
- 0x00de: None, # UNDEFINED
- 0x00df: 0x0e3f, # THAI CURRENCY SYMBOL BAHT
- 0x00e0: 0x0e40, # THAI CHARACTER SARA E
- 0x00e1: 0x0e41, # THAI CHARACTER SARA AE
- 0x00e2: 0x0e42, # THAI CHARACTER SARA O
- 0x00e3: 0x0e43, # THAI CHARACTER SARA AI MAIMUAN
- 0x00e4: 0x0e44, # THAI CHARACTER SARA AI MAIMALAI
- 0x00e5: 0x0e45, # THAI CHARACTER LAKKHANGYAO
- 0x00e6: 0x0e46, # THAI CHARACTER MAIYAMOK
- 0x00e7: 0x0e47, # THAI CHARACTER MAITAIKHU
- 0x00e8: 0x0e48, # THAI CHARACTER MAI EK
- 0x00e9: 0x0e49, # THAI CHARACTER MAI THO
- 0x00ea: 0x0e4a, # THAI CHARACTER MAI TRI
- 0x00eb: 0x0e4b, # THAI CHARACTER MAI CHATTAWA
- 0x00ec: 0x0e4c, # THAI CHARACTER THANTHAKHAT
- 0x00ed: 0x0e4d, # THAI CHARACTER NIKHAHIT
- 0x00ee: 0x0e4e, # THAI CHARACTER YAMAKKAN
- 0x00ef: 0x0e4f, # THAI CHARACTER FONGMAN
- 0x00f0: 0x0e50, # THAI DIGIT ZERO
- 0x00f1: 0x0e51, # THAI DIGIT ONE
- 0x00f2: 0x0e52, # THAI DIGIT TWO
- 0x00f3: 0x0e53, # THAI DIGIT THREE
- 0x00f4: 0x0e54, # THAI DIGIT FOUR
- 0x00f5: 0x0e55, # THAI DIGIT FIVE
- 0x00f6: 0x0e56, # THAI DIGIT SIX
- 0x00f7: 0x0e57, # THAI DIGIT SEVEN
- 0x00f8: 0x0e58, # THAI DIGIT EIGHT
- 0x00f9: 0x0e59, # THAI DIGIT NINE
- 0x00fa: 0x0e5a, # THAI CHARACTER ANGKHANKHU
- 0x00fb: 0x0e5b, # THAI CHARACTER KHOMUT
- 0x00fc: None, # UNDEFINED
- 0x00fd: None, # UNDEFINED
- 0x00fe: None, # UNDEFINED
- 0x00ff: None, # UNDEFINED
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\u20ac' # 0x0080 -> EURO SIGN
- u'\ufffe' # 0x0081 -> UNDEFINED
- u'\ufffe' # 0x0082 -> UNDEFINED
- u'\ufffe' # 0x0083 -> UNDEFINED
- u'\ufffe' # 0x0084 -> UNDEFINED
- u'\u2026' # 0x0085 -> HORIZONTAL ELLIPSIS
- u'\ufffe' # 0x0086 -> UNDEFINED
- u'\ufffe' # 0x0087 -> UNDEFINED
- u'\ufffe' # 0x0088 -> UNDEFINED
- u'\ufffe' # 0x0089 -> UNDEFINED
- u'\ufffe' # 0x008a -> UNDEFINED
- u'\ufffe' # 0x008b -> UNDEFINED
- u'\ufffe' # 0x008c -> UNDEFINED
- u'\ufffe' # 0x008d -> UNDEFINED
- u'\ufffe' # 0x008e -> UNDEFINED
- u'\ufffe' # 0x008f -> UNDEFINED
- u'\ufffe' # 0x0090 -> UNDEFINED
- u'\u2018' # 0x0091 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x0092 -> RIGHT SINGLE QUOTATION MARK
- u'\u201c' # 0x0093 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x0094 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2022' # 0x0095 -> BULLET
- u'\u2013' # 0x0096 -> EN DASH
- u'\u2014' # 0x0097 -> EM DASH
- u'\ufffe' # 0x0098 -> UNDEFINED
- u'\ufffe' # 0x0099 -> UNDEFINED
- u'\ufffe' # 0x009a -> UNDEFINED
- u'\ufffe' # 0x009b -> UNDEFINED
- u'\ufffe' # 0x009c -> UNDEFINED
- u'\ufffe' # 0x009d -> UNDEFINED
- u'\ufffe' # 0x009e -> UNDEFINED
- u'\ufffe' # 0x009f -> UNDEFINED
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u0e01' # 0x00a1 -> THAI CHARACTER KO KAI
- u'\u0e02' # 0x00a2 -> THAI CHARACTER KHO KHAI
- u'\u0e03' # 0x00a3 -> THAI CHARACTER KHO KHUAT
- u'\u0e04' # 0x00a4 -> THAI CHARACTER KHO KHWAI
- u'\u0e05' # 0x00a5 -> THAI CHARACTER KHO KHON
- u'\u0e06' # 0x00a6 -> THAI CHARACTER KHO RAKHANG
- u'\u0e07' # 0x00a7 -> THAI CHARACTER NGO NGU
- u'\u0e08' # 0x00a8 -> THAI CHARACTER CHO CHAN
- u'\u0e09' # 0x00a9 -> THAI CHARACTER CHO CHING
- u'\u0e0a' # 0x00aa -> THAI CHARACTER CHO CHANG
- u'\u0e0b' # 0x00ab -> THAI CHARACTER SO SO
- u'\u0e0c' # 0x00ac -> THAI CHARACTER CHO CHOE
- u'\u0e0d' # 0x00ad -> THAI CHARACTER YO YING
- u'\u0e0e' # 0x00ae -> THAI CHARACTER DO CHADA
- u'\u0e0f' # 0x00af -> THAI CHARACTER TO PATAK
- u'\u0e10' # 0x00b0 -> THAI CHARACTER THO THAN
- u'\u0e11' # 0x00b1 -> THAI CHARACTER THO NANGMONTHO
- u'\u0e12' # 0x00b2 -> THAI CHARACTER THO PHUTHAO
- u'\u0e13' # 0x00b3 -> THAI CHARACTER NO NEN
- u'\u0e14' # 0x00b4 -> THAI CHARACTER DO DEK
- u'\u0e15' # 0x00b5 -> THAI CHARACTER TO TAO
- u'\u0e16' # 0x00b6 -> THAI CHARACTER THO THUNG
- u'\u0e17' # 0x00b7 -> THAI CHARACTER THO THAHAN
- u'\u0e18' # 0x00b8 -> THAI CHARACTER THO THONG
- u'\u0e19' # 0x00b9 -> THAI CHARACTER NO NU
- u'\u0e1a' # 0x00ba -> THAI CHARACTER BO BAIMAI
- u'\u0e1b' # 0x00bb -> THAI CHARACTER PO PLA
- u'\u0e1c' # 0x00bc -> THAI CHARACTER PHO PHUNG
- u'\u0e1d' # 0x00bd -> THAI CHARACTER FO FA
- u'\u0e1e' # 0x00be -> THAI CHARACTER PHO PHAN
- u'\u0e1f' # 0x00bf -> THAI CHARACTER FO FAN
- u'\u0e20' # 0x00c0 -> THAI CHARACTER PHO SAMPHAO
- u'\u0e21' # 0x00c1 -> THAI CHARACTER MO MA
- u'\u0e22' # 0x00c2 -> THAI CHARACTER YO YAK
- u'\u0e23' # 0x00c3 -> THAI CHARACTER RO RUA
- u'\u0e24' # 0x00c4 -> THAI CHARACTER RU
- u'\u0e25' # 0x00c5 -> THAI CHARACTER LO LING
- u'\u0e26' # 0x00c6 -> THAI CHARACTER LU
- u'\u0e27' # 0x00c7 -> THAI CHARACTER WO WAEN
- u'\u0e28' # 0x00c8 -> THAI CHARACTER SO SALA
- u'\u0e29' # 0x00c9 -> THAI CHARACTER SO RUSI
- u'\u0e2a' # 0x00ca -> THAI CHARACTER SO SUA
- u'\u0e2b' # 0x00cb -> THAI CHARACTER HO HIP
- u'\u0e2c' # 0x00cc -> THAI CHARACTER LO CHULA
- u'\u0e2d' # 0x00cd -> THAI CHARACTER O ANG
- u'\u0e2e' # 0x00ce -> THAI CHARACTER HO NOKHUK
- u'\u0e2f' # 0x00cf -> THAI CHARACTER PAIYANNOI
- u'\u0e30' # 0x00d0 -> THAI CHARACTER SARA A
- u'\u0e31' # 0x00d1 -> THAI CHARACTER MAI HAN-AKAT
- u'\u0e32' # 0x00d2 -> THAI CHARACTER SARA AA
- u'\u0e33' # 0x00d3 -> THAI CHARACTER SARA AM
- u'\u0e34' # 0x00d4 -> THAI CHARACTER SARA I
- u'\u0e35' # 0x00d5 -> THAI CHARACTER SARA II
- u'\u0e36' # 0x00d6 -> THAI CHARACTER SARA UE
- u'\u0e37' # 0x00d7 -> THAI CHARACTER SARA UEE
- u'\u0e38' # 0x00d8 -> THAI CHARACTER SARA U
- u'\u0e39' # 0x00d9 -> THAI CHARACTER SARA UU
- u'\u0e3a' # 0x00da -> THAI CHARACTER PHINTHU
- u'\ufffe' # 0x00db -> UNDEFINED
- u'\ufffe' # 0x00dc -> UNDEFINED
- u'\ufffe' # 0x00dd -> UNDEFINED
- u'\ufffe' # 0x00de -> UNDEFINED
- u'\u0e3f' # 0x00df -> THAI CURRENCY SYMBOL BAHT
- u'\u0e40' # 0x00e0 -> THAI CHARACTER SARA E
- u'\u0e41' # 0x00e1 -> THAI CHARACTER SARA AE
- u'\u0e42' # 0x00e2 -> THAI CHARACTER SARA O
- u'\u0e43' # 0x00e3 -> THAI CHARACTER SARA AI MAIMUAN
- u'\u0e44' # 0x00e4 -> THAI CHARACTER SARA AI MAIMALAI
- u'\u0e45' # 0x00e5 -> THAI CHARACTER LAKKHANGYAO
- u'\u0e46' # 0x00e6 -> THAI CHARACTER MAIYAMOK
- u'\u0e47' # 0x00e7 -> THAI CHARACTER MAITAIKHU
- u'\u0e48' # 0x00e8 -> THAI CHARACTER MAI EK
- u'\u0e49' # 0x00e9 -> THAI CHARACTER MAI THO
- u'\u0e4a' # 0x00ea -> THAI CHARACTER MAI TRI
- u'\u0e4b' # 0x00eb -> THAI CHARACTER MAI CHATTAWA
- u'\u0e4c' # 0x00ec -> THAI CHARACTER THANTHAKHAT
- u'\u0e4d' # 0x00ed -> THAI CHARACTER NIKHAHIT
- u'\u0e4e' # 0x00ee -> THAI CHARACTER YAMAKKAN
- u'\u0e4f' # 0x00ef -> THAI CHARACTER FONGMAN
- u'\u0e50' # 0x00f0 -> THAI DIGIT ZERO
- u'\u0e51' # 0x00f1 -> THAI DIGIT ONE
- u'\u0e52' # 0x00f2 -> THAI DIGIT TWO
- u'\u0e53' # 0x00f3 -> THAI DIGIT THREE
- u'\u0e54' # 0x00f4 -> THAI DIGIT FOUR
- u'\u0e55' # 0x00f5 -> THAI DIGIT FIVE
- u'\u0e56' # 0x00f6 -> THAI DIGIT SIX
- u'\u0e57' # 0x00f7 -> THAI DIGIT SEVEN
- u'\u0e58' # 0x00f8 -> THAI DIGIT EIGHT
- u'\u0e59' # 0x00f9 -> THAI DIGIT NINE
- u'\u0e5a' # 0x00fa -> THAI CHARACTER ANGKHANKHU
- u'\u0e5b' # 0x00fb -> THAI CHARACTER KHOMUT
- u'\ufffe' # 0x00fc -> UNDEFINED
- u'\ufffe' # 0x00fd -> UNDEFINED
- u'\ufffe' # 0x00fe -> UNDEFINED
- u'\ufffe' # 0x00ff -> UNDEFINED
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u20ac' # 0x80 -> EURO SIGN
+ u'\ufffe' # 0x81 -> UNDEFINED
+ u'\ufffe' # 0x82 -> UNDEFINED
+ u'\ufffe' # 0x83 -> UNDEFINED
+ u'\ufffe' # 0x84 -> UNDEFINED
+ u'\u2026' # 0x85 -> HORIZONTAL ELLIPSIS
+ u'\ufffe' # 0x86 -> UNDEFINED
+ u'\ufffe' # 0x87 -> UNDEFINED
+ u'\ufffe' # 0x88 -> UNDEFINED
+ u'\ufffe' # 0x89 -> UNDEFINED
+ u'\ufffe' # 0x8a -> UNDEFINED
+ u'\ufffe' # 0x8b -> UNDEFINED
+ u'\ufffe' # 0x8c -> UNDEFINED
+ u'\ufffe' # 0x8d -> UNDEFINED
+ u'\ufffe' # 0x8e -> UNDEFINED
+ u'\ufffe' # 0x8f -> UNDEFINED
+ u'\ufffe' # 0x90 -> UNDEFINED
+ u'\u2018' # 0x91 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0x92 -> RIGHT SINGLE QUOTATION MARK
+ u'\u201c' # 0x93 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0x94 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2022' # 0x95 -> BULLET
+ u'\u2013' # 0x96 -> EN DASH
+ u'\u2014' # 0x97 -> EM DASH
+ u'\ufffe' # 0x98 -> UNDEFINED
+ u'\ufffe' # 0x99 -> UNDEFINED
+ u'\ufffe' # 0x9a -> UNDEFINED
+ u'\ufffe' # 0x9b -> UNDEFINED
+ u'\ufffe' # 0x9c -> UNDEFINED
+ u'\ufffe' # 0x9d -> UNDEFINED
+ u'\ufffe' # 0x9e -> UNDEFINED
+ u'\ufffe' # 0x9f -> UNDEFINED
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u0e01' # 0xa1 -> THAI CHARACTER KO KAI
+ u'\u0e02' # 0xa2 -> THAI CHARACTER KHO KHAI
+ u'\u0e03' # 0xa3 -> THAI CHARACTER KHO KHUAT
+ u'\u0e04' # 0xa4 -> THAI CHARACTER KHO KHWAI
+ u'\u0e05' # 0xa5 -> THAI CHARACTER KHO KHON
+ u'\u0e06' # 0xa6 -> THAI CHARACTER KHO RAKHANG
+ u'\u0e07' # 0xa7 -> THAI CHARACTER NGO NGU
+ u'\u0e08' # 0xa8 -> THAI CHARACTER CHO CHAN
+ u'\u0e09' # 0xa9 -> THAI CHARACTER CHO CHING
+ u'\u0e0a' # 0xaa -> THAI CHARACTER CHO CHANG
+ u'\u0e0b' # 0xab -> THAI CHARACTER SO SO
+ u'\u0e0c' # 0xac -> THAI CHARACTER CHO CHOE
+ u'\u0e0d' # 0xad -> THAI CHARACTER YO YING
+ u'\u0e0e' # 0xae -> THAI CHARACTER DO CHADA
+ u'\u0e0f' # 0xaf -> THAI CHARACTER TO PATAK
+ u'\u0e10' # 0xb0 -> THAI CHARACTER THO THAN
+ u'\u0e11' # 0xb1 -> THAI CHARACTER THO NANGMONTHO
+ u'\u0e12' # 0xb2 -> THAI CHARACTER THO PHUTHAO
+ u'\u0e13' # 0xb3 -> THAI CHARACTER NO NEN
+ u'\u0e14' # 0xb4 -> THAI CHARACTER DO DEK
+ u'\u0e15' # 0xb5 -> THAI CHARACTER TO TAO
+ u'\u0e16' # 0xb6 -> THAI CHARACTER THO THUNG
+ u'\u0e17' # 0xb7 -> THAI CHARACTER THO THAHAN
+ u'\u0e18' # 0xb8 -> THAI CHARACTER THO THONG
+ u'\u0e19' # 0xb9 -> THAI CHARACTER NO NU
+ u'\u0e1a' # 0xba -> THAI CHARACTER BO BAIMAI
+ u'\u0e1b' # 0xbb -> THAI CHARACTER PO PLA
+ u'\u0e1c' # 0xbc -> THAI CHARACTER PHO PHUNG
+ u'\u0e1d' # 0xbd -> THAI CHARACTER FO FA
+ u'\u0e1e' # 0xbe -> THAI CHARACTER PHO PHAN
+ u'\u0e1f' # 0xbf -> THAI CHARACTER FO FAN
+ u'\u0e20' # 0xc0 -> THAI CHARACTER PHO SAMPHAO
+ u'\u0e21' # 0xc1 -> THAI CHARACTER MO MA
+ u'\u0e22' # 0xc2 -> THAI CHARACTER YO YAK
+ u'\u0e23' # 0xc3 -> THAI CHARACTER RO RUA
+ u'\u0e24' # 0xc4 -> THAI CHARACTER RU
+ u'\u0e25' # 0xc5 -> THAI CHARACTER LO LING
+ u'\u0e26' # 0xc6 -> THAI CHARACTER LU
+ u'\u0e27' # 0xc7 -> THAI CHARACTER WO WAEN
+ u'\u0e28' # 0xc8 -> THAI CHARACTER SO SALA
+ u'\u0e29' # 0xc9 -> THAI CHARACTER SO RUSI
+ u'\u0e2a' # 0xca -> THAI CHARACTER SO SUA
+ u'\u0e2b' # 0xcb -> THAI CHARACTER HO HIP
+ u'\u0e2c' # 0xcc -> THAI CHARACTER LO CHULA
+ u'\u0e2d' # 0xcd -> THAI CHARACTER O ANG
+ u'\u0e2e' # 0xce -> THAI CHARACTER HO NOKHUK
+ u'\u0e2f' # 0xcf -> THAI CHARACTER PAIYANNOI
+ u'\u0e30' # 0xd0 -> THAI CHARACTER SARA A
+ u'\u0e31' # 0xd1 -> THAI CHARACTER MAI HAN-AKAT
+ u'\u0e32' # 0xd2 -> THAI CHARACTER SARA AA
+ u'\u0e33' # 0xd3 -> THAI CHARACTER SARA AM
+ u'\u0e34' # 0xd4 -> THAI CHARACTER SARA I
+ u'\u0e35' # 0xd5 -> THAI CHARACTER SARA II
+ u'\u0e36' # 0xd6 -> THAI CHARACTER SARA UE
+ u'\u0e37' # 0xd7 -> THAI CHARACTER SARA UEE
+ u'\u0e38' # 0xd8 -> THAI CHARACTER SARA U
+ u'\u0e39' # 0xd9 -> THAI CHARACTER SARA UU
+ u'\u0e3a' # 0xda -> THAI CHARACTER PHINTHU
+ u'\ufffe' # 0xdb -> UNDEFINED
+ u'\ufffe' # 0xdc -> UNDEFINED
+ u'\ufffe' # 0xdd -> UNDEFINED
+ u'\ufffe' # 0xde -> UNDEFINED
+ u'\u0e3f' # 0xdf -> THAI CURRENCY SYMBOL BAHT
+ u'\u0e40' # 0xe0 -> THAI CHARACTER SARA E
+ u'\u0e41' # 0xe1 -> THAI CHARACTER SARA AE
+ u'\u0e42' # 0xe2 -> THAI CHARACTER SARA O
+ u'\u0e43' # 0xe3 -> THAI CHARACTER SARA AI MAIMUAN
+ u'\u0e44' # 0xe4 -> THAI CHARACTER SARA AI MAIMALAI
+ u'\u0e45' # 0xe5 -> THAI CHARACTER LAKKHANGYAO
+ u'\u0e46' # 0xe6 -> THAI CHARACTER MAIYAMOK
+ u'\u0e47' # 0xe7 -> THAI CHARACTER MAITAIKHU
+ u'\u0e48' # 0xe8 -> THAI CHARACTER MAI EK
+ u'\u0e49' # 0xe9 -> THAI CHARACTER MAI THO
+ u'\u0e4a' # 0xea -> THAI CHARACTER MAI TRI
+ u'\u0e4b' # 0xeb -> THAI CHARACTER MAI CHATTAWA
+ u'\u0e4c' # 0xec -> THAI CHARACTER THANTHAKHAT
+ u'\u0e4d' # 0xed -> THAI CHARACTER NIKHAHIT
+ u'\u0e4e' # 0xee -> THAI CHARACTER YAMAKKAN
+ u'\u0e4f' # 0xef -> THAI CHARACTER FONGMAN
+ u'\u0e50' # 0xf0 -> THAI DIGIT ZERO
+ u'\u0e51' # 0xf1 -> THAI DIGIT ONE
+ u'\u0e52' # 0xf2 -> THAI DIGIT TWO
+ u'\u0e53' # 0xf3 -> THAI DIGIT THREE
+ u'\u0e54' # 0xf4 -> THAI DIGIT FOUR
+ u'\u0e55' # 0xf5 -> THAI DIGIT FIVE
+ u'\u0e56' # 0xf6 -> THAI DIGIT SIX
+ u'\u0e57' # 0xf7 -> THAI DIGIT SEVEN
+ u'\u0e58' # 0xf8 -> THAI DIGIT EIGHT
+ u'\u0e59' # 0xf9 -> THAI DIGIT NINE
+ u'\u0e5a' # 0xfa -> THAI CHARACTER ANGKHANKHU
+ u'\u0e5b' # 0xfb -> THAI CHARACTER KHOMUT
+ u'\ufffe' # 0xfc -> UNDEFINED
+ u'\ufffe' # 0xfd -> UNDEFINED
+ u'\ufffe' # 0xfe -> UNDEFINED
+ u'\ufffe' # 0xff -> UNDEFINED
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x0e01: 0x00a1, # THAI CHARACTER KO KAI
- 0x0e02: 0x00a2, # THAI CHARACTER KHO KHAI
- 0x0e03: 0x00a3, # THAI CHARACTER KHO KHUAT
- 0x0e04: 0x00a4, # THAI CHARACTER KHO KHWAI
- 0x0e05: 0x00a5, # THAI CHARACTER KHO KHON
- 0x0e06: 0x00a6, # THAI CHARACTER KHO RAKHANG
- 0x0e07: 0x00a7, # THAI CHARACTER NGO NGU
- 0x0e08: 0x00a8, # THAI CHARACTER CHO CHAN
- 0x0e09: 0x00a9, # THAI CHARACTER CHO CHING
- 0x0e0a: 0x00aa, # THAI CHARACTER CHO CHANG
- 0x0e0b: 0x00ab, # THAI CHARACTER SO SO
- 0x0e0c: 0x00ac, # THAI CHARACTER CHO CHOE
- 0x0e0d: 0x00ad, # THAI CHARACTER YO YING
- 0x0e0e: 0x00ae, # THAI CHARACTER DO CHADA
- 0x0e0f: 0x00af, # THAI CHARACTER TO PATAK
- 0x0e10: 0x00b0, # THAI CHARACTER THO THAN
- 0x0e11: 0x00b1, # THAI CHARACTER THO NANGMONTHO
- 0x0e12: 0x00b2, # THAI CHARACTER THO PHUTHAO
- 0x0e13: 0x00b3, # THAI CHARACTER NO NEN
- 0x0e14: 0x00b4, # THAI CHARACTER DO DEK
- 0x0e15: 0x00b5, # THAI CHARACTER TO TAO
- 0x0e16: 0x00b6, # THAI CHARACTER THO THUNG
- 0x0e17: 0x00b7, # THAI CHARACTER THO THAHAN
- 0x0e18: 0x00b8, # THAI CHARACTER THO THONG
- 0x0e19: 0x00b9, # THAI CHARACTER NO NU
- 0x0e1a: 0x00ba, # THAI CHARACTER BO BAIMAI
- 0x0e1b: 0x00bb, # THAI CHARACTER PO PLA
- 0x0e1c: 0x00bc, # THAI CHARACTER PHO PHUNG
- 0x0e1d: 0x00bd, # THAI CHARACTER FO FA
- 0x0e1e: 0x00be, # THAI CHARACTER PHO PHAN
- 0x0e1f: 0x00bf, # THAI CHARACTER FO FAN
- 0x0e20: 0x00c0, # THAI CHARACTER PHO SAMPHAO
- 0x0e21: 0x00c1, # THAI CHARACTER MO MA
- 0x0e22: 0x00c2, # THAI CHARACTER YO YAK
- 0x0e23: 0x00c3, # THAI CHARACTER RO RUA
- 0x0e24: 0x00c4, # THAI CHARACTER RU
- 0x0e25: 0x00c5, # THAI CHARACTER LO LING
- 0x0e26: 0x00c6, # THAI CHARACTER LU
- 0x0e27: 0x00c7, # THAI CHARACTER WO WAEN
- 0x0e28: 0x00c8, # THAI CHARACTER SO SALA
- 0x0e29: 0x00c9, # THAI CHARACTER SO RUSI
- 0x0e2a: 0x00ca, # THAI CHARACTER SO SUA
- 0x0e2b: 0x00cb, # THAI CHARACTER HO HIP
- 0x0e2c: 0x00cc, # THAI CHARACTER LO CHULA
- 0x0e2d: 0x00cd, # THAI CHARACTER O ANG
- 0x0e2e: 0x00ce, # THAI CHARACTER HO NOKHUK
- 0x0e2f: 0x00cf, # THAI CHARACTER PAIYANNOI
- 0x0e30: 0x00d0, # THAI CHARACTER SARA A
- 0x0e31: 0x00d1, # THAI CHARACTER MAI HAN-AKAT
- 0x0e32: 0x00d2, # THAI CHARACTER SARA AA
- 0x0e33: 0x00d3, # THAI CHARACTER SARA AM
- 0x0e34: 0x00d4, # THAI CHARACTER SARA I
- 0x0e35: 0x00d5, # THAI CHARACTER SARA II
- 0x0e36: 0x00d6, # THAI CHARACTER SARA UE
- 0x0e37: 0x00d7, # THAI CHARACTER SARA UEE
- 0x0e38: 0x00d8, # THAI CHARACTER SARA U
- 0x0e39: 0x00d9, # THAI CHARACTER SARA UU
- 0x0e3a: 0x00da, # THAI CHARACTER PHINTHU
- 0x0e3f: 0x00df, # THAI CURRENCY SYMBOL BAHT
- 0x0e40: 0x00e0, # THAI CHARACTER SARA E
- 0x0e41: 0x00e1, # THAI CHARACTER SARA AE
- 0x0e42: 0x00e2, # THAI CHARACTER SARA O
- 0x0e43: 0x00e3, # THAI CHARACTER SARA AI MAIMUAN
- 0x0e44: 0x00e4, # THAI CHARACTER SARA AI MAIMALAI
- 0x0e45: 0x00e5, # THAI CHARACTER LAKKHANGYAO
- 0x0e46: 0x00e6, # THAI CHARACTER MAIYAMOK
- 0x0e47: 0x00e7, # THAI CHARACTER MAITAIKHU
- 0x0e48: 0x00e8, # THAI CHARACTER MAI EK
- 0x0e49: 0x00e9, # THAI CHARACTER MAI THO
- 0x0e4a: 0x00ea, # THAI CHARACTER MAI TRI
- 0x0e4b: 0x00eb, # THAI CHARACTER MAI CHATTAWA
- 0x0e4c: 0x00ec, # THAI CHARACTER THANTHAKHAT
- 0x0e4d: 0x00ed, # THAI CHARACTER NIKHAHIT
- 0x0e4e: 0x00ee, # THAI CHARACTER YAMAKKAN
- 0x0e4f: 0x00ef, # THAI CHARACTER FONGMAN
- 0x0e50: 0x00f0, # THAI DIGIT ZERO
- 0x0e51: 0x00f1, # THAI DIGIT ONE
- 0x0e52: 0x00f2, # THAI DIGIT TWO
- 0x0e53: 0x00f3, # THAI DIGIT THREE
- 0x0e54: 0x00f4, # THAI DIGIT FOUR
- 0x0e55: 0x00f5, # THAI DIGIT FIVE
- 0x0e56: 0x00f6, # THAI DIGIT SIX
- 0x0e57: 0x00f7, # THAI DIGIT SEVEN
- 0x0e58: 0x00f8, # THAI DIGIT EIGHT
- 0x0e59: 0x00f9, # THAI DIGIT NINE
- 0x0e5a: 0x00fa, # THAI CHARACTER ANGKHANKHU
- 0x0e5b: 0x00fb, # THAI CHARACTER KHOMUT
- 0x2013: 0x0096, # EN DASH
- 0x2014: 0x0097, # EM DASH
- 0x2018: 0x0091, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x0092, # RIGHT SINGLE QUOTATION MARK
- 0x201c: 0x0093, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x0094, # RIGHT DOUBLE QUOTATION MARK
- 0x2022: 0x0095, # BULLET
- 0x2026: 0x0085, # HORIZONTAL ELLIPSIS
- 0x20ac: 0x0080, # EURO SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x0e01: 0xa1, # THAI CHARACTER KO KAI
+ 0x0e02: 0xa2, # THAI CHARACTER KHO KHAI
+ 0x0e03: 0xa3, # THAI CHARACTER KHO KHUAT
+ 0x0e04: 0xa4, # THAI CHARACTER KHO KHWAI
+ 0x0e05: 0xa5, # THAI CHARACTER KHO KHON
+ 0x0e06: 0xa6, # THAI CHARACTER KHO RAKHANG
+ 0x0e07: 0xa7, # THAI CHARACTER NGO NGU
+ 0x0e08: 0xa8, # THAI CHARACTER CHO CHAN
+ 0x0e09: 0xa9, # THAI CHARACTER CHO CHING
+ 0x0e0a: 0xaa, # THAI CHARACTER CHO CHANG
+ 0x0e0b: 0xab, # THAI CHARACTER SO SO
+ 0x0e0c: 0xac, # THAI CHARACTER CHO CHOE
+ 0x0e0d: 0xad, # THAI CHARACTER YO YING
+ 0x0e0e: 0xae, # THAI CHARACTER DO CHADA
+ 0x0e0f: 0xaf, # THAI CHARACTER TO PATAK
+ 0x0e10: 0xb0, # THAI CHARACTER THO THAN
+ 0x0e11: 0xb1, # THAI CHARACTER THO NANGMONTHO
+ 0x0e12: 0xb2, # THAI CHARACTER THO PHUTHAO
+ 0x0e13: 0xb3, # THAI CHARACTER NO NEN
+ 0x0e14: 0xb4, # THAI CHARACTER DO DEK
+ 0x0e15: 0xb5, # THAI CHARACTER TO TAO
+ 0x0e16: 0xb6, # THAI CHARACTER THO THUNG
+ 0x0e17: 0xb7, # THAI CHARACTER THO THAHAN
+ 0x0e18: 0xb8, # THAI CHARACTER THO THONG
+ 0x0e19: 0xb9, # THAI CHARACTER NO NU
+ 0x0e1a: 0xba, # THAI CHARACTER BO BAIMAI
+ 0x0e1b: 0xbb, # THAI CHARACTER PO PLA
+ 0x0e1c: 0xbc, # THAI CHARACTER PHO PHUNG
+ 0x0e1d: 0xbd, # THAI CHARACTER FO FA
+ 0x0e1e: 0xbe, # THAI CHARACTER PHO PHAN
+ 0x0e1f: 0xbf, # THAI CHARACTER FO FAN
+ 0x0e20: 0xc0, # THAI CHARACTER PHO SAMPHAO
+ 0x0e21: 0xc1, # THAI CHARACTER MO MA
+ 0x0e22: 0xc2, # THAI CHARACTER YO YAK
+ 0x0e23: 0xc3, # THAI CHARACTER RO RUA
+ 0x0e24: 0xc4, # THAI CHARACTER RU
+ 0x0e25: 0xc5, # THAI CHARACTER LO LING
+ 0x0e26: 0xc6, # THAI CHARACTER LU
+ 0x0e27: 0xc7, # THAI CHARACTER WO WAEN
+ 0x0e28: 0xc8, # THAI CHARACTER SO SALA
+ 0x0e29: 0xc9, # THAI CHARACTER SO RUSI
+ 0x0e2a: 0xca, # THAI CHARACTER SO SUA
+ 0x0e2b: 0xcb, # THAI CHARACTER HO HIP
+ 0x0e2c: 0xcc, # THAI CHARACTER LO CHULA
+ 0x0e2d: 0xcd, # THAI CHARACTER O ANG
+ 0x0e2e: 0xce, # THAI CHARACTER HO NOKHUK
+ 0x0e2f: 0xcf, # THAI CHARACTER PAIYANNOI
+ 0x0e30: 0xd0, # THAI CHARACTER SARA A
+ 0x0e31: 0xd1, # THAI CHARACTER MAI HAN-AKAT
+ 0x0e32: 0xd2, # THAI CHARACTER SARA AA
+ 0x0e33: 0xd3, # THAI CHARACTER SARA AM
+ 0x0e34: 0xd4, # THAI CHARACTER SARA I
+ 0x0e35: 0xd5, # THAI CHARACTER SARA II
+ 0x0e36: 0xd6, # THAI CHARACTER SARA UE
+ 0x0e37: 0xd7, # THAI CHARACTER SARA UEE
+ 0x0e38: 0xd8, # THAI CHARACTER SARA U
+ 0x0e39: 0xd9, # THAI CHARACTER SARA UU
+ 0x0e3a: 0xda, # THAI CHARACTER PHINTHU
+ 0x0e3f: 0xdf, # THAI CURRENCY SYMBOL BAHT
+ 0x0e40: 0xe0, # THAI CHARACTER SARA E
+ 0x0e41: 0xe1, # THAI CHARACTER SARA AE
+ 0x0e42: 0xe2, # THAI CHARACTER SARA O
+ 0x0e43: 0xe3, # THAI CHARACTER SARA AI MAIMUAN
+ 0x0e44: 0xe4, # THAI CHARACTER SARA AI MAIMALAI
+ 0x0e45: 0xe5, # THAI CHARACTER LAKKHANGYAO
+ 0x0e46: 0xe6, # THAI CHARACTER MAIYAMOK
+ 0x0e47: 0xe7, # THAI CHARACTER MAITAIKHU
+ 0x0e48: 0xe8, # THAI CHARACTER MAI EK
+ 0x0e49: 0xe9, # THAI CHARACTER MAI THO
+ 0x0e4a: 0xea, # THAI CHARACTER MAI TRI
+ 0x0e4b: 0xeb, # THAI CHARACTER MAI CHATTAWA
+ 0x0e4c: 0xec, # THAI CHARACTER THANTHAKHAT
+ 0x0e4d: 0xed, # THAI CHARACTER NIKHAHIT
+ 0x0e4e: 0xee, # THAI CHARACTER YAMAKKAN
+ 0x0e4f: 0xef, # THAI CHARACTER FONGMAN
+ 0x0e50: 0xf0, # THAI DIGIT ZERO
+ 0x0e51: 0xf1, # THAI DIGIT ONE
+ 0x0e52: 0xf2, # THAI DIGIT TWO
+ 0x0e53: 0xf3, # THAI DIGIT THREE
+ 0x0e54: 0xf4, # THAI DIGIT FOUR
+ 0x0e55: 0xf5, # THAI DIGIT FIVE
+ 0x0e56: 0xf6, # THAI DIGIT SIX
+ 0x0e57: 0xf7, # THAI DIGIT SEVEN
+ 0x0e58: 0xf8, # THAI DIGIT EIGHT
+ 0x0e59: 0xf9, # THAI DIGIT NINE
+ 0x0e5a: 0xfa, # THAI CHARACTER ANGKHANKHU
+ 0x0e5b: 0xfb, # THAI CHARACTER KHOMUT
+ 0x2013: 0x96, # EN DASH
+ 0x2014: 0x97, # EM DASH
+ 0x2018: 0x91, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0x92, # RIGHT SINGLE QUOTATION MARK
+ 0x201c: 0x93, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0x94, # RIGHT DOUBLE QUOTATION MARK
+ 0x2022: 0x95, # BULLET
+ 0x2026: 0x85, # HORIZONTAL ELLIPSIS
+ 0x20ac: 0x80, # EURO SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/cp875.py b/Lib/encodings/cp875.py
index f262030d751..ce3962b9ad4 100644
--- a/Lib/encodings/cp875.py
+++ b/Lib/encodings/cp875.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/EBCDIC/CP875.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MICSFT/EBCDIC/CP875.TXT' with gencodec.py.
"""#"
@@ -28,761 +28,519 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0004: 0x009c, # CONTROL
- 0x0005: 0x0009, # HORIZONTAL TABULATION
- 0x0006: 0x0086, # CONTROL
- 0x0007: 0x007f, # DELETE
- 0x0008: 0x0097, # CONTROL
- 0x0009: 0x008d, # CONTROL
- 0x000a: 0x008e, # CONTROL
- 0x0014: 0x009d, # CONTROL
- 0x0015: 0x0085, # CONTROL
- 0x0016: 0x0008, # BACKSPACE
- 0x0017: 0x0087, # CONTROL
- 0x001a: 0x0092, # CONTROL
- 0x001b: 0x008f, # CONTROL
- 0x0020: 0x0080, # CONTROL
- 0x0021: 0x0081, # CONTROL
- 0x0022: 0x0082, # CONTROL
- 0x0023: 0x0083, # CONTROL
- 0x0024: 0x0084, # CONTROL
- 0x0025: 0x000a, # LINE FEED
- 0x0026: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0027: 0x001b, # ESCAPE
- 0x0028: 0x0088, # CONTROL
- 0x0029: 0x0089, # CONTROL
- 0x002a: 0x008a, # CONTROL
- 0x002b: 0x008b, # CONTROL
- 0x002c: 0x008c, # CONTROL
- 0x002d: 0x0005, # ENQUIRY
- 0x002e: 0x0006, # ACKNOWLEDGE
- 0x002f: 0x0007, # BELL
- 0x0030: 0x0090, # CONTROL
- 0x0031: 0x0091, # CONTROL
- 0x0032: 0x0016, # SYNCHRONOUS IDLE
- 0x0033: 0x0093, # CONTROL
- 0x0034: 0x0094, # CONTROL
- 0x0035: 0x0095, # CONTROL
- 0x0036: 0x0096, # CONTROL
- 0x0037: 0x0004, # END OF TRANSMISSION
- 0x0038: 0x0098, # CONTROL
- 0x0039: 0x0099, # CONTROL
- 0x003a: 0x009a, # CONTROL
- 0x003b: 0x009b, # CONTROL
- 0x003c: 0x0014, # DEVICE CONTROL FOUR
- 0x003d: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x003e: 0x009e, # CONTROL
- 0x003f: 0x001a, # SUBSTITUTE
- 0x0040: 0x0020, # SPACE
- 0x0041: 0x0391, # GREEK CAPITAL LETTER ALPHA
- 0x0042: 0x0392, # GREEK CAPITAL LETTER BETA
- 0x0043: 0x0393, # GREEK CAPITAL LETTER GAMMA
- 0x0044: 0x0394, # GREEK CAPITAL LETTER DELTA
- 0x0045: 0x0395, # GREEK CAPITAL LETTER EPSILON
- 0x0046: 0x0396, # GREEK CAPITAL LETTER ZETA
- 0x0047: 0x0397, # GREEK CAPITAL LETTER ETA
- 0x0048: 0x0398, # GREEK CAPITAL LETTER THETA
- 0x0049: 0x0399, # GREEK CAPITAL LETTER IOTA
- 0x004a: 0x005b, # LEFT SQUARE BRACKET
- 0x004b: 0x002e, # FULL STOP
- 0x004c: 0x003c, # LESS-THAN SIGN
- 0x004d: 0x0028, # LEFT PARENTHESIS
- 0x004e: 0x002b, # PLUS SIGN
- 0x004f: 0x0021, # EXCLAMATION MARK
- 0x0050: 0x0026, # AMPERSAND
- 0x0051: 0x039a, # GREEK CAPITAL LETTER KAPPA
- 0x0052: 0x039b, # GREEK CAPITAL LETTER LAMDA
- 0x0053: 0x039c, # GREEK CAPITAL LETTER MU
- 0x0054: 0x039d, # GREEK CAPITAL LETTER NU
- 0x0055: 0x039e, # GREEK CAPITAL LETTER XI
- 0x0056: 0x039f, # GREEK CAPITAL LETTER OMICRON
- 0x0057: 0x03a0, # GREEK CAPITAL LETTER PI
- 0x0058: 0x03a1, # GREEK CAPITAL LETTER RHO
- 0x0059: 0x03a3, # GREEK CAPITAL LETTER SIGMA
- 0x005a: 0x005d, # RIGHT SQUARE BRACKET
- 0x005b: 0x0024, # DOLLAR SIGN
- 0x005c: 0x002a, # ASTERISK
- 0x005d: 0x0029, # RIGHT PARENTHESIS
- 0x005e: 0x003b, # SEMICOLON
- 0x005f: 0x005e, # CIRCUMFLEX ACCENT
- 0x0060: 0x002d, # HYPHEN-MINUS
- 0x0061: 0x002f, # SOLIDUS
- 0x0062: 0x03a4, # GREEK CAPITAL LETTER TAU
- 0x0063: 0x03a5, # GREEK CAPITAL LETTER UPSILON
- 0x0064: 0x03a6, # GREEK CAPITAL LETTER PHI
- 0x0065: 0x03a7, # GREEK CAPITAL LETTER CHI
- 0x0066: 0x03a8, # GREEK CAPITAL LETTER PSI
- 0x0067: 0x03a9, # GREEK CAPITAL LETTER OMEGA
- 0x0068: 0x03aa, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- 0x0069: 0x03ab, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
- 0x006a: 0x007c, # VERTICAL LINE
- 0x006b: 0x002c, # COMMA
- 0x006c: 0x0025, # PERCENT SIGN
- 0x006d: 0x005f, # LOW LINE
- 0x006e: 0x003e, # GREATER-THAN SIGN
- 0x006f: 0x003f, # QUESTION MARK
- 0x0070: 0x00a8, # DIAERESIS
- 0x0071: 0x0386, # GREEK CAPITAL LETTER ALPHA WITH TONOS
- 0x0072: 0x0388, # GREEK CAPITAL LETTER EPSILON WITH TONOS
- 0x0073: 0x0389, # GREEK CAPITAL LETTER ETA WITH TONOS
- 0x0074: 0x00a0, # NO-BREAK SPACE
- 0x0075: 0x038a, # GREEK CAPITAL LETTER IOTA WITH TONOS
- 0x0076: 0x038c, # GREEK CAPITAL LETTER OMICRON WITH TONOS
- 0x0077: 0x038e, # GREEK CAPITAL LETTER UPSILON WITH TONOS
- 0x0078: 0x038f, # GREEK CAPITAL LETTER OMEGA WITH TONOS
- 0x0079: 0x0060, # GRAVE ACCENT
- 0x007a: 0x003a, # COLON
- 0x007b: 0x0023, # NUMBER SIGN
- 0x007c: 0x0040, # COMMERCIAL AT
- 0x007d: 0x0027, # APOSTROPHE
- 0x007e: 0x003d, # EQUALS SIGN
- 0x007f: 0x0022, # QUOTATION MARK
- 0x0080: 0x0385, # GREEK DIALYTIKA TONOS
- 0x0081: 0x0061, # LATIN SMALL LETTER A
- 0x0082: 0x0062, # LATIN SMALL LETTER B
- 0x0083: 0x0063, # LATIN SMALL LETTER C
- 0x0084: 0x0064, # LATIN SMALL LETTER D
- 0x0085: 0x0065, # LATIN SMALL LETTER E
- 0x0086: 0x0066, # LATIN SMALL LETTER F
- 0x0087: 0x0067, # LATIN SMALL LETTER G
- 0x0088: 0x0068, # LATIN SMALL LETTER H
- 0x0089: 0x0069, # LATIN SMALL LETTER I
- 0x008a: 0x03b1, # GREEK SMALL LETTER ALPHA
- 0x008b: 0x03b2, # GREEK SMALL LETTER BETA
- 0x008c: 0x03b3, # GREEK SMALL LETTER GAMMA
- 0x008d: 0x03b4, # GREEK SMALL LETTER DELTA
- 0x008e: 0x03b5, # GREEK SMALL LETTER EPSILON
- 0x008f: 0x03b6, # GREEK SMALL LETTER ZETA
- 0x0090: 0x00b0, # DEGREE SIGN
- 0x0091: 0x006a, # LATIN SMALL LETTER J
- 0x0092: 0x006b, # LATIN SMALL LETTER K
- 0x0093: 0x006c, # LATIN SMALL LETTER L
- 0x0094: 0x006d, # LATIN SMALL LETTER M
- 0x0095: 0x006e, # LATIN SMALL LETTER N
- 0x0096: 0x006f, # LATIN SMALL LETTER O
- 0x0097: 0x0070, # LATIN SMALL LETTER P
- 0x0098: 0x0071, # LATIN SMALL LETTER Q
- 0x0099: 0x0072, # LATIN SMALL LETTER R
- 0x009a: 0x03b7, # GREEK SMALL LETTER ETA
- 0x009b: 0x03b8, # GREEK SMALL LETTER THETA
- 0x009c: 0x03b9, # GREEK SMALL LETTER IOTA
- 0x009d: 0x03ba, # GREEK SMALL LETTER KAPPA
- 0x009e: 0x03bb, # GREEK SMALL LETTER LAMDA
- 0x009f: 0x03bc, # GREEK SMALL LETTER MU
- 0x00a0: 0x00b4, # ACUTE ACCENT
- 0x00a1: 0x007e, # TILDE
- 0x00a2: 0x0073, # LATIN SMALL LETTER S
- 0x00a3: 0x0074, # LATIN SMALL LETTER T
- 0x00a4: 0x0075, # LATIN SMALL LETTER U
- 0x00a5: 0x0076, # LATIN SMALL LETTER V
- 0x00a6: 0x0077, # LATIN SMALL LETTER W
- 0x00a7: 0x0078, # LATIN SMALL LETTER X
- 0x00a8: 0x0079, # LATIN SMALL LETTER Y
- 0x00a9: 0x007a, # LATIN SMALL LETTER Z
- 0x00aa: 0x03bd, # GREEK SMALL LETTER NU
- 0x00ab: 0x03be, # GREEK SMALL LETTER XI
- 0x00ac: 0x03bf, # GREEK SMALL LETTER OMICRON
- 0x00ad: 0x03c0, # GREEK SMALL LETTER PI
- 0x00ae: 0x03c1, # GREEK SMALL LETTER RHO
- 0x00af: 0x03c3, # GREEK SMALL LETTER SIGMA
- 0x00b0: 0x00a3, # POUND SIGN
- 0x00b1: 0x03ac, # GREEK SMALL LETTER ALPHA WITH TONOS
- 0x00b2: 0x03ad, # GREEK SMALL LETTER EPSILON WITH TONOS
- 0x00b3: 0x03ae, # GREEK SMALL LETTER ETA WITH TONOS
- 0x00b4: 0x03ca, # GREEK SMALL LETTER IOTA WITH DIALYTIKA
- 0x00b5: 0x03af, # GREEK SMALL LETTER IOTA WITH TONOS
- 0x00b6: 0x03cc, # GREEK SMALL LETTER OMICRON WITH TONOS
- 0x00b7: 0x03cd, # GREEK SMALL LETTER UPSILON WITH TONOS
- 0x00b8: 0x03cb, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- 0x00b9: 0x03ce, # GREEK SMALL LETTER OMEGA WITH TONOS
- 0x00ba: 0x03c2, # GREEK SMALL LETTER FINAL SIGMA
- 0x00bb: 0x03c4, # GREEK SMALL LETTER TAU
- 0x00bc: 0x03c5, # GREEK SMALL LETTER UPSILON
- 0x00bd: 0x03c6, # GREEK SMALL LETTER PHI
- 0x00be: 0x03c7, # GREEK SMALL LETTER CHI
- 0x00bf: 0x03c8, # GREEK SMALL LETTER PSI
- 0x00c0: 0x007b, # LEFT CURLY BRACKET
- 0x00c1: 0x0041, # LATIN CAPITAL LETTER A
- 0x00c2: 0x0042, # LATIN CAPITAL LETTER B
- 0x00c3: 0x0043, # LATIN CAPITAL LETTER C
- 0x00c4: 0x0044, # LATIN CAPITAL LETTER D
- 0x00c5: 0x0045, # LATIN CAPITAL LETTER E
- 0x00c6: 0x0046, # LATIN CAPITAL LETTER F
- 0x00c7: 0x0047, # LATIN CAPITAL LETTER G
- 0x00c8: 0x0048, # LATIN CAPITAL LETTER H
- 0x00c9: 0x0049, # LATIN CAPITAL LETTER I
- 0x00ca: 0x00ad, # SOFT HYPHEN
- 0x00cb: 0x03c9, # GREEK SMALL LETTER OMEGA
- 0x00cc: 0x0390, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
- 0x00cd: 0x03b0, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
- 0x00ce: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x00cf: 0x2015, # HORIZONTAL BAR
- 0x00d0: 0x007d, # RIGHT CURLY BRACKET
- 0x00d1: 0x004a, # LATIN CAPITAL LETTER J
- 0x00d2: 0x004b, # LATIN CAPITAL LETTER K
- 0x00d3: 0x004c, # LATIN CAPITAL LETTER L
- 0x00d4: 0x004d, # LATIN CAPITAL LETTER M
- 0x00d5: 0x004e, # LATIN CAPITAL LETTER N
- 0x00d6: 0x004f, # LATIN CAPITAL LETTER O
- 0x00d7: 0x0050, # LATIN CAPITAL LETTER P
- 0x00d8: 0x0051, # LATIN CAPITAL LETTER Q
- 0x00d9: 0x0052, # LATIN CAPITAL LETTER R
- 0x00da: 0x00b1, # PLUS-MINUS SIGN
- 0x00db: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00dc: 0x001a, # SUBSTITUTE
- 0x00dd: 0x0387, # GREEK ANO TELEIA
- 0x00de: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x00df: 0x00a6, # BROKEN BAR
- 0x00e0: 0x005c, # REVERSE SOLIDUS
- 0x00e1: 0x001a, # SUBSTITUTE
- 0x00e2: 0x0053, # LATIN CAPITAL LETTER S
- 0x00e3: 0x0054, # LATIN CAPITAL LETTER T
- 0x00e4: 0x0055, # LATIN CAPITAL LETTER U
- 0x00e5: 0x0056, # LATIN CAPITAL LETTER V
- 0x00e6: 0x0057, # LATIN CAPITAL LETTER W
- 0x00e7: 0x0058, # LATIN CAPITAL LETTER X
- 0x00e8: 0x0059, # LATIN CAPITAL LETTER Y
- 0x00e9: 0x005a, # LATIN CAPITAL LETTER Z
- 0x00ea: 0x00b2, # SUPERSCRIPT TWO
- 0x00eb: 0x00a7, # SECTION SIGN
- 0x00ec: 0x001a, # SUBSTITUTE
- 0x00ed: 0x001a, # SUBSTITUTE
- 0x00ee: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ef: 0x00ac, # NOT SIGN
- 0x00f0: 0x0030, # DIGIT ZERO
- 0x00f1: 0x0031, # DIGIT ONE
- 0x00f2: 0x0032, # DIGIT TWO
- 0x00f3: 0x0033, # DIGIT THREE
- 0x00f4: 0x0034, # DIGIT FOUR
- 0x00f5: 0x0035, # DIGIT FIVE
- 0x00f6: 0x0036, # DIGIT SIX
- 0x00f7: 0x0037, # DIGIT SEVEN
- 0x00f8: 0x0038, # DIGIT EIGHT
- 0x00f9: 0x0039, # DIGIT NINE
- 0x00fa: 0x00b3, # SUPERSCRIPT THREE
- 0x00fb: 0x00a9, # COPYRIGHT SIGN
- 0x00fc: 0x001a, # SUBSTITUTE
- 0x00fd: 0x001a, # SUBSTITUTE
- 0x00fe: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ff: 0x009f, # CONTROL
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x9c' # 0x0004 -> CONTROL
- u'\t' # 0x0005 -> HORIZONTAL TABULATION
- u'\x86' # 0x0006 -> CONTROL
- u'\x7f' # 0x0007 -> DELETE
- u'\x97' # 0x0008 -> CONTROL
- u'\x8d' # 0x0009 -> CONTROL
- u'\x8e' # 0x000a -> CONTROL
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x9d' # 0x0014 -> CONTROL
- u'\x85' # 0x0015 -> CONTROL
- u'\x08' # 0x0016 -> BACKSPACE
- u'\x87' # 0x0017 -> CONTROL
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x92' # 0x001a -> CONTROL
- u'\x8f' # 0x001b -> CONTROL
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u'\x80' # 0x0020 -> CONTROL
- u'\x81' # 0x0021 -> CONTROL
- u'\x82' # 0x0022 -> CONTROL
- u'\x83' # 0x0023 -> CONTROL
- u'\x84' # 0x0024 -> CONTROL
- u'\n' # 0x0025 -> LINE FEED
- u'\x17' # 0x0026 -> END OF TRANSMISSION BLOCK
- u'\x1b' # 0x0027 -> ESCAPE
- u'\x88' # 0x0028 -> CONTROL
- u'\x89' # 0x0029 -> CONTROL
- u'\x8a' # 0x002a -> CONTROL
- u'\x8b' # 0x002b -> CONTROL
- u'\x8c' # 0x002c -> CONTROL
- u'\x05' # 0x002d -> ENQUIRY
- u'\x06' # 0x002e -> ACKNOWLEDGE
- u'\x07' # 0x002f -> BELL
- u'\x90' # 0x0030 -> CONTROL
- u'\x91' # 0x0031 -> CONTROL
- u'\x16' # 0x0032 -> SYNCHRONOUS IDLE
- u'\x93' # 0x0033 -> CONTROL
- u'\x94' # 0x0034 -> CONTROL
- u'\x95' # 0x0035 -> CONTROL
- u'\x96' # 0x0036 -> CONTROL
- u'\x04' # 0x0037 -> END OF TRANSMISSION
- u'\x98' # 0x0038 -> CONTROL
- u'\x99' # 0x0039 -> CONTROL
- u'\x9a' # 0x003a -> CONTROL
- u'\x9b' # 0x003b -> CONTROL
- u'\x14' # 0x003c -> DEVICE CONTROL FOUR
- u'\x15' # 0x003d -> NEGATIVE ACKNOWLEDGE
- u'\x9e' # 0x003e -> CONTROL
- u'\x1a' # 0x003f -> SUBSTITUTE
- u' ' # 0x0040 -> SPACE
- u'\u0391' # 0x0041 -> GREEK CAPITAL LETTER ALPHA
- u'\u0392' # 0x0042 -> GREEK CAPITAL LETTER BETA
- u'\u0393' # 0x0043 -> GREEK CAPITAL LETTER GAMMA
- u'\u0394' # 0x0044 -> GREEK CAPITAL LETTER DELTA
- u'\u0395' # 0x0045 -> GREEK CAPITAL LETTER EPSILON
- u'\u0396' # 0x0046 -> GREEK CAPITAL LETTER ZETA
- u'\u0397' # 0x0047 -> GREEK CAPITAL LETTER ETA
- u'\u0398' # 0x0048 -> GREEK CAPITAL LETTER THETA
- u'\u0399' # 0x0049 -> GREEK CAPITAL LETTER IOTA
- u'[' # 0x004a -> LEFT SQUARE BRACKET
- u'.' # 0x004b -> FULL STOP
- u'<' # 0x004c -> LESS-THAN SIGN
- u'(' # 0x004d -> LEFT PARENTHESIS
- u'+' # 0x004e -> PLUS SIGN
- u'!' # 0x004f -> EXCLAMATION MARK
- u'&' # 0x0050 -> AMPERSAND
- u'\u039a' # 0x0051 -> GREEK CAPITAL LETTER KAPPA
- u'\u039b' # 0x0052 -> GREEK CAPITAL LETTER LAMDA
- u'\u039c' # 0x0053 -> GREEK CAPITAL LETTER MU
- u'\u039d' # 0x0054 -> GREEK CAPITAL LETTER NU
- u'\u039e' # 0x0055 -> GREEK CAPITAL LETTER XI
- u'\u039f' # 0x0056 -> GREEK CAPITAL LETTER OMICRON
- u'\u03a0' # 0x0057 -> GREEK CAPITAL LETTER PI
- u'\u03a1' # 0x0058 -> GREEK CAPITAL LETTER RHO
- u'\u03a3' # 0x0059 -> GREEK CAPITAL LETTER SIGMA
- u']' # 0x005a -> RIGHT SQUARE BRACKET
- u'$' # 0x005b -> DOLLAR SIGN
- u'*' # 0x005c -> ASTERISK
- u')' # 0x005d -> RIGHT PARENTHESIS
- u';' # 0x005e -> SEMICOLON
- u'^' # 0x005f -> CIRCUMFLEX ACCENT
- u'-' # 0x0060 -> HYPHEN-MINUS
- u'/' # 0x0061 -> SOLIDUS
- u'\u03a4' # 0x0062 -> GREEK CAPITAL LETTER TAU
- u'\u03a5' # 0x0063 -> GREEK CAPITAL LETTER UPSILON
- u'\u03a6' # 0x0064 -> GREEK CAPITAL LETTER PHI
- u'\u03a7' # 0x0065 -> GREEK CAPITAL LETTER CHI
- u'\u03a8' # 0x0066 -> GREEK CAPITAL LETTER PSI
- u'\u03a9' # 0x0067 -> GREEK CAPITAL LETTER OMEGA
- u'\u03aa' # 0x0068 -> GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- u'\u03ab' # 0x0069 -> GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
- u'|' # 0x006a -> VERTICAL LINE
- u',' # 0x006b -> COMMA
- u'%' # 0x006c -> PERCENT SIGN
- u'_' # 0x006d -> LOW LINE
- u'>' # 0x006e -> GREATER-THAN SIGN
- u'?' # 0x006f -> QUESTION MARK
- u'\xa8' # 0x0070 -> DIAERESIS
- u'\u0386' # 0x0071 -> GREEK CAPITAL LETTER ALPHA WITH TONOS
- u'\u0388' # 0x0072 -> GREEK CAPITAL LETTER EPSILON WITH TONOS
- u'\u0389' # 0x0073 -> GREEK CAPITAL LETTER ETA WITH TONOS
- u'\xa0' # 0x0074 -> NO-BREAK SPACE
- u'\u038a' # 0x0075 -> GREEK CAPITAL LETTER IOTA WITH TONOS
- u'\u038c' # 0x0076 -> GREEK CAPITAL LETTER OMICRON WITH TONOS
- u'\u038e' # 0x0077 -> GREEK CAPITAL LETTER UPSILON WITH TONOS
- u'\u038f' # 0x0078 -> GREEK CAPITAL LETTER OMEGA WITH TONOS
- u'`' # 0x0079 -> GRAVE ACCENT
- u':' # 0x007a -> COLON
- u'#' # 0x007b -> NUMBER SIGN
- u'@' # 0x007c -> COMMERCIAL AT
- u"'" # 0x007d -> APOSTROPHE
- u'=' # 0x007e -> EQUALS SIGN
- u'"' # 0x007f -> QUOTATION MARK
- u'\u0385' # 0x0080 -> GREEK DIALYTIKA TONOS
- u'a' # 0x0081 -> LATIN SMALL LETTER A
- u'b' # 0x0082 -> LATIN SMALL LETTER B
- u'c' # 0x0083 -> LATIN SMALL LETTER C
- u'd' # 0x0084 -> LATIN SMALL LETTER D
- u'e' # 0x0085 -> LATIN SMALL LETTER E
- u'f' # 0x0086 -> LATIN SMALL LETTER F
- u'g' # 0x0087 -> LATIN SMALL LETTER G
- u'h' # 0x0088 -> LATIN SMALL LETTER H
- u'i' # 0x0089 -> LATIN SMALL LETTER I
- u'\u03b1' # 0x008a -> GREEK SMALL LETTER ALPHA
- u'\u03b2' # 0x008b -> GREEK SMALL LETTER BETA
- u'\u03b3' # 0x008c -> GREEK SMALL LETTER GAMMA
- u'\u03b4' # 0x008d -> GREEK SMALL LETTER DELTA
- u'\u03b5' # 0x008e -> GREEK SMALL LETTER EPSILON
- u'\u03b6' # 0x008f -> GREEK SMALL LETTER ZETA
- u'\xb0' # 0x0090 -> DEGREE SIGN
- u'j' # 0x0091 -> LATIN SMALL LETTER J
- u'k' # 0x0092 -> LATIN SMALL LETTER K
- u'l' # 0x0093 -> LATIN SMALL LETTER L
- u'm' # 0x0094 -> LATIN SMALL LETTER M
- u'n' # 0x0095 -> LATIN SMALL LETTER N
- u'o' # 0x0096 -> LATIN SMALL LETTER O
- u'p' # 0x0097 -> LATIN SMALL LETTER P
- u'q' # 0x0098 -> LATIN SMALL LETTER Q
- u'r' # 0x0099 -> LATIN SMALL LETTER R
- u'\u03b7' # 0x009a -> GREEK SMALL LETTER ETA
- u'\u03b8' # 0x009b -> GREEK SMALL LETTER THETA
- u'\u03b9' # 0x009c -> GREEK SMALL LETTER IOTA
- u'\u03ba' # 0x009d -> GREEK SMALL LETTER KAPPA
- u'\u03bb' # 0x009e -> GREEK SMALL LETTER LAMDA
- u'\u03bc' # 0x009f -> GREEK SMALL LETTER MU
- u'\xb4' # 0x00a0 -> ACUTE ACCENT
- u'~' # 0x00a1 -> TILDE
- u's' # 0x00a2 -> LATIN SMALL LETTER S
- u't' # 0x00a3 -> LATIN SMALL LETTER T
- u'u' # 0x00a4 -> LATIN SMALL LETTER U
- u'v' # 0x00a5 -> LATIN SMALL LETTER V
- u'w' # 0x00a6 -> LATIN SMALL LETTER W
- u'x' # 0x00a7 -> LATIN SMALL LETTER X
- u'y' # 0x00a8 -> LATIN SMALL LETTER Y
- u'z' # 0x00a9 -> LATIN SMALL LETTER Z
- u'\u03bd' # 0x00aa -> GREEK SMALL LETTER NU
- u'\u03be' # 0x00ab -> GREEK SMALL LETTER XI
- u'\u03bf' # 0x00ac -> GREEK SMALL LETTER OMICRON
- u'\u03c0' # 0x00ad -> GREEK SMALL LETTER PI
- u'\u03c1' # 0x00ae -> GREEK SMALL LETTER RHO
- u'\u03c3' # 0x00af -> GREEK SMALL LETTER SIGMA
- u'\xa3' # 0x00b0 -> POUND SIGN
- u'\u03ac' # 0x00b1 -> GREEK SMALL LETTER ALPHA WITH TONOS
- u'\u03ad' # 0x00b2 -> GREEK SMALL LETTER EPSILON WITH TONOS
- u'\u03ae' # 0x00b3 -> GREEK SMALL LETTER ETA WITH TONOS
- u'\u03ca' # 0x00b4 -> GREEK SMALL LETTER IOTA WITH DIALYTIKA
- u'\u03af' # 0x00b5 -> GREEK SMALL LETTER IOTA WITH TONOS
- u'\u03cc' # 0x00b6 -> GREEK SMALL LETTER OMICRON WITH TONOS
- u'\u03cd' # 0x00b7 -> GREEK SMALL LETTER UPSILON WITH TONOS
- u'\u03cb' # 0x00b8 -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- u'\u03ce' # 0x00b9 -> GREEK SMALL LETTER OMEGA WITH TONOS
- u'\u03c2' # 0x00ba -> GREEK SMALL LETTER FINAL SIGMA
- u'\u03c4' # 0x00bb -> GREEK SMALL LETTER TAU
- u'\u03c5' # 0x00bc -> GREEK SMALL LETTER UPSILON
- u'\u03c6' # 0x00bd -> GREEK SMALL LETTER PHI
- u'\u03c7' # 0x00be -> GREEK SMALL LETTER CHI
- u'\u03c8' # 0x00bf -> GREEK SMALL LETTER PSI
- u'{' # 0x00c0 -> LEFT CURLY BRACKET
- u'A' # 0x00c1 -> LATIN CAPITAL LETTER A
- u'B' # 0x00c2 -> LATIN CAPITAL LETTER B
- u'C' # 0x00c3 -> LATIN CAPITAL LETTER C
- u'D' # 0x00c4 -> LATIN CAPITAL LETTER D
- u'E' # 0x00c5 -> LATIN CAPITAL LETTER E
- u'F' # 0x00c6 -> LATIN CAPITAL LETTER F
- u'G' # 0x00c7 -> LATIN CAPITAL LETTER G
- u'H' # 0x00c8 -> LATIN CAPITAL LETTER H
- u'I' # 0x00c9 -> LATIN CAPITAL LETTER I
- u'\xad' # 0x00ca -> SOFT HYPHEN
- u'\u03c9' # 0x00cb -> GREEK SMALL LETTER OMEGA
- u'\u0390' # 0x00cc -> GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
- u'\u03b0' # 0x00cd -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
- u'\u2018' # 0x00ce -> LEFT SINGLE QUOTATION MARK
- u'\u2015' # 0x00cf -> HORIZONTAL BAR
- u'}' # 0x00d0 -> RIGHT CURLY BRACKET
- u'J' # 0x00d1 -> LATIN CAPITAL LETTER J
- u'K' # 0x00d2 -> LATIN CAPITAL LETTER K
- u'L' # 0x00d3 -> LATIN CAPITAL LETTER L
- u'M' # 0x00d4 -> LATIN CAPITAL LETTER M
- u'N' # 0x00d5 -> LATIN CAPITAL LETTER N
- u'O' # 0x00d6 -> LATIN CAPITAL LETTER O
- u'P' # 0x00d7 -> LATIN CAPITAL LETTER P
- u'Q' # 0x00d8 -> LATIN CAPITAL LETTER Q
- u'R' # 0x00d9 -> LATIN CAPITAL LETTER R
- u'\xb1' # 0x00da -> PLUS-MINUS SIGN
- u'\xbd' # 0x00db -> VULGAR FRACTION ONE HALF
- u'\x1a' # 0x00dc -> SUBSTITUTE
- u'\u0387' # 0x00dd -> GREEK ANO TELEIA
- u'\u2019' # 0x00de -> RIGHT SINGLE QUOTATION MARK
- u'\xa6' # 0x00df -> BROKEN BAR
- u'\\' # 0x00e0 -> REVERSE SOLIDUS
- u'\x1a' # 0x00e1 -> SUBSTITUTE
- u'S' # 0x00e2 -> LATIN CAPITAL LETTER S
- u'T' # 0x00e3 -> LATIN CAPITAL LETTER T
- u'U' # 0x00e4 -> LATIN CAPITAL LETTER U
- u'V' # 0x00e5 -> LATIN CAPITAL LETTER V
- u'W' # 0x00e6 -> LATIN CAPITAL LETTER W
- u'X' # 0x00e7 -> LATIN CAPITAL LETTER X
- u'Y' # 0x00e8 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x00e9 -> LATIN CAPITAL LETTER Z
- u'\xb2' # 0x00ea -> SUPERSCRIPT TWO
- u'\xa7' # 0x00eb -> SECTION SIGN
- u'\x1a' # 0x00ec -> SUBSTITUTE
- u'\x1a' # 0x00ed -> SUBSTITUTE
- u'\xab' # 0x00ee -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ef -> NOT SIGN
- u'0' # 0x00f0 -> DIGIT ZERO
- u'1' # 0x00f1 -> DIGIT ONE
- u'2' # 0x00f2 -> DIGIT TWO
- u'3' # 0x00f3 -> DIGIT THREE
- u'4' # 0x00f4 -> DIGIT FOUR
- u'5' # 0x00f5 -> DIGIT FIVE
- u'6' # 0x00f6 -> DIGIT SIX
- u'7' # 0x00f7 -> DIGIT SEVEN
- u'8' # 0x00f8 -> DIGIT EIGHT
- u'9' # 0x00f9 -> DIGIT NINE
- u'\xb3' # 0x00fa -> SUPERSCRIPT THREE
- u'\xa9' # 0x00fb -> COPYRIGHT SIGN
- u'\x1a' # 0x00fc -> SUBSTITUTE
- u'\x1a' # 0x00fd -> SUBSTITUTE
- u'\xbb' # 0x00fe -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\x9f' # 0x00ff -> CONTROL
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x9c' # 0x04 -> CONTROL
+ u'\t' # 0x05 -> HORIZONTAL TABULATION
+ u'\x86' # 0x06 -> CONTROL
+ u'\x7f' # 0x07 -> DELETE
+ u'\x97' # 0x08 -> CONTROL
+ u'\x8d' # 0x09 -> CONTROL
+ u'\x8e' # 0x0a -> CONTROL
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x9d' # 0x14 -> CONTROL
+ u'\x85' # 0x15 -> CONTROL
+ u'\x08' # 0x16 -> BACKSPACE
+ u'\x87' # 0x17 -> CONTROL
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x92' # 0x1a -> CONTROL
+ u'\x8f' # 0x1b -> CONTROL
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u'\x80' # 0x20 -> CONTROL
+ u'\x81' # 0x21 -> CONTROL
+ u'\x82' # 0x22 -> CONTROL
+ u'\x83' # 0x23 -> CONTROL
+ u'\x84' # 0x24 -> CONTROL
+ u'\n' # 0x25 -> LINE FEED
+ u'\x17' # 0x26 -> END OF TRANSMISSION BLOCK
+ u'\x1b' # 0x27 -> ESCAPE
+ u'\x88' # 0x28 -> CONTROL
+ u'\x89' # 0x29 -> CONTROL
+ u'\x8a' # 0x2a -> CONTROL
+ u'\x8b' # 0x2b -> CONTROL
+ u'\x8c' # 0x2c -> CONTROL
+ u'\x05' # 0x2d -> ENQUIRY
+ u'\x06' # 0x2e -> ACKNOWLEDGE
+ u'\x07' # 0x2f -> BELL
+ u'\x90' # 0x30 -> CONTROL
+ u'\x91' # 0x31 -> CONTROL
+ u'\x16' # 0x32 -> SYNCHRONOUS IDLE
+ u'\x93' # 0x33 -> CONTROL
+ u'\x94' # 0x34 -> CONTROL
+ u'\x95' # 0x35 -> CONTROL
+ u'\x96' # 0x36 -> CONTROL
+ u'\x04' # 0x37 -> END OF TRANSMISSION
+ u'\x98' # 0x38 -> CONTROL
+ u'\x99' # 0x39 -> CONTROL
+ u'\x9a' # 0x3a -> CONTROL
+ u'\x9b' # 0x3b -> CONTROL
+ u'\x14' # 0x3c -> DEVICE CONTROL FOUR
+ u'\x15' # 0x3d -> NEGATIVE ACKNOWLEDGE
+ u'\x9e' # 0x3e -> CONTROL
+ u'\x1a' # 0x3f -> SUBSTITUTE
+ u' ' # 0x40 -> SPACE
+ u'\u0391' # 0x41 -> GREEK CAPITAL LETTER ALPHA
+ u'\u0392' # 0x42 -> GREEK CAPITAL LETTER BETA
+ u'\u0393' # 0x43 -> GREEK CAPITAL LETTER GAMMA
+ u'\u0394' # 0x44 -> GREEK CAPITAL LETTER DELTA
+ u'\u0395' # 0x45 -> GREEK CAPITAL LETTER EPSILON
+ u'\u0396' # 0x46 -> GREEK CAPITAL LETTER ZETA
+ u'\u0397' # 0x47 -> GREEK CAPITAL LETTER ETA
+ u'\u0398' # 0x48 -> GREEK CAPITAL LETTER THETA
+ u'\u0399' # 0x49 -> GREEK CAPITAL LETTER IOTA
+ u'[' # 0x4a -> LEFT SQUARE BRACKET
+ u'.' # 0x4b -> FULL STOP
+ u'<' # 0x4c -> LESS-THAN SIGN
+ u'(' # 0x4d -> LEFT PARENTHESIS
+ u'+' # 0x4e -> PLUS SIGN
+ u'!' # 0x4f -> EXCLAMATION MARK
+ u'&' # 0x50 -> AMPERSAND
+ u'\u039a' # 0x51 -> GREEK CAPITAL LETTER KAPPA
+ u'\u039b' # 0x52 -> GREEK CAPITAL LETTER LAMDA
+ u'\u039c' # 0x53 -> GREEK CAPITAL LETTER MU
+ u'\u039d' # 0x54 -> GREEK CAPITAL LETTER NU
+ u'\u039e' # 0x55 -> GREEK CAPITAL LETTER XI
+ u'\u039f' # 0x56 -> GREEK CAPITAL LETTER OMICRON
+ u'\u03a0' # 0x57 -> GREEK CAPITAL LETTER PI
+ u'\u03a1' # 0x58 -> GREEK CAPITAL LETTER RHO
+ u'\u03a3' # 0x59 -> GREEK CAPITAL LETTER SIGMA
+ u']' # 0x5a -> RIGHT SQUARE BRACKET
+ u'$' # 0x5b -> DOLLAR SIGN
+ u'*' # 0x5c -> ASTERISK
+ u')' # 0x5d -> RIGHT PARENTHESIS
+ u';' # 0x5e -> SEMICOLON
+ u'^' # 0x5f -> CIRCUMFLEX ACCENT
+ u'-' # 0x60 -> HYPHEN-MINUS
+ u'/' # 0x61 -> SOLIDUS
+ u'\u03a4' # 0x62 -> GREEK CAPITAL LETTER TAU
+ u'\u03a5' # 0x63 -> GREEK CAPITAL LETTER UPSILON
+ u'\u03a6' # 0x64 -> GREEK CAPITAL LETTER PHI
+ u'\u03a7' # 0x65 -> GREEK CAPITAL LETTER CHI
+ u'\u03a8' # 0x66 -> GREEK CAPITAL LETTER PSI
+ u'\u03a9' # 0x67 -> GREEK CAPITAL LETTER OMEGA
+ u'\u03aa' # 0x68 -> GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
+ u'\u03ab' # 0x69 -> GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
+ u'|' # 0x6a -> VERTICAL LINE
+ u',' # 0x6b -> COMMA
+ u'%' # 0x6c -> PERCENT SIGN
+ u'_' # 0x6d -> LOW LINE
+ u'>' # 0x6e -> GREATER-THAN SIGN
+ u'?' # 0x6f -> QUESTION MARK
+ u'\xa8' # 0x70 -> DIAERESIS
+ u'\u0386' # 0x71 -> GREEK CAPITAL LETTER ALPHA WITH TONOS
+ u'\u0388' # 0x72 -> GREEK CAPITAL LETTER EPSILON WITH TONOS
+ u'\u0389' # 0x73 -> GREEK CAPITAL LETTER ETA WITH TONOS
+ u'\xa0' # 0x74 -> NO-BREAK SPACE
+ u'\u038a' # 0x75 -> GREEK CAPITAL LETTER IOTA WITH TONOS
+ u'\u038c' # 0x76 -> GREEK CAPITAL LETTER OMICRON WITH TONOS
+ u'\u038e' # 0x77 -> GREEK CAPITAL LETTER UPSILON WITH TONOS
+ u'\u038f' # 0x78 -> GREEK CAPITAL LETTER OMEGA WITH TONOS
+ u'`' # 0x79 -> GRAVE ACCENT
+ u':' # 0x7a -> COLON
+ u'#' # 0x7b -> NUMBER SIGN
+ u'@' # 0x7c -> COMMERCIAL AT
+ u"'" # 0x7d -> APOSTROPHE
+ u'=' # 0x7e -> EQUALS SIGN
+ u'"' # 0x7f -> QUOTATION MARK
+ u'\u0385' # 0x80 -> GREEK DIALYTIKA TONOS
+ u'a' # 0x81 -> LATIN SMALL LETTER A
+ u'b' # 0x82 -> LATIN SMALL LETTER B
+ u'c' # 0x83 -> LATIN SMALL LETTER C
+ u'd' # 0x84 -> LATIN SMALL LETTER D
+ u'e' # 0x85 -> LATIN SMALL LETTER E
+ u'f' # 0x86 -> LATIN SMALL LETTER F
+ u'g' # 0x87 -> LATIN SMALL LETTER G
+ u'h' # 0x88 -> LATIN SMALL LETTER H
+ u'i' # 0x89 -> LATIN SMALL LETTER I
+ u'\u03b1' # 0x8a -> GREEK SMALL LETTER ALPHA
+ u'\u03b2' # 0x8b -> GREEK SMALL LETTER BETA
+ u'\u03b3' # 0x8c -> GREEK SMALL LETTER GAMMA
+ u'\u03b4' # 0x8d -> GREEK SMALL LETTER DELTA
+ u'\u03b5' # 0x8e -> GREEK SMALL LETTER EPSILON
+ u'\u03b6' # 0x8f -> GREEK SMALL LETTER ZETA
+ u'\xb0' # 0x90 -> DEGREE SIGN
+ u'j' # 0x91 -> LATIN SMALL LETTER J
+ u'k' # 0x92 -> LATIN SMALL LETTER K
+ u'l' # 0x93 -> LATIN SMALL LETTER L
+ u'm' # 0x94 -> LATIN SMALL LETTER M
+ u'n' # 0x95 -> LATIN SMALL LETTER N
+ u'o' # 0x96 -> LATIN SMALL LETTER O
+ u'p' # 0x97 -> LATIN SMALL LETTER P
+ u'q' # 0x98 -> LATIN SMALL LETTER Q
+ u'r' # 0x99 -> LATIN SMALL LETTER R
+ u'\u03b7' # 0x9a -> GREEK SMALL LETTER ETA
+ u'\u03b8' # 0x9b -> GREEK SMALL LETTER THETA
+ u'\u03b9' # 0x9c -> GREEK SMALL LETTER IOTA
+ u'\u03ba' # 0x9d -> GREEK SMALL LETTER KAPPA
+ u'\u03bb' # 0x9e -> GREEK SMALL LETTER LAMDA
+ u'\u03bc' # 0x9f -> GREEK SMALL LETTER MU
+ u'\xb4' # 0xa0 -> ACUTE ACCENT
+ u'~' # 0xa1 -> TILDE
+ u's' # 0xa2 -> LATIN SMALL LETTER S
+ u't' # 0xa3 -> LATIN SMALL LETTER T
+ u'u' # 0xa4 -> LATIN SMALL LETTER U
+ u'v' # 0xa5 -> LATIN SMALL LETTER V
+ u'w' # 0xa6 -> LATIN SMALL LETTER W
+ u'x' # 0xa7 -> LATIN SMALL LETTER X
+ u'y' # 0xa8 -> LATIN SMALL LETTER Y
+ u'z' # 0xa9 -> LATIN SMALL LETTER Z
+ u'\u03bd' # 0xaa -> GREEK SMALL LETTER NU
+ u'\u03be' # 0xab -> GREEK SMALL LETTER XI
+ u'\u03bf' # 0xac -> GREEK SMALL LETTER OMICRON
+ u'\u03c0' # 0xad -> GREEK SMALL LETTER PI
+ u'\u03c1' # 0xae -> GREEK SMALL LETTER RHO
+ u'\u03c3' # 0xaf -> GREEK SMALL LETTER SIGMA
+ u'\xa3' # 0xb0 -> POUND SIGN
+ u'\u03ac' # 0xb1 -> GREEK SMALL LETTER ALPHA WITH TONOS
+ u'\u03ad' # 0xb2 -> GREEK SMALL LETTER EPSILON WITH TONOS
+ u'\u03ae' # 0xb3 -> GREEK SMALL LETTER ETA WITH TONOS
+ u'\u03ca' # 0xb4 -> GREEK SMALL LETTER IOTA WITH DIALYTIKA
+ u'\u03af' # 0xb5 -> GREEK SMALL LETTER IOTA WITH TONOS
+ u'\u03cc' # 0xb6 -> GREEK SMALL LETTER OMICRON WITH TONOS
+ u'\u03cd' # 0xb7 -> GREEK SMALL LETTER UPSILON WITH TONOS
+ u'\u03cb' # 0xb8 -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA
+ u'\u03ce' # 0xb9 -> GREEK SMALL LETTER OMEGA WITH TONOS
+ u'\u03c2' # 0xba -> GREEK SMALL LETTER FINAL SIGMA
+ u'\u03c4' # 0xbb -> GREEK SMALL LETTER TAU
+ u'\u03c5' # 0xbc -> GREEK SMALL LETTER UPSILON
+ u'\u03c6' # 0xbd -> GREEK SMALL LETTER PHI
+ u'\u03c7' # 0xbe -> GREEK SMALL LETTER CHI
+ u'\u03c8' # 0xbf -> GREEK SMALL LETTER PSI
+ u'{' # 0xc0 -> LEFT CURLY BRACKET
+ u'A' # 0xc1 -> LATIN CAPITAL LETTER A
+ u'B' # 0xc2 -> LATIN CAPITAL LETTER B
+ u'C' # 0xc3 -> LATIN CAPITAL LETTER C
+ u'D' # 0xc4 -> LATIN CAPITAL LETTER D
+ u'E' # 0xc5 -> LATIN CAPITAL LETTER E
+ u'F' # 0xc6 -> LATIN CAPITAL LETTER F
+ u'G' # 0xc7 -> LATIN CAPITAL LETTER G
+ u'H' # 0xc8 -> LATIN CAPITAL LETTER H
+ u'I' # 0xc9 -> LATIN CAPITAL LETTER I
+ u'\xad' # 0xca -> SOFT HYPHEN
+ u'\u03c9' # 0xcb -> GREEK SMALL LETTER OMEGA
+ u'\u0390' # 0xcc -> GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
+ u'\u03b0' # 0xcd -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
+ u'\u2018' # 0xce -> LEFT SINGLE QUOTATION MARK
+ u'\u2015' # 0xcf -> HORIZONTAL BAR
+ u'}' # 0xd0 -> RIGHT CURLY BRACKET
+ u'J' # 0xd1 -> LATIN CAPITAL LETTER J
+ u'K' # 0xd2 -> LATIN CAPITAL LETTER K
+ u'L' # 0xd3 -> LATIN CAPITAL LETTER L
+ u'M' # 0xd4 -> LATIN CAPITAL LETTER M
+ u'N' # 0xd5 -> LATIN CAPITAL LETTER N
+ u'O' # 0xd6 -> LATIN CAPITAL LETTER O
+ u'P' # 0xd7 -> LATIN CAPITAL LETTER P
+ u'Q' # 0xd8 -> LATIN CAPITAL LETTER Q
+ u'R' # 0xd9 -> LATIN CAPITAL LETTER R
+ u'\xb1' # 0xda -> PLUS-MINUS SIGN
+ u'\xbd' # 0xdb -> VULGAR FRACTION ONE HALF
+ u'\x1a' # 0xdc -> SUBSTITUTE
+ u'\u0387' # 0xdd -> GREEK ANO TELEIA
+ u'\u2019' # 0xde -> RIGHT SINGLE QUOTATION MARK
+ u'\xa6' # 0xdf -> BROKEN BAR
+ u'\\' # 0xe0 -> REVERSE SOLIDUS
+ u'\x1a' # 0xe1 -> SUBSTITUTE
+ u'S' # 0xe2 -> LATIN CAPITAL LETTER S
+ u'T' # 0xe3 -> LATIN CAPITAL LETTER T
+ u'U' # 0xe4 -> LATIN CAPITAL LETTER U
+ u'V' # 0xe5 -> LATIN CAPITAL LETTER V
+ u'W' # 0xe6 -> LATIN CAPITAL LETTER W
+ u'X' # 0xe7 -> LATIN CAPITAL LETTER X
+ u'Y' # 0xe8 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0xe9 -> LATIN CAPITAL LETTER Z
+ u'\xb2' # 0xea -> SUPERSCRIPT TWO
+ u'\xa7' # 0xeb -> SECTION SIGN
+ u'\x1a' # 0xec -> SUBSTITUTE
+ u'\x1a' # 0xed -> SUBSTITUTE
+ u'\xab' # 0xee -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xef -> NOT SIGN
+ u'0' # 0xf0 -> DIGIT ZERO
+ u'1' # 0xf1 -> DIGIT ONE
+ u'2' # 0xf2 -> DIGIT TWO
+ u'3' # 0xf3 -> DIGIT THREE
+ u'4' # 0xf4 -> DIGIT FOUR
+ u'5' # 0xf5 -> DIGIT FIVE
+ u'6' # 0xf6 -> DIGIT SIX
+ u'7' # 0xf7 -> DIGIT SEVEN
+ u'8' # 0xf8 -> DIGIT EIGHT
+ u'9' # 0xf9 -> DIGIT NINE
+ u'\xb3' # 0xfa -> SUPERSCRIPT THREE
+ u'\xa9' # 0xfb -> COPYRIGHT SIGN
+ u'\x1a' # 0xfc -> SUBSTITUTE
+ u'\x1a' # 0xfd -> SUBSTITUTE
+ u'\xbb' # 0xfe -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\x9f' # 0xff -> CONTROL
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0037, # END OF TRANSMISSION
- 0x0005: 0x002d, # ENQUIRY
- 0x0006: 0x002e, # ACKNOWLEDGE
- 0x0007: 0x002f, # BELL
- 0x0008: 0x0016, # BACKSPACE
- 0x0009: 0x0005, # HORIZONTAL TABULATION
- 0x000a: 0x0025, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x003c, # DEVICE CONTROL FOUR
- 0x0015: 0x003d, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0032, # SYNCHRONOUS IDLE
- 0x0017: 0x0026, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x37, # END OF TRANSMISSION
+ 0x0005: 0x2d, # ENQUIRY
+ 0x0006: 0x2e, # ACKNOWLEDGE
+ 0x0007: 0x2f, # BELL
+ 0x0008: 0x16, # BACKSPACE
+ 0x0009: 0x05, # HORIZONTAL TABULATION
+ 0x000a: 0x25, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x3c, # DEVICE CONTROL FOUR
+ 0x0015: 0x3d, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x32, # SYNCHRONOUS IDLE
+ 0x0017: 0x26, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
0x001a: None, # SUBSTITUTE
- 0x001b: 0x0027, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0040, # SPACE
- 0x0021: 0x004f, # EXCLAMATION MARK
- 0x0022: 0x007f, # QUOTATION MARK
- 0x0023: 0x007b, # NUMBER SIGN
- 0x0024: 0x005b, # DOLLAR SIGN
- 0x0025: 0x006c, # PERCENT SIGN
- 0x0026: 0x0050, # AMPERSAND
- 0x0027: 0x007d, # APOSTROPHE
- 0x0028: 0x004d, # LEFT PARENTHESIS
- 0x0029: 0x005d, # RIGHT PARENTHESIS
- 0x002a: 0x005c, # ASTERISK
- 0x002b: 0x004e, # PLUS SIGN
- 0x002c: 0x006b, # COMMA
- 0x002d: 0x0060, # HYPHEN-MINUS
- 0x002e: 0x004b, # FULL STOP
- 0x002f: 0x0061, # SOLIDUS
- 0x0030: 0x00f0, # DIGIT ZERO
- 0x0031: 0x00f1, # DIGIT ONE
- 0x0032: 0x00f2, # DIGIT TWO
- 0x0033: 0x00f3, # DIGIT THREE
- 0x0034: 0x00f4, # DIGIT FOUR
- 0x0035: 0x00f5, # DIGIT FIVE
- 0x0036: 0x00f6, # DIGIT SIX
- 0x0037: 0x00f7, # DIGIT SEVEN
- 0x0038: 0x00f8, # DIGIT EIGHT
- 0x0039: 0x00f9, # DIGIT NINE
- 0x003a: 0x007a, # COLON
- 0x003b: 0x005e, # SEMICOLON
- 0x003c: 0x004c, # LESS-THAN SIGN
- 0x003d: 0x007e, # EQUALS SIGN
- 0x003e: 0x006e, # GREATER-THAN SIGN
- 0x003f: 0x006f, # QUESTION MARK
- 0x0040: 0x007c, # COMMERCIAL AT
- 0x0041: 0x00c1, # LATIN CAPITAL LETTER A
- 0x0042: 0x00c2, # LATIN CAPITAL LETTER B
- 0x0043: 0x00c3, # LATIN CAPITAL LETTER C
- 0x0044: 0x00c4, # LATIN CAPITAL LETTER D
- 0x0045: 0x00c5, # LATIN CAPITAL LETTER E
- 0x0046: 0x00c6, # LATIN CAPITAL LETTER F
- 0x0047: 0x00c7, # LATIN CAPITAL LETTER G
- 0x0048: 0x00c8, # LATIN CAPITAL LETTER H
- 0x0049: 0x00c9, # LATIN CAPITAL LETTER I
- 0x004a: 0x00d1, # LATIN CAPITAL LETTER J
- 0x004b: 0x00d2, # LATIN CAPITAL LETTER K
- 0x004c: 0x00d3, # LATIN CAPITAL LETTER L
- 0x004d: 0x00d4, # LATIN CAPITAL LETTER M
- 0x004e: 0x00d5, # LATIN CAPITAL LETTER N
- 0x004f: 0x00d6, # LATIN CAPITAL LETTER O
- 0x0050: 0x00d7, # LATIN CAPITAL LETTER P
- 0x0051: 0x00d8, # LATIN CAPITAL LETTER Q
- 0x0052: 0x00d9, # LATIN CAPITAL LETTER R
- 0x0053: 0x00e2, # LATIN CAPITAL LETTER S
- 0x0054: 0x00e3, # LATIN CAPITAL LETTER T
- 0x0055: 0x00e4, # LATIN CAPITAL LETTER U
- 0x0056: 0x00e5, # LATIN CAPITAL LETTER V
- 0x0057: 0x00e6, # LATIN CAPITAL LETTER W
- 0x0058: 0x00e7, # LATIN CAPITAL LETTER X
- 0x0059: 0x00e8, # LATIN CAPITAL LETTER Y
- 0x005a: 0x00e9, # LATIN CAPITAL LETTER Z
- 0x005b: 0x004a, # LEFT SQUARE BRACKET
- 0x005c: 0x00e0, # REVERSE SOLIDUS
- 0x005d: 0x005a, # RIGHT SQUARE BRACKET
- 0x005e: 0x005f, # CIRCUMFLEX ACCENT
- 0x005f: 0x006d, # LOW LINE
- 0x0060: 0x0079, # GRAVE ACCENT
- 0x0061: 0x0081, # LATIN SMALL LETTER A
- 0x0062: 0x0082, # LATIN SMALL LETTER B
- 0x0063: 0x0083, # LATIN SMALL LETTER C
- 0x0064: 0x0084, # LATIN SMALL LETTER D
- 0x0065: 0x0085, # LATIN SMALL LETTER E
- 0x0066: 0x0086, # LATIN SMALL LETTER F
- 0x0067: 0x0087, # LATIN SMALL LETTER G
- 0x0068: 0x0088, # LATIN SMALL LETTER H
- 0x0069: 0x0089, # LATIN SMALL LETTER I
- 0x006a: 0x0091, # LATIN SMALL LETTER J
- 0x006b: 0x0092, # LATIN SMALL LETTER K
- 0x006c: 0x0093, # LATIN SMALL LETTER L
- 0x006d: 0x0094, # LATIN SMALL LETTER M
- 0x006e: 0x0095, # LATIN SMALL LETTER N
- 0x006f: 0x0096, # LATIN SMALL LETTER O
- 0x0070: 0x0097, # LATIN SMALL LETTER P
- 0x0071: 0x0098, # LATIN SMALL LETTER Q
- 0x0072: 0x0099, # LATIN SMALL LETTER R
- 0x0073: 0x00a2, # LATIN SMALL LETTER S
- 0x0074: 0x00a3, # LATIN SMALL LETTER T
- 0x0075: 0x00a4, # LATIN SMALL LETTER U
- 0x0076: 0x00a5, # LATIN SMALL LETTER V
- 0x0077: 0x00a6, # LATIN SMALL LETTER W
- 0x0078: 0x00a7, # LATIN SMALL LETTER X
- 0x0079: 0x00a8, # LATIN SMALL LETTER Y
- 0x007a: 0x00a9, # LATIN SMALL LETTER Z
- 0x007b: 0x00c0, # LEFT CURLY BRACKET
- 0x007c: 0x006a, # VERTICAL LINE
- 0x007d: 0x00d0, # RIGHT CURLY BRACKET
- 0x007e: 0x00a1, # TILDE
- 0x007f: 0x0007, # DELETE
- 0x0080: 0x0020, # CONTROL
- 0x0081: 0x0021, # CONTROL
- 0x0082: 0x0022, # CONTROL
- 0x0083: 0x0023, # CONTROL
- 0x0084: 0x0024, # CONTROL
- 0x0085: 0x0015, # CONTROL
- 0x0086: 0x0006, # CONTROL
- 0x0087: 0x0017, # CONTROL
- 0x0088: 0x0028, # CONTROL
- 0x0089: 0x0029, # CONTROL
- 0x008a: 0x002a, # CONTROL
- 0x008b: 0x002b, # CONTROL
- 0x008c: 0x002c, # CONTROL
- 0x008d: 0x0009, # CONTROL
- 0x008e: 0x000a, # CONTROL
- 0x008f: 0x001b, # CONTROL
- 0x0090: 0x0030, # CONTROL
- 0x0091: 0x0031, # CONTROL
- 0x0092: 0x001a, # CONTROL
- 0x0093: 0x0033, # CONTROL
- 0x0094: 0x0034, # CONTROL
- 0x0095: 0x0035, # CONTROL
- 0x0096: 0x0036, # CONTROL
- 0x0097: 0x0008, # CONTROL
- 0x0098: 0x0038, # CONTROL
- 0x0099: 0x0039, # CONTROL
- 0x009a: 0x003a, # CONTROL
- 0x009b: 0x003b, # CONTROL
- 0x009c: 0x0004, # CONTROL
- 0x009d: 0x0014, # CONTROL
- 0x009e: 0x003e, # CONTROL
- 0x009f: 0x00ff, # CONTROL
- 0x00a0: 0x0074, # NO-BREAK SPACE
- 0x00a3: 0x00b0, # POUND SIGN
- 0x00a6: 0x00df, # BROKEN BAR
- 0x00a7: 0x00eb, # SECTION SIGN
- 0x00a8: 0x0070, # DIAERESIS
- 0x00a9: 0x00fb, # COPYRIGHT SIGN
- 0x00ab: 0x00ee, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ef, # NOT SIGN
- 0x00ad: 0x00ca, # SOFT HYPHEN
- 0x00b0: 0x0090, # DEGREE SIGN
- 0x00b1: 0x00da, # PLUS-MINUS SIGN
- 0x00b2: 0x00ea, # SUPERSCRIPT TWO
- 0x00b3: 0x00fa, # SUPERSCRIPT THREE
- 0x00b4: 0x00a0, # ACUTE ACCENT
- 0x00bb: 0x00fe, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bd: 0x00db, # VULGAR FRACTION ONE HALF
- 0x0385: 0x0080, # GREEK DIALYTIKA TONOS
- 0x0386: 0x0071, # GREEK CAPITAL LETTER ALPHA WITH TONOS
- 0x0387: 0x00dd, # GREEK ANO TELEIA
- 0x0388: 0x0072, # GREEK CAPITAL LETTER EPSILON WITH TONOS
- 0x0389: 0x0073, # GREEK CAPITAL LETTER ETA WITH TONOS
- 0x038a: 0x0075, # GREEK CAPITAL LETTER IOTA WITH TONOS
- 0x038c: 0x0076, # GREEK CAPITAL LETTER OMICRON WITH TONOS
- 0x038e: 0x0077, # GREEK CAPITAL LETTER UPSILON WITH TONOS
- 0x038f: 0x0078, # GREEK CAPITAL LETTER OMEGA WITH TONOS
- 0x0390: 0x00cc, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
- 0x0391: 0x0041, # GREEK CAPITAL LETTER ALPHA
- 0x0392: 0x0042, # GREEK CAPITAL LETTER BETA
- 0x0393: 0x0043, # GREEK CAPITAL LETTER GAMMA
- 0x0394: 0x0044, # GREEK CAPITAL LETTER DELTA
- 0x0395: 0x0045, # GREEK CAPITAL LETTER EPSILON
- 0x0396: 0x0046, # GREEK CAPITAL LETTER ZETA
- 0x0397: 0x0047, # GREEK CAPITAL LETTER ETA
- 0x0398: 0x0048, # GREEK CAPITAL LETTER THETA
- 0x0399: 0x0049, # GREEK CAPITAL LETTER IOTA
- 0x039a: 0x0051, # GREEK CAPITAL LETTER KAPPA
- 0x039b: 0x0052, # GREEK CAPITAL LETTER LAMDA
- 0x039c: 0x0053, # GREEK CAPITAL LETTER MU
- 0x039d: 0x0054, # GREEK CAPITAL LETTER NU
- 0x039e: 0x0055, # GREEK CAPITAL LETTER XI
- 0x039f: 0x0056, # GREEK CAPITAL LETTER OMICRON
- 0x03a0: 0x0057, # GREEK CAPITAL LETTER PI
- 0x03a1: 0x0058, # GREEK CAPITAL LETTER RHO
- 0x03a3: 0x0059, # GREEK CAPITAL LETTER SIGMA
- 0x03a4: 0x0062, # GREEK CAPITAL LETTER TAU
- 0x03a5: 0x0063, # GREEK CAPITAL LETTER UPSILON
- 0x03a6: 0x0064, # GREEK CAPITAL LETTER PHI
- 0x03a7: 0x0065, # GREEK CAPITAL LETTER CHI
- 0x03a8: 0x0066, # GREEK CAPITAL LETTER PSI
- 0x03a9: 0x0067, # GREEK CAPITAL LETTER OMEGA
- 0x03aa: 0x0068, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- 0x03ab: 0x0069, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
- 0x03ac: 0x00b1, # GREEK SMALL LETTER ALPHA WITH TONOS
- 0x03ad: 0x00b2, # GREEK SMALL LETTER EPSILON WITH TONOS
- 0x03ae: 0x00b3, # GREEK SMALL LETTER ETA WITH TONOS
- 0x03af: 0x00b5, # GREEK SMALL LETTER IOTA WITH TONOS
- 0x03b0: 0x00cd, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
- 0x03b1: 0x008a, # GREEK SMALL LETTER ALPHA
- 0x03b2: 0x008b, # GREEK SMALL LETTER BETA
- 0x03b3: 0x008c, # GREEK SMALL LETTER GAMMA
- 0x03b4: 0x008d, # GREEK SMALL LETTER DELTA
- 0x03b5: 0x008e, # GREEK SMALL LETTER EPSILON
- 0x03b6: 0x008f, # GREEK SMALL LETTER ZETA
- 0x03b7: 0x009a, # GREEK SMALL LETTER ETA
- 0x03b8: 0x009b, # GREEK SMALL LETTER THETA
- 0x03b9: 0x009c, # GREEK SMALL LETTER IOTA
- 0x03ba: 0x009d, # GREEK SMALL LETTER KAPPA
- 0x03bb: 0x009e, # GREEK SMALL LETTER LAMDA
- 0x03bc: 0x009f, # GREEK SMALL LETTER MU
- 0x03bd: 0x00aa, # GREEK SMALL LETTER NU
- 0x03be: 0x00ab, # GREEK SMALL LETTER XI
- 0x03bf: 0x00ac, # GREEK SMALL LETTER OMICRON
- 0x03c0: 0x00ad, # GREEK SMALL LETTER PI
- 0x03c1: 0x00ae, # GREEK SMALL LETTER RHO
- 0x03c2: 0x00ba, # GREEK SMALL LETTER FINAL SIGMA
- 0x03c3: 0x00af, # GREEK SMALL LETTER SIGMA
- 0x03c4: 0x00bb, # GREEK SMALL LETTER TAU
- 0x03c5: 0x00bc, # GREEK SMALL LETTER UPSILON
- 0x03c6: 0x00bd, # GREEK SMALL LETTER PHI
- 0x03c7: 0x00be, # GREEK SMALL LETTER CHI
- 0x03c8: 0x00bf, # GREEK SMALL LETTER PSI
- 0x03c9: 0x00cb, # GREEK SMALL LETTER OMEGA
- 0x03ca: 0x00b4, # GREEK SMALL LETTER IOTA WITH DIALYTIKA
- 0x03cb: 0x00b8, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- 0x03cc: 0x00b6, # GREEK SMALL LETTER OMICRON WITH TONOS
- 0x03cd: 0x00b7, # GREEK SMALL LETTER UPSILON WITH TONOS
- 0x03ce: 0x00b9, # GREEK SMALL LETTER OMEGA WITH TONOS
- 0x2015: 0x00cf, # HORIZONTAL BAR
- 0x2018: 0x00ce, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x00de, # RIGHT SINGLE QUOTATION MARK
+ 0x001b: 0x27, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x40, # SPACE
+ 0x0021: 0x4f, # EXCLAMATION MARK
+ 0x0022: 0x7f, # QUOTATION MARK
+ 0x0023: 0x7b, # NUMBER SIGN
+ 0x0024: 0x5b, # DOLLAR SIGN
+ 0x0025: 0x6c, # PERCENT SIGN
+ 0x0026: 0x50, # AMPERSAND
+ 0x0027: 0x7d, # APOSTROPHE
+ 0x0028: 0x4d, # LEFT PARENTHESIS
+ 0x0029: 0x5d, # RIGHT PARENTHESIS
+ 0x002a: 0x5c, # ASTERISK
+ 0x002b: 0x4e, # PLUS SIGN
+ 0x002c: 0x6b, # COMMA
+ 0x002d: 0x60, # HYPHEN-MINUS
+ 0x002e: 0x4b, # FULL STOP
+ 0x002f: 0x61, # SOLIDUS
+ 0x0030: 0xf0, # DIGIT ZERO
+ 0x0031: 0xf1, # DIGIT ONE
+ 0x0032: 0xf2, # DIGIT TWO
+ 0x0033: 0xf3, # DIGIT THREE
+ 0x0034: 0xf4, # DIGIT FOUR
+ 0x0035: 0xf5, # DIGIT FIVE
+ 0x0036: 0xf6, # DIGIT SIX
+ 0x0037: 0xf7, # DIGIT SEVEN
+ 0x0038: 0xf8, # DIGIT EIGHT
+ 0x0039: 0xf9, # DIGIT NINE
+ 0x003a: 0x7a, # COLON
+ 0x003b: 0x5e, # SEMICOLON
+ 0x003c: 0x4c, # LESS-THAN SIGN
+ 0x003d: 0x7e, # EQUALS SIGN
+ 0x003e: 0x6e, # GREATER-THAN SIGN
+ 0x003f: 0x6f, # QUESTION MARK
+ 0x0040: 0x7c, # COMMERCIAL AT
+ 0x0041: 0xc1, # LATIN CAPITAL LETTER A
+ 0x0042: 0xc2, # LATIN CAPITAL LETTER B
+ 0x0043: 0xc3, # LATIN CAPITAL LETTER C
+ 0x0044: 0xc4, # LATIN CAPITAL LETTER D
+ 0x0045: 0xc5, # LATIN CAPITAL LETTER E
+ 0x0046: 0xc6, # LATIN CAPITAL LETTER F
+ 0x0047: 0xc7, # LATIN CAPITAL LETTER G
+ 0x0048: 0xc8, # LATIN CAPITAL LETTER H
+ 0x0049: 0xc9, # LATIN CAPITAL LETTER I
+ 0x004a: 0xd1, # LATIN CAPITAL LETTER J
+ 0x004b: 0xd2, # LATIN CAPITAL LETTER K
+ 0x004c: 0xd3, # LATIN CAPITAL LETTER L
+ 0x004d: 0xd4, # LATIN CAPITAL LETTER M
+ 0x004e: 0xd5, # LATIN CAPITAL LETTER N
+ 0x004f: 0xd6, # LATIN CAPITAL LETTER O
+ 0x0050: 0xd7, # LATIN CAPITAL LETTER P
+ 0x0051: 0xd8, # LATIN CAPITAL LETTER Q
+ 0x0052: 0xd9, # LATIN CAPITAL LETTER R
+ 0x0053: 0xe2, # LATIN CAPITAL LETTER S
+ 0x0054: 0xe3, # LATIN CAPITAL LETTER T
+ 0x0055: 0xe4, # LATIN CAPITAL LETTER U
+ 0x0056: 0xe5, # LATIN CAPITAL LETTER V
+ 0x0057: 0xe6, # LATIN CAPITAL LETTER W
+ 0x0058: 0xe7, # LATIN CAPITAL LETTER X
+ 0x0059: 0xe8, # LATIN CAPITAL LETTER Y
+ 0x005a: 0xe9, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x4a, # LEFT SQUARE BRACKET
+ 0x005c: 0xe0, # REVERSE SOLIDUS
+ 0x005d: 0x5a, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5f, # CIRCUMFLEX ACCENT
+ 0x005f: 0x6d, # LOW LINE
+ 0x0060: 0x79, # GRAVE ACCENT
+ 0x0061: 0x81, # LATIN SMALL LETTER A
+ 0x0062: 0x82, # LATIN SMALL LETTER B
+ 0x0063: 0x83, # LATIN SMALL LETTER C
+ 0x0064: 0x84, # LATIN SMALL LETTER D
+ 0x0065: 0x85, # LATIN SMALL LETTER E
+ 0x0066: 0x86, # LATIN SMALL LETTER F
+ 0x0067: 0x87, # LATIN SMALL LETTER G
+ 0x0068: 0x88, # LATIN SMALL LETTER H
+ 0x0069: 0x89, # LATIN SMALL LETTER I
+ 0x006a: 0x91, # LATIN SMALL LETTER J
+ 0x006b: 0x92, # LATIN SMALL LETTER K
+ 0x006c: 0x93, # LATIN SMALL LETTER L
+ 0x006d: 0x94, # LATIN SMALL LETTER M
+ 0x006e: 0x95, # LATIN SMALL LETTER N
+ 0x006f: 0x96, # LATIN SMALL LETTER O
+ 0x0070: 0x97, # LATIN SMALL LETTER P
+ 0x0071: 0x98, # LATIN SMALL LETTER Q
+ 0x0072: 0x99, # LATIN SMALL LETTER R
+ 0x0073: 0xa2, # LATIN SMALL LETTER S
+ 0x0074: 0xa3, # LATIN SMALL LETTER T
+ 0x0075: 0xa4, # LATIN SMALL LETTER U
+ 0x0076: 0xa5, # LATIN SMALL LETTER V
+ 0x0077: 0xa6, # LATIN SMALL LETTER W
+ 0x0078: 0xa7, # LATIN SMALL LETTER X
+ 0x0079: 0xa8, # LATIN SMALL LETTER Y
+ 0x007a: 0xa9, # LATIN SMALL LETTER Z
+ 0x007b: 0xc0, # LEFT CURLY BRACKET
+ 0x007c: 0x6a, # VERTICAL LINE
+ 0x007d: 0xd0, # RIGHT CURLY BRACKET
+ 0x007e: 0xa1, # TILDE
+ 0x007f: 0x07, # DELETE
+ 0x0080: 0x20, # CONTROL
+ 0x0081: 0x21, # CONTROL
+ 0x0082: 0x22, # CONTROL
+ 0x0083: 0x23, # CONTROL
+ 0x0084: 0x24, # CONTROL
+ 0x0085: 0x15, # CONTROL
+ 0x0086: 0x06, # CONTROL
+ 0x0087: 0x17, # CONTROL
+ 0x0088: 0x28, # CONTROL
+ 0x0089: 0x29, # CONTROL
+ 0x008a: 0x2a, # CONTROL
+ 0x008b: 0x2b, # CONTROL
+ 0x008c: 0x2c, # CONTROL
+ 0x008d: 0x09, # CONTROL
+ 0x008e: 0x0a, # CONTROL
+ 0x008f: 0x1b, # CONTROL
+ 0x0090: 0x30, # CONTROL
+ 0x0091: 0x31, # CONTROL
+ 0x0092: 0x1a, # CONTROL
+ 0x0093: 0x33, # CONTROL
+ 0x0094: 0x34, # CONTROL
+ 0x0095: 0x35, # CONTROL
+ 0x0096: 0x36, # CONTROL
+ 0x0097: 0x08, # CONTROL
+ 0x0098: 0x38, # CONTROL
+ 0x0099: 0x39, # CONTROL
+ 0x009a: 0x3a, # CONTROL
+ 0x009b: 0x3b, # CONTROL
+ 0x009c: 0x04, # CONTROL
+ 0x009d: 0x14, # CONTROL
+ 0x009e: 0x3e, # CONTROL
+ 0x009f: 0xff, # CONTROL
+ 0x00a0: 0x74, # NO-BREAK SPACE
+ 0x00a3: 0xb0, # POUND SIGN
+ 0x00a6: 0xdf, # BROKEN BAR
+ 0x00a7: 0xeb, # SECTION SIGN
+ 0x00a8: 0x70, # DIAERESIS
+ 0x00a9: 0xfb, # COPYRIGHT SIGN
+ 0x00ab: 0xee, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xef, # NOT SIGN
+ 0x00ad: 0xca, # SOFT HYPHEN
+ 0x00b0: 0x90, # DEGREE SIGN
+ 0x00b1: 0xda, # PLUS-MINUS SIGN
+ 0x00b2: 0xea, # SUPERSCRIPT TWO
+ 0x00b3: 0xfa, # SUPERSCRIPT THREE
+ 0x00b4: 0xa0, # ACUTE ACCENT
+ 0x00bb: 0xfe, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bd: 0xdb, # VULGAR FRACTION ONE HALF
+ 0x0385: 0x80, # GREEK DIALYTIKA TONOS
+ 0x0386: 0x71, # GREEK CAPITAL LETTER ALPHA WITH TONOS
+ 0x0387: 0xdd, # GREEK ANO TELEIA
+ 0x0388: 0x72, # GREEK CAPITAL LETTER EPSILON WITH TONOS
+ 0x0389: 0x73, # GREEK CAPITAL LETTER ETA WITH TONOS
+ 0x038a: 0x75, # GREEK CAPITAL LETTER IOTA WITH TONOS
+ 0x038c: 0x76, # GREEK CAPITAL LETTER OMICRON WITH TONOS
+ 0x038e: 0x77, # GREEK CAPITAL LETTER UPSILON WITH TONOS
+ 0x038f: 0x78, # GREEK CAPITAL LETTER OMEGA WITH TONOS
+ 0x0390: 0xcc, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
+ 0x0391: 0x41, # GREEK CAPITAL LETTER ALPHA
+ 0x0392: 0x42, # GREEK CAPITAL LETTER BETA
+ 0x0393: 0x43, # GREEK CAPITAL LETTER GAMMA
+ 0x0394: 0x44, # GREEK CAPITAL LETTER DELTA
+ 0x0395: 0x45, # GREEK CAPITAL LETTER EPSILON
+ 0x0396: 0x46, # GREEK CAPITAL LETTER ZETA
+ 0x0397: 0x47, # GREEK CAPITAL LETTER ETA
+ 0x0398: 0x48, # GREEK CAPITAL LETTER THETA
+ 0x0399: 0x49, # GREEK CAPITAL LETTER IOTA
+ 0x039a: 0x51, # GREEK CAPITAL LETTER KAPPA
+ 0x039b: 0x52, # GREEK CAPITAL LETTER LAMDA
+ 0x039c: 0x53, # GREEK CAPITAL LETTER MU
+ 0x039d: 0x54, # GREEK CAPITAL LETTER NU
+ 0x039e: 0x55, # GREEK CAPITAL LETTER XI
+ 0x039f: 0x56, # GREEK CAPITAL LETTER OMICRON
+ 0x03a0: 0x57, # GREEK CAPITAL LETTER PI
+ 0x03a1: 0x58, # GREEK CAPITAL LETTER RHO
+ 0x03a3: 0x59, # GREEK CAPITAL LETTER SIGMA
+ 0x03a4: 0x62, # GREEK CAPITAL LETTER TAU
+ 0x03a5: 0x63, # GREEK CAPITAL LETTER UPSILON
+ 0x03a6: 0x64, # GREEK CAPITAL LETTER PHI
+ 0x03a7: 0x65, # GREEK CAPITAL LETTER CHI
+ 0x03a8: 0x66, # GREEK CAPITAL LETTER PSI
+ 0x03a9: 0x67, # GREEK CAPITAL LETTER OMEGA
+ 0x03aa: 0x68, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
+ 0x03ab: 0x69, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
+ 0x03ac: 0xb1, # GREEK SMALL LETTER ALPHA WITH TONOS
+ 0x03ad: 0xb2, # GREEK SMALL LETTER EPSILON WITH TONOS
+ 0x03ae: 0xb3, # GREEK SMALL LETTER ETA WITH TONOS
+ 0x03af: 0xb5, # GREEK SMALL LETTER IOTA WITH TONOS
+ 0x03b0: 0xcd, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
+ 0x03b1: 0x8a, # GREEK SMALL LETTER ALPHA
+ 0x03b2: 0x8b, # GREEK SMALL LETTER BETA
+ 0x03b3: 0x8c, # GREEK SMALL LETTER GAMMA
+ 0x03b4: 0x8d, # GREEK SMALL LETTER DELTA
+ 0x03b5: 0x8e, # GREEK SMALL LETTER EPSILON
+ 0x03b6: 0x8f, # GREEK SMALL LETTER ZETA
+ 0x03b7: 0x9a, # GREEK SMALL LETTER ETA
+ 0x03b8: 0x9b, # GREEK SMALL LETTER THETA
+ 0x03b9: 0x9c, # GREEK SMALL LETTER IOTA
+ 0x03ba: 0x9d, # GREEK SMALL LETTER KAPPA
+ 0x03bb: 0x9e, # GREEK SMALL LETTER LAMDA
+ 0x03bc: 0x9f, # GREEK SMALL LETTER MU
+ 0x03bd: 0xaa, # GREEK SMALL LETTER NU
+ 0x03be: 0xab, # GREEK SMALL LETTER XI
+ 0x03bf: 0xac, # GREEK SMALL LETTER OMICRON
+ 0x03c0: 0xad, # GREEK SMALL LETTER PI
+ 0x03c1: 0xae, # GREEK SMALL LETTER RHO
+ 0x03c2: 0xba, # GREEK SMALL LETTER FINAL SIGMA
+ 0x03c3: 0xaf, # GREEK SMALL LETTER SIGMA
+ 0x03c4: 0xbb, # GREEK SMALL LETTER TAU
+ 0x03c5: 0xbc, # GREEK SMALL LETTER UPSILON
+ 0x03c6: 0xbd, # GREEK SMALL LETTER PHI
+ 0x03c7: 0xbe, # GREEK SMALL LETTER CHI
+ 0x03c8: 0xbf, # GREEK SMALL LETTER PSI
+ 0x03c9: 0xcb, # GREEK SMALL LETTER OMEGA
+ 0x03ca: 0xb4, # GREEK SMALL LETTER IOTA WITH DIALYTIKA
+ 0x03cb: 0xb8, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA
+ 0x03cc: 0xb6, # GREEK SMALL LETTER OMICRON WITH TONOS
+ 0x03cd: 0xb7, # GREEK SMALL LETTER UPSILON WITH TONOS
+ 0x03ce: 0xb9, # GREEK SMALL LETTER OMEGA WITH TONOS
+ 0x2015: 0xcf, # HORIZONTAL BAR
+ 0x2018: 0xce, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0xde, # RIGHT SINGLE QUOTATION MARK
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_1.py b/Lib/encodings/iso8859_1.py
index bc4c0b853aa..04836d4d066 100644
--- a/Lib/encodings/iso8859_1.py
+++ b/Lib/encodings/iso8859_1.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-1.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-1.TXT' with gencodec.py.
"""#"
@@ -28,530 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\xa1' # 0x00a1 -> INVERTED EXCLAMATION MARK
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\xa5' # 0x00a5 -> YEN SIGN
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\xaa' # 0x00aa -> FEMININE ORDINAL INDICATOR
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\xaf' # 0x00af -> MACRON
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\xb8' # 0x00b8 -> CEDILLA
- u'\xb9' # 0x00b9 -> SUPERSCRIPT ONE
- u'\xba' # 0x00ba -> MASCULINE ORDINAL INDICATOR
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbc' # 0x00bc -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00be -> VULGAR FRACTION THREE QUARTERS
- u'\xbf' # 0x00bf -> INVERTED QUESTION MARK
- u'\xc0' # 0x00c0 -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xc3' # 0x00c3 -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x00c5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc6' # 0x00c6 -> LATIN CAPITAL LETTER AE
- u'\xc7' # 0x00c7 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc8' # 0x00c8 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xca' # 0x00ca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xcc' # 0x00cc -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00cf -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\xd0' # 0x00d0 -> LATIN CAPITAL LETTER ETH (Icelandic)
- u'\xd1' # 0x00d1 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd2' # 0x00d2 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\xd5' # 0x00d5 -> LATIN CAPITAL LETTER O WITH TILDE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\xd8' # 0x00d8 -> LATIN CAPITAL LETTER O WITH STROKE
- u'\xd9' # 0x00d9 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00db -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xdd' # 0x00dd -> LATIN CAPITAL LETTER Y WITH ACUTE
- u'\xde' # 0x00de -> LATIN CAPITAL LETTER THORN (Icelandic)
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S (German)
- u'\xe0' # 0x00e0 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe3' # 0x00e3 -> LATIN SMALL LETTER A WITH TILDE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe5' # 0x00e5 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe6' # 0x00e6 -> LATIN SMALL LETTER AE
- u'\xe7' # 0x00e7 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe8' # 0x00e8 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x00ea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xec' # 0x00ec -> LATIN SMALL LETTER I WITH GRAVE
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x00ef -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xf0' # 0x00f0 -> LATIN SMALL LETTER ETH (Icelandic)
- u'\xf1' # 0x00f1 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf2' # 0x00f2 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf5' # 0x00f5 -> LATIN SMALL LETTER O WITH TILDE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\xf8' # 0x00f8 -> LATIN SMALL LETTER O WITH STROKE
- u'\xf9' # 0x00f9 -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\xfb' # 0x00fb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\xfd' # 0x00fd -> LATIN SMALL LETTER Y WITH ACUTE
- u'\xfe' # 0x00fe -> LATIN SMALL LETTER THORN (Icelandic)
- u'\xff' # 0x00ff -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\xa1' # 0xa1 -> INVERTED EXCLAMATION MARK
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\xa5' # 0xa5 -> YEN SIGN
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\xaa' # 0xaa -> FEMININE ORDINAL INDICATOR
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\xaf' # 0xaf -> MACRON
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\xb8' # 0xb8 -> CEDILLA
+ u'\xb9' # 0xb9 -> SUPERSCRIPT ONE
+ u'\xba' # 0xba -> MASCULINE ORDINAL INDICATOR
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbc' # 0xbc -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xbe -> VULGAR FRACTION THREE QUARTERS
+ u'\xbf' # 0xbf -> INVERTED QUESTION MARK
+ u'\xc0' # 0xc0 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xc3' # 0xc3 -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0xc5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc6' # 0xc6 -> LATIN CAPITAL LETTER AE
+ u'\xc7' # 0xc7 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc8' # 0xc8 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0xca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xcc' # 0xcc -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xcf -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xd0' # 0xd0 -> LATIN CAPITAL LETTER ETH (Icelandic)
+ u'\xd1' # 0xd1 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd2' # 0xd2 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\xd5' # 0xd5 -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\xd8' # 0xd8 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\xd9' # 0xd9 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xdb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xdd' # 0xdd -> LATIN CAPITAL LETTER Y WITH ACUTE
+ u'\xde' # 0xde -> LATIN CAPITAL LETTER THORN (Icelandic)
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S (German)
+ u'\xe0' # 0xe0 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe3' # 0xe3 -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe5' # 0xe5 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe6' # 0xe6 -> LATIN SMALL LETTER AE
+ u'\xe7' # 0xe7 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe8' # 0xe8 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0xea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xec' # 0xec -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0xef -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xf0' # 0xf0 -> LATIN SMALL LETTER ETH (Icelandic)
+ u'\xf1' # 0xf1 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf2' # 0xf2 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf5' # 0xf5 -> LATIN SMALL LETTER O WITH TILDE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\xf8' # 0xf8 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xf9' # 0xf9 -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xfb' # 0xfb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\xfd' # 0xfd -> LATIN SMALL LETTER Y WITH ACUTE
+ u'\xfe' # 0xfe -> LATIN SMALL LETTER THORN (Icelandic)
+ u'\xff' # 0xff -> LATIN SMALL LETTER Y WITH DIAERESIS
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a1: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a5: 0x00a5, # YEN SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00aa: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00af: 0x00af, # MACRON
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b8: 0x00b8, # CEDILLA
- 0x00b9: 0x00b9, # SUPERSCRIPT ONE
- 0x00ba: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00bf: 0x00bf, # INVERTED QUESTION MARK
- 0x00c0: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00c7: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d0: 0x00d0, # LATIN CAPITAL LETTER ETH (Icelandic)
- 0x00d1: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00d8: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00dd: 0x00dd, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00de: 0x00de, # LATIN CAPITAL LETTER THORN (Icelandic)
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S (German)
- 0x00e0: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00e6, # LATIN SMALL LETTER AE
- 0x00e7: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f0: 0x00f0, # LATIN SMALL LETTER ETH (Icelandic)
- 0x00f1: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00f8: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00fd: 0x00fd, # LATIN SMALL LETTER Y WITH ACUTE
- 0x00fe: 0x00fe, # LATIN SMALL LETTER THORN (Icelandic)
- 0x00ff: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a1: 0xa1, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a5: 0xa5, # YEN SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00aa: 0xaa, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00af: 0xaf, # MACRON
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b8: 0xb8, # CEDILLA
+ 0x00b9: 0xb9, # SUPERSCRIPT ONE
+ 0x00ba: 0xba, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xbc, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xbe, # VULGAR FRACTION THREE QUARTERS
+ 0x00bf: 0xbf, # INVERTED QUESTION MARK
+ 0x00c0: 0xc0, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xc3, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0xc5, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xc6, # LATIN CAPITAL LETTER AE
+ 0x00c7: 0xc7, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xc8, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xcc, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xcf, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d0: 0xd0, # LATIN CAPITAL LETTER ETH (Icelandic)
+ 0x00d1: 0xd1, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xd2, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xd5, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00d8: 0xd8, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xd9, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xdb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00dd: 0xdd, # LATIN CAPITAL LETTER Y WITH ACUTE
+ 0x00de: 0xde, # LATIN CAPITAL LETTER THORN (Icelandic)
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S (German)
+ 0x00e0: 0xe0, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0xe3, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0xe5, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xe6, # LATIN SMALL LETTER AE
+ 0x00e7: 0xe7, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0xe8, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0xea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0xec, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0xef, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f0: 0xf0, # LATIN SMALL LETTER ETH (Icelandic)
+ 0x00f1: 0xf1, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0xf2, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0xf5, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00f8: 0xf8, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0xf9, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xfb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00fd: 0xfd, # LATIN SMALL LETTER Y WITH ACUTE
+ 0x00fe: 0xfe, # LATIN SMALL LETTER THORN (Icelandic)
+ 0x00ff: 0xff, # LATIN SMALL LETTER Y WITH DIAERESIS
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_10.py b/Lib/encodings/iso8859_10.py
index d88b498deb6..4c5aae2f683 100644
--- a/Lib/encodings/iso8859_10.py
+++ b/Lib/encodings/iso8859_10.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-10.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-10.TXT' with gencodec.py.
"""#"
@@ -28,576 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: 0x0104, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x00a2: 0x0112, # LATIN CAPITAL LETTER E WITH MACRON
- 0x00a3: 0x0122, # LATIN CAPITAL LETTER G WITH CEDILLA
- 0x00a4: 0x012a, # LATIN CAPITAL LETTER I WITH MACRON
- 0x00a5: 0x0128, # LATIN CAPITAL LETTER I WITH TILDE
- 0x00a6: 0x0136, # LATIN CAPITAL LETTER K WITH CEDILLA
- 0x00a8: 0x013b, # LATIN CAPITAL LETTER L WITH CEDILLA
- 0x00a9: 0x0110, # LATIN CAPITAL LETTER D WITH STROKE
- 0x00aa: 0x0160, # LATIN CAPITAL LETTER S WITH CARON
- 0x00ab: 0x0166, # LATIN CAPITAL LETTER T WITH STROKE
- 0x00ac: 0x017d, # LATIN CAPITAL LETTER Z WITH CARON
- 0x00ae: 0x016a, # LATIN CAPITAL LETTER U WITH MACRON
- 0x00af: 0x014a, # LATIN CAPITAL LETTER ENG
- 0x00b1: 0x0105, # LATIN SMALL LETTER A WITH OGONEK
- 0x00b2: 0x0113, # LATIN SMALL LETTER E WITH MACRON
- 0x00b3: 0x0123, # LATIN SMALL LETTER G WITH CEDILLA
- 0x00b4: 0x012b, # LATIN SMALL LETTER I WITH MACRON
- 0x00b5: 0x0129, # LATIN SMALL LETTER I WITH TILDE
- 0x00b6: 0x0137, # LATIN SMALL LETTER K WITH CEDILLA
- 0x00b8: 0x013c, # LATIN SMALL LETTER L WITH CEDILLA
- 0x00b9: 0x0111, # LATIN SMALL LETTER D WITH STROKE
- 0x00ba: 0x0161, # LATIN SMALL LETTER S WITH CARON
- 0x00bb: 0x0167, # LATIN SMALL LETTER T WITH STROKE
- 0x00bc: 0x017e, # LATIN SMALL LETTER Z WITH CARON
- 0x00bd: 0x2015, # HORIZONTAL BAR
- 0x00be: 0x016b, # LATIN SMALL LETTER U WITH MACRON
- 0x00bf: 0x014b, # LATIN SMALL LETTER ENG
- 0x00c0: 0x0100, # LATIN CAPITAL LETTER A WITH MACRON
- 0x00c7: 0x012e, # LATIN CAPITAL LETTER I WITH OGONEK
- 0x00c8: 0x010c, # LATIN CAPITAL LETTER C WITH CARON
- 0x00ca: 0x0118, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x00cc: 0x0116, # LATIN CAPITAL LETTER E WITH DOT ABOVE
- 0x00d1: 0x0145, # LATIN CAPITAL LETTER N WITH CEDILLA
- 0x00d2: 0x014c, # LATIN CAPITAL LETTER O WITH MACRON
- 0x00d7: 0x0168, # LATIN CAPITAL LETTER U WITH TILDE
- 0x00d9: 0x0172, # LATIN CAPITAL LETTER U WITH OGONEK
- 0x00e0: 0x0101, # LATIN SMALL LETTER A WITH MACRON
- 0x00e7: 0x012f, # LATIN SMALL LETTER I WITH OGONEK
- 0x00e8: 0x010d, # LATIN SMALL LETTER C WITH CARON
- 0x00ea: 0x0119, # LATIN SMALL LETTER E WITH OGONEK
- 0x00ec: 0x0117, # LATIN SMALL LETTER E WITH DOT ABOVE
- 0x00f1: 0x0146, # LATIN SMALL LETTER N WITH CEDILLA
- 0x00f2: 0x014d, # LATIN SMALL LETTER O WITH MACRON
- 0x00f7: 0x0169, # LATIN SMALL LETTER U WITH TILDE
- 0x00f9: 0x0173, # LATIN SMALL LETTER U WITH OGONEK
- 0x00ff: 0x0138, # LATIN SMALL LETTER KRA
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u0104' # 0x00a1 -> LATIN CAPITAL LETTER A WITH OGONEK
- u'\u0112' # 0x00a2 -> LATIN CAPITAL LETTER E WITH MACRON
- u'\u0122' # 0x00a3 -> LATIN CAPITAL LETTER G WITH CEDILLA
- u'\u012a' # 0x00a4 -> LATIN CAPITAL LETTER I WITH MACRON
- u'\u0128' # 0x00a5 -> LATIN CAPITAL LETTER I WITH TILDE
- u'\u0136' # 0x00a6 -> LATIN CAPITAL LETTER K WITH CEDILLA
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\u013b' # 0x00a8 -> LATIN CAPITAL LETTER L WITH CEDILLA
- u'\u0110' # 0x00a9 -> LATIN CAPITAL LETTER D WITH STROKE
- u'\u0160' # 0x00aa -> LATIN CAPITAL LETTER S WITH CARON
- u'\u0166' # 0x00ab -> LATIN CAPITAL LETTER T WITH STROKE
- u'\u017d' # 0x00ac -> LATIN CAPITAL LETTER Z WITH CARON
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\u016a' # 0x00ae -> LATIN CAPITAL LETTER U WITH MACRON
- u'\u014a' # 0x00af -> LATIN CAPITAL LETTER ENG
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\u0105' # 0x00b1 -> LATIN SMALL LETTER A WITH OGONEK
- u'\u0113' # 0x00b2 -> LATIN SMALL LETTER E WITH MACRON
- u'\u0123' # 0x00b3 -> LATIN SMALL LETTER G WITH CEDILLA
- u'\u012b' # 0x00b4 -> LATIN SMALL LETTER I WITH MACRON
- u'\u0129' # 0x00b5 -> LATIN SMALL LETTER I WITH TILDE
- u'\u0137' # 0x00b6 -> LATIN SMALL LETTER K WITH CEDILLA
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\u013c' # 0x00b8 -> LATIN SMALL LETTER L WITH CEDILLA
- u'\u0111' # 0x00b9 -> LATIN SMALL LETTER D WITH STROKE
- u'\u0161' # 0x00ba -> LATIN SMALL LETTER S WITH CARON
- u'\u0167' # 0x00bb -> LATIN SMALL LETTER T WITH STROKE
- u'\u017e' # 0x00bc -> LATIN SMALL LETTER Z WITH CARON
- u'\u2015' # 0x00bd -> HORIZONTAL BAR
- u'\u016b' # 0x00be -> LATIN SMALL LETTER U WITH MACRON
- u'\u014b' # 0x00bf -> LATIN SMALL LETTER ENG
- u'\u0100' # 0x00c0 -> LATIN CAPITAL LETTER A WITH MACRON
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xc3' # 0x00c3 -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x00c5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc6' # 0x00c6 -> LATIN CAPITAL LETTER AE
- u'\u012e' # 0x00c7 -> LATIN CAPITAL LETTER I WITH OGONEK
- u'\u010c' # 0x00c8 -> LATIN CAPITAL LETTER C WITH CARON
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\u0118' # 0x00ca -> LATIN CAPITAL LETTER E WITH OGONEK
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\u0116' # 0x00cc -> LATIN CAPITAL LETTER E WITH DOT ABOVE
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00cf -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\xd0' # 0x00d0 -> LATIN CAPITAL LETTER ETH (Icelandic)
- u'\u0145' # 0x00d1 -> LATIN CAPITAL LETTER N WITH CEDILLA
- u'\u014c' # 0x00d2 -> LATIN CAPITAL LETTER O WITH MACRON
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\xd5' # 0x00d5 -> LATIN CAPITAL LETTER O WITH TILDE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\u0168' # 0x00d7 -> LATIN CAPITAL LETTER U WITH TILDE
- u'\xd8' # 0x00d8 -> LATIN CAPITAL LETTER O WITH STROKE
- u'\u0172' # 0x00d9 -> LATIN CAPITAL LETTER U WITH OGONEK
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00db -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xdd' # 0x00dd -> LATIN CAPITAL LETTER Y WITH ACUTE
- u'\xde' # 0x00de -> LATIN CAPITAL LETTER THORN (Icelandic)
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S (German)
- u'\u0101' # 0x00e0 -> LATIN SMALL LETTER A WITH MACRON
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe3' # 0x00e3 -> LATIN SMALL LETTER A WITH TILDE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe5' # 0x00e5 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe6' # 0x00e6 -> LATIN SMALL LETTER AE
- u'\u012f' # 0x00e7 -> LATIN SMALL LETTER I WITH OGONEK
- u'\u010d' # 0x00e8 -> LATIN SMALL LETTER C WITH CARON
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\u0119' # 0x00ea -> LATIN SMALL LETTER E WITH OGONEK
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\u0117' # 0x00ec -> LATIN SMALL LETTER E WITH DOT ABOVE
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x00ef -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xf0' # 0x00f0 -> LATIN SMALL LETTER ETH (Icelandic)
- u'\u0146' # 0x00f1 -> LATIN SMALL LETTER N WITH CEDILLA
- u'\u014d' # 0x00f2 -> LATIN SMALL LETTER O WITH MACRON
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf5' # 0x00f5 -> LATIN SMALL LETTER O WITH TILDE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\u0169' # 0x00f7 -> LATIN SMALL LETTER U WITH TILDE
- u'\xf8' # 0x00f8 -> LATIN SMALL LETTER O WITH STROKE
- u'\u0173' # 0x00f9 -> LATIN SMALL LETTER U WITH OGONEK
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\xfb' # 0x00fb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\xfd' # 0x00fd -> LATIN SMALL LETTER Y WITH ACUTE
- u'\xfe' # 0x00fe -> LATIN SMALL LETTER THORN (Icelandic)
- u'\u0138' # 0x00ff -> LATIN SMALL LETTER KRA
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u0104' # 0xa1 -> LATIN CAPITAL LETTER A WITH OGONEK
+ u'\u0112' # 0xa2 -> LATIN CAPITAL LETTER E WITH MACRON
+ u'\u0122' # 0xa3 -> LATIN CAPITAL LETTER G WITH CEDILLA
+ u'\u012a' # 0xa4 -> LATIN CAPITAL LETTER I WITH MACRON
+ u'\u0128' # 0xa5 -> LATIN CAPITAL LETTER I WITH TILDE
+ u'\u0136' # 0xa6 -> LATIN CAPITAL LETTER K WITH CEDILLA
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\u013b' # 0xa8 -> LATIN CAPITAL LETTER L WITH CEDILLA
+ u'\u0110' # 0xa9 -> LATIN CAPITAL LETTER D WITH STROKE
+ u'\u0160' # 0xaa -> LATIN CAPITAL LETTER S WITH CARON
+ u'\u0166' # 0xab -> LATIN CAPITAL LETTER T WITH STROKE
+ u'\u017d' # 0xac -> LATIN CAPITAL LETTER Z WITH CARON
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\u016a' # 0xae -> LATIN CAPITAL LETTER U WITH MACRON
+ u'\u014a' # 0xaf -> LATIN CAPITAL LETTER ENG
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\u0105' # 0xb1 -> LATIN SMALL LETTER A WITH OGONEK
+ u'\u0113' # 0xb2 -> LATIN SMALL LETTER E WITH MACRON
+ u'\u0123' # 0xb3 -> LATIN SMALL LETTER G WITH CEDILLA
+ u'\u012b' # 0xb4 -> LATIN SMALL LETTER I WITH MACRON
+ u'\u0129' # 0xb5 -> LATIN SMALL LETTER I WITH TILDE
+ u'\u0137' # 0xb6 -> LATIN SMALL LETTER K WITH CEDILLA
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\u013c' # 0xb8 -> LATIN SMALL LETTER L WITH CEDILLA
+ u'\u0111' # 0xb9 -> LATIN SMALL LETTER D WITH STROKE
+ u'\u0161' # 0xba -> LATIN SMALL LETTER S WITH CARON
+ u'\u0167' # 0xbb -> LATIN SMALL LETTER T WITH STROKE
+ u'\u017e' # 0xbc -> LATIN SMALL LETTER Z WITH CARON
+ u'\u2015' # 0xbd -> HORIZONTAL BAR
+ u'\u016b' # 0xbe -> LATIN SMALL LETTER U WITH MACRON
+ u'\u014b' # 0xbf -> LATIN SMALL LETTER ENG
+ u'\u0100' # 0xc0 -> LATIN CAPITAL LETTER A WITH MACRON
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xc3' # 0xc3 -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0xc5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc6' # 0xc6 -> LATIN CAPITAL LETTER AE
+ u'\u012e' # 0xc7 -> LATIN CAPITAL LETTER I WITH OGONEK
+ u'\u010c' # 0xc8 -> LATIN CAPITAL LETTER C WITH CARON
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\u0118' # 0xca -> LATIN CAPITAL LETTER E WITH OGONEK
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\u0116' # 0xcc -> LATIN CAPITAL LETTER E WITH DOT ABOVE
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xcf -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xd0' # 0xd0 -> LATIN CAPITAL LETTER ETH (Icelandic)
+ u'\u0145' # 0xd1 -> LATIN CAPITAL LETTER N WITH CEDILLA
+ u'\u014c' # 0xd2 -> LATIN CAPITAL LETTER O WITH MACRON
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\xd5' # 0xd5 -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\u0168' # 0xd7 -> LATIN CAPITAL LETTER U WITH TILDE
+ u'\xd8' # 0xd8 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\u0172' # 0xd9 -> LATIN CAPITAL LETTER U WITH OGONEK
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xdb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xdd' # 0xdd -> LATIN CAPITAL LETTER Y WITH ACUTE
+ u'\xde' # 0xde -> LATIN CAPITAL LETTER THORN (Icelandic)
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S (German)
+ u'\u0101' # 0xe0 -> LATIN SMALL LETTER A WITH MACRON
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe3' # 0xe3 -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe5' # 0xe5 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe6' # 0xe6 -> LATIN SMALL LETTER AE
+ u'\u012f' # 0xe7 -> LATIN SMALL LETTER I WITH OGONEK
+ u'\u010d' # 0xe8 -> LATIN SMALL LETTER C WITH CARON
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\u0119' # 0xea -> LATIN SMALL LETTER E WITH OGONEK
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\u0117' # 0xec -> LATIN SMALL LETTER E WITH DOT ABOVE
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0xef -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xf0' # 0xf0 -> LATIN SMALL LETTER ETH (Icelandic)
+ u'\u0146' # 0xf1 -> LATIN SMALL LETTER N WITH CEDILLA
+ u'\u014d' # 0xf2 -> LATIN SMALL LETTER O WITH MACRON
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf5' # 0xf5 -> LATIN SMALL LETTER O WITH TILDE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\u0169' # 0xf7 -> LATIN SMALL LETTER U WITH TILDE
+ u'\xf8' # 0xf8 -> LATIN SMALL LETTER O WITH STROKE
+ u'\u0173' # 0xf9 -> LATIN SMALL LETTER U WITH OGONEK
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xfb' # 0xfb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\xfd' # 0xfd -> LATIN SMALL LETTER Y WITH ACUTE
+ u'\xfe' # 0xfe -> LATIN SMALL LETTER THORN (Icelandic)
+ u'\u0138' # 0xff -> LATIN SMALL LETTER KRA
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d0: 0x00d0, # LATIN CAPITAL LETTER ETH (Icelandic)
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d8: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00dd: 0x00dd, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00de: 0x00de, # LATIN CAPITAL LETTER THORN (Icelandic)
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S (German)
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00e6, # LATIN SMALL LETTER AE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f0: 0x00f0, # LATIN SMALL LETTER ETH (Icelandic)
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f8: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00fd: 0x00fd, # LATIN SMALL LETTER Y WITH ACUTE
- 0x00fe: 0x00fe, # LATIN SMALL LETTER THORN (Icelandic)
- 0x0100: 0x00c0, # LATIN CAPITAL LETTER A WITH MACRON
- 0x0101: 0x00e0, # LATIN SMALL LETTER A WITH MACRON
- 0x0104: 0x00a1, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x0105: 0x00b1, # LATIN SMALL LETTER A WITH OGONEK
- 0x010c: 0x00c8, # LATIN CAPITAL LETTER C WITH CARON
- 0x010d: 0x00e8, # LATIN SMALL LETTER C WITH CARON
- 0x0110: 0x00a9, # LATIN CAPITAL LETTER D WITH STROKE
- 0x0111: 0x00b9, # LATIN SMALL LETTER D WITH STROKE
- 0x0112: 0x00a2, # LATIN CAPITAL LETTER E WITH MACRON
- 0x0113: 0x00b2, # LATIN SMALL LETTER E WITH MACRON
- 0x0116: 0x00cc, # LATIN CAPITAL LETTER E WITH DOT ABOVE
- 0x0117: 0x00ec, # LATIN SMALL LETTER E WITH DOT ABOVE
- 0x0118: 0x00ca, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x0119: 0x00ea, # LATIN SMALL LETTER E WITH OGONEK
- 0x0122: 0x00a3, # LATIN CAPITAL LETTER G WITH CEDILLA
- 0x0123: 0x00b3, # LATIN SMALL LETTER G WITH CEDILLA
- 0x0128: 0x00a5, # LATIN CAPITAL LETTER I WITH TILDE
- 0x0129: 0x00b5, # LATIN SMALL LETTER I WITH TILDE
- 0x012a: 0x00a4, # LATIN CAPITAL LETTER I WITH MACRON
- 0x012b: 0x00b4, # LATIN SMALL LETTER I WITH MACRON
- 0x012e: 0x00c7, # LATIN CAPITAL LETTER I WITH OGONEK
- 0x012f: 0x00e7, # LATIN SMALL LETTER I WITH OGONEK
- 0x0136: 0x00a6, # LATIN CAPITAL LETTER K WITH CEDILLA
- 0x0137: 0x00b6, # LATIN SMALL LETTER K WITH CEDILLA
- 0x0138: 0x00ff, # LATIN SMALL LETTER KRA
- 0x013b: 0x00a8, # LATIN CAPITAL LETTER L WITH CEDILLA
- 0x013c: 0x00b8, # LATIN SMALL LETTER L WITH CEDILLA
- 0x0145: 0x00d1, # LATIN CAPITAL LETTER N WITH CEDILLA
- 0x0146: 0x00f1, # LATIN SMALL LETTER N WITH CEDILLA
- 0x014a: 0x00af, # LATIN CAPITAL LETTER ENG
- 0x014b: 0x00bf, # LATIN SMALL LETTER ENG
- 0x014c: 0x00d2, # LATIN CAPITAL LETTER O WITH MACRON
- 0x014d: 0x00f2, # LATIN SMALL LETTER O WITH MACRON
- 0x0160: 0x00aa, # LATIN CAPITAL LETTER S WITH CARON
- 0x0161: 0x00ba, # LATIN SMALL LETTER S WITH CARON
- 0x0166: 0x00ab, # LATIN CAPITAL LETTER T WITH STROKE
- 0x0167: 0x00bb, # LATIN SMALL LETTER T WITH STROKE
- 0x0168: 0x00d7, # LATIN CAPITAL LETTER U WITH TILDE
- 0x0169: 0x00f7, # LATIN SMALL LETTER U WITH TILDE
- 0x016a: 0x00ae, # LATIN CAPITAL LETTER U WITH MACRON
- 0x016b: 0x00be, # LATIN SMALL LETTER U WITH MACRON
- 0x0172: 0x00d9, # LATIN CAPITAL LETTER U WITH OGONEK
- 0x0173: 0x00f9, # LATIN SMALL LETTER U WITH OGONEK
- 0x017d: 0x00ac, # LATIN CAPITAL LETTER Z WITH CARON
- 0x017e: 0x00bc, # LATIN SMALL LETTER Z WITH CARON
- 0x2015: 0x00bd, # HORIZONTAL BAR
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xc3, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0xc5, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xc6, # LATIN CAPITAL LETTER AE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xcf, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d0: 0xd0, # LATIN CAPITAL LETTER ETH (Icelandic)
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xd5, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d8: 0xd8, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xdb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00dd: 0xdd, # LATIN CAPITAL LETTER Y WITH ACUTE
+ 0x00de: 0xde, # LATIN CAPITAL LETTER THORN (Icelandic)
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S (German)
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0xe3, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0xe5, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xe6, # LATIN SMALL LETTER AE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0xef, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f0: 0xf0, # LATIN SMALL LETTER ETH (Icelandic)
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0xf5, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f8: 0xf8, # LATIN SMALL LETTER O WITH STROKE
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xfb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00fd: 0xfd, # LATIN SMALL LETTER Y WITH ACUTE
+ 0x00fe: 0xfe, # LATIN SMALL LETTER THORN (Icelandic)
+ 0x0100: 0xc0, # LATIN CAPITAL LETTER A WITH MACRON
+ 0x0101: 0xe0, # LATIN SMALL LETTER A WITH MACRON
+ 0x0104: 0xa1, # LATIN CAPITAL LETTER A WITH OGONEK
+ 0x0105: 0xb1, # LATIN SMALL LETTER A WITH OGONEK
+ 0x010c: 0xc8, # LATIN CAPITAL LETTER C WITH CARON
+ 0x010d: 0xe8, # LATIN SMALL LETTER C WITH CARON
+ 0x0110: 0xa9, # LATIN CAPITAL LETTER D WITH STROKE
+ 0x0111: 0xb9, # LATIN SMALL LETTER D WITH STROKE
+ 0x0112: 0xa2, # LATIN CAPITAL LETTER E WITH MACRON
+ 0x0113: 0xb2, # LATIN SMALL LETTER E WITH MACRON
+ 0x0116: 0xcc, # LATIN CAPITAL LETTER E WITH DOT ABOVE
+ 0x0117: 0xec, # LATIN SMALL LETTER E WITH DOT ABOVE
+ 0x0118: 0xca, # LATIN CAPITAL LETTER E WITH OGONEK
+ 0x0119: 0xea, # LATIN SMALL LETTER E WITH OGONEK
+ 0x0122: 0xa3, # LATIN CAPITAL LETTER G WITH CEDILLA
+ 0x0123: 0xb3, # LATIN SMALL LETTER G WITH CEDILLA
+ 0x0128: 0xa5, # LATIN CAPITAL LETTER I WITH TILDE
+ 0x0129: 0xb5, # LATIN SMALL LETTER I WITH TILDE
+ 0x012a: 0xa4, # LATIN CAPITAL LETTER I WITH MACRON
+ 0x012b: 0xb4, # LATIN SMALL LETTER I WITH MACRON
+ 0x012e: 0xc7, # LATIN CAPITAL LETTER I WITH OGONEK
+ 0x012f: 0xe7, # LATIN SMALL LETTER I WITH OGONEK
+ 0x0136: 0xa6, # LATIN CAPITAL LETTER K WITH CEDILLA
+ 0x0137: 0xb6, # LATIN SMALL LETTER K WITH CEDILLA
+ 0x0138: 0xff, # LATIN SMALL LETTER KRA
+ 0x013b: 0xa8, # LATIN CAPITAL LETTER L WITH CEDILLA
+ 0x013c: 0xb8, # LATIN SMALL LETTER L WITH CEDILLA
+ 0x0145: 0xd1, # LATIN CAPITAL LETTER N WITH CEDILLA
+ 0x0146: 0xf1, # LATIN SMALL LETTER N WITH CEDILLA
+ 0x014a: 0xaf, # LATIN CAPITAL LETTER ENG
+ 0x014b: 0xbf, # LATIN SMALL LETTER ENG
+ 0x014c: 0xd2, # LATIN CAPITAL LETTER O WITH MACRON
+ 0x014d: 0xf2, # LATIN SMALL LETTER O WITH MACRON
+ 0x0160: 0xaa, # LATIN CAPITAL LETTER S WITH CARON
+ 0x0161: 0xba, # LATIN SMALL LETTER S WITH CARON
+ 0x0166: 0xab, # LATIN CAPITAL LETTER T WITH STROKE
+ 0x0167: 0xbb, # LATIN SMALL LETTER T WITH STROKE
+ 0x0168: 0xd7, # LATIN CAPITAL LETTER U WITH TILDE
+ 0x0169: 0xf7, # LATIN SMALL LETTER U WITH TILDE
+ 0x016a: 0xae, # LATIN CAPITAL LETTER U WITH MACRON
+ 0x016b: 0xbe, # LATIN SMALL LETTER U WITH MACRON
+ 0x0172: 0xd9, # LATIN CAPITAL LETTER U WITH OGONEK
+ 0x0173: 0xf9, # LATIN SMALL LETTER U WITH OGONEK
+ 0x017d: 0xac, # LATIN CAPITAL LETTER Z WITH CARON
+ 0x017e: 0xbc, # LATIN SMALL LETTER Z WITH CARON
+ 0x2015: 0xbd, # HORIZONTAL BAR
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_11.py b/Lib/encodings/iso8859_11.py
index 464016852ee..33e9bf2472b 100644
--- a/Lib/encodings/iso8859_11.py
+++ b/Lib/encodings/iso8859_11.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-11.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-11.TXT' with gencodec.py.
"""#"
@@ -28,362 +28,262 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: 0x0e01, # THAI CHARACTER KO KAI
- 0x00a2: 0x0e02, # THAI CHARACTER KHO KHAI
- 0x00a3: 0x0e03, # THAI CHARACTER KHO KHUAT
- 0x00a4: 0x0e04, # THAI CHARACTER KHO KHWAI
- 0x00a5: 0x0e05, # THAI CHARACTER KHO KHON
- 0x00a6: 0x0e06, # THAI CHARACTER KHO RAKHANG
- 0x00a7: 0x0e07, # THAI CHARACTER NGO NGU
- 0x00a8: 0x0e08, # THAI CHARACTER CHO CHAN
- 0x00a9: 0x0e09, # THAI CHARACTER CHO CHING
- 0x00aa: 0x0e0a, # THAI CHARACTER CHO CHANG
- 0x00ab: 0x0e0b, # THAI CHARACTER SO SO
- 0x00ac: 0x0e0c, # THAI CHARACTER CHO CHOE
- 0x00ad: 0x0e0d, # THAI CHARACTER YO YING
- 0x00ae: 0x0e0e, # THAI CHARACTER DO CHADA
- 0x00af: 0x0e0f, # THAI CHARACTER TO PATAK
- 0x00b0: 0x0e10, # THAI CHARACTER THO THAN
- 0x00b1: 0x0e11, # THAI CHARACTER THO NANGMONTHO
- 0x00b2: 0x0e12, # THAI CHARACTER THO PHUTHAO
- 0x00b3: 0x0e13, # THAI CHARACTER NO NEN
- 0x00b4: 0x0e14, # THAI CHARACTER DO DEK
- 0x00b5: 0x0e15, # THAI CHARACTER TO TAO
- 0x00b6: 0x0e16, # THAI CHARACTER THO THUNG
- 0x00b7: 0x0e17, # THAI CHARACTER THO THAHAN
- 0x00b8: 0x0e18, # THAI CHARACTER THO THONG
- 0x00b9: 0x0e19, # THAI CHARACTER NO NU
- 0x00ba: 0x0e1a, # THAI CHARACTER BO BAIMAI
- 0x00bb: 0x0e1b, # THAI CHARACTER PO PLA
- 0x00bc: 0x0e1c, # THAI CHARACTER PHO PHUNG
- 0x00bd: 0x0e1d, # THAI CHARACTER FO FA
- 0x00be: 0x0e1e, # THAI CHARACTER PHO PHAN
- 0x00bf: 0x0e1f, # THAI CHARACTER FO FAN
- 0x00c0: 0x0e20, # THAI CHARACTER PHO SAMPHAO
- 0x00c1: 0x0e21, # THAI CHARACTER MO MA
- 0x00c2: 0x0e22, # THAI CHARACTER YO YAK
- 0x00c3: 0x0e23, # THAI CHARACTER RO RUA
- 0x00c4: 0x0e24, # THAI CHARACTER RU
- 0x00c5: 0x0e25, # THAI CHARACTER LO LING
- 0x00c6: 0x0e26, # THAI CHARACTER LU
- 0x00c7: 0x0e27, # THAI CHARACTER WO WAEN
- 0x00c8: 0x0e28, # THAI CHARACTER SO SALA
- 0x00c9: 0x0e29, # THAI CHARACTER SO RUSI
- 0x00ca: 0x0e2a, # THAI CHARACTER SO SUA
- 0x00cb: 0x0e2b, # THAI CHARACTER HO HIP
- 0x00cc: 0x0e2c, # THAI CHARACTER LO CHULA
- 0x00cd: 0x0e2d, # THAI CHARACTER O ANG
- 0x00ce: 0x0e2e, # THAI CHARACTER HO NOKHUK
- 0x00cf: 0x0e2f, # THAI CHARACTER PAIYANNOI
- 0x00d0: 0x0e30, # THAI CHARACTER SARA A
- 0x00d1: 0x0e31, # THAI CHARACTER MAI HAN-AKAT
- 0x00d2: 0x0e32, # THAI CHARACTER SARA AA
- 0x00d3: 0x0e33, # THAI CHARACTER SARA AM
- 0x00d4: 0x0e34, # THAI CHARACTER SARA I
- 0x00d5: 0x0e35, # THAI CHARACTER SARA II
- 0x00d6: 0x0e36, # THAI CHARACTER SARA UE
- 0x00d7: 0x0e37, # THAI CHARACTER SARA UEE
- 0x00d8: 0x0e38, # THAI CHARACTER SARA U
- 0x00d9: 0x0e39, # THAI CHARACTER SARA UU
- 0x00da: 0x0e3a, # THAI CHARACTER PHINTHU
- 0x00db: None,
- 0x00dc: None,
- 0x00dd: None,
- 0x00de: None,
- 0x00df: 0x0e3f, # THAI CURRENCY SYMBOL BAHT
- 0x00e0: 0x0e40, # THAI CHARACTER SARA E
- 0x00e1: 0x0e41, # THAI CHARACTER SARA AE
- 0x00e2: 0x0e42, # THAI CHARACTER SARA O
- 0x00e3: 0x0e43, # THAI CHARACTER SARA AI MAIMUAN
- 0x00e4: 0x0e44, # THAI CHARACTER SARA AI MAIMALAI
- 0x00e5: 0x0e45, # THAI CHARACTER LAKKHANGYAO
- 0x00e6: 0x0e46, # THAI CHARACTER MAIYAMOK
- 0x00e7: 0x0e47, # THAI CHARACTER MAITAIKHU
- 0x00e8: 0x0e48, # THAI CHARACTER MAI EK
- 0x00e9: 0x0e49, # THAI CHARACTER MAI THO
- 0x00ea: 0x0e4a, # THAI CHARACTER MAI TRI
- 0x00eb: 0x0e4b, # THAI CHARACTER MAI CHATTAWA
- 0x00ec: 0x0e4c, # THAI CHARACTER THANTHAKHAT
- 0x00ed: 0x0e4d, # THAI CHARACTER NIKHAHIT
- 0x00ee: 0x0e4e, # THAI CHARACTER YAMAKKAN
- 0x00ef: 0x0e4f, # THAI CHARACTER FONGMAN
- 0x00f0: 0x0e50, # THAI DIGIT ZERO
- 0x00f1: 0x0e51, # THAI DIGIT ONE
- 0x00f2: 0x0e52, # THAI DIGIT TWO
- 0x00f3: 0x0e53, # THAI DIGIT THREE
- 0x00f4: 0x0e54, # THAI DIGIT FOUR
- 0x00f5: 0x0e55, # THAI DIGIT FIVE
- 0x00f6: 0x0e56, # THAI DIGIT SIX
- 0x00f7: 0x0e57, # THAI DIGIT SEVEN
- 0x00f8: 0x0e58, # THAI DIGIT EIGHT
- 0x00f9: 0x0e59, # THAI DIGIT NINE
- 0x00fa: 0x0e5a, # THAI CHARACTER ANGKHANKHU
- 0x00fb: 0x0e5b, # THAI CHARACTER KHOMUT
- 0x00fc: None,
- 0x00fd: None,
- 0x00fe: None,
- 0x00ff: None,
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u0e01' # 0x00a1 -> THAI CHARACTER KO KAI
- u'\u0e02' # 0x00a2 -> THAI CHARACTER KHO KHAI
- u'\u0e03' # 0x00a3 -> THAI CHARACTER KHO KHUAT
- u'\u0e04' # 0x00a4 -> THAI CHARACTER KHO KHWAI
- u'\u0e05' # 0x00a5 -> THAI CHARACTER KHO KHON
- u'\u0e06' # 0x00a6 -> THAI CHARACTER KHO RAKHANG
- u'\u0e07' # 0x00a7 -> THAI CHARACTER NGO NGU
- u'\u0e08' # 0x00a8 -> THAI CHARACTER CHO CHAN
- u'\u0e09' # 0x00a9 -> THAI CHARACTER CHO CHING
- u'\u0e0a' # 0x00aa -> THAI CHARACTER CHO CHANG
- u'\u0e0b' # 0x00ab -> THAI CHARACTER SO SO
- u'\u0e0c' # 0x00ac -> THAI CHARACTER CHO CHOE
- u'\u0e0d' # 0x00ad -> THAI CHARACTER YO YING
- u'\u0e0e' # 0x00ae -> THAI CHARACTER DO CHADA
- u'\u0e0f' # 0x00af -> THAI CHARACTER TO PATAK
- u'\u0e10' # 0x00b0 -> THAI CHARACTER THO THAN
- u'\u0e11' # 0x00b1 -> THAI CHARACTER THO NANGMONTHO
- u'\u0e12' # 0x00b2 -> THAI CHARACTER THO PHUTHAO
- u'\u0e13' # 0x00b3 -> THAI CHARACTER NO NEN
- u'\u0e14' # 0x00b4 -> THAI CHARACTER DO DEK
- u'\u0e15' # 0x00b5 -> THAI CHARACTER TO TAO
- u'\u0e16' # 0x00b6 -> THAI CHARACTER THO THUNG
- u'\u0e17' # 0x00b7 -> THAI CHARACTER THO THAHAN
- u'\u0e18' # 0x00b8 -> THAI CHARACTER THO THONG
- u'\u0e19' # 0x00b9 -> THAI CHARACTER NO NU
- u'\u0e1a' # 0x00ba -> THAI CHARACTER BO BAIMAI
- u'\u0e1b' # 0x00bb -> THAI CHARACTER PO PLA
- u'\u0e1c' # 0x00bc -> THAI CHARACTER PHO PHUNG
- u'\u0e1d' # 0x00bd -> THAI CHARACTER FO FA
- u'\u0e1e' # 0x00be -> THAI CHARACTER PHO PHAN
- u'\u0e1f' # 0x00bf -> THAI CHARACTER FO FAN
- u'\u0e20' # 0x00c0 -> THAI CHARACTER PHO SAMPHAO
- u'\u0e21' # 0x00c1 -> THAI CHARACTER MO MA
- u'\u0e22' # 0x00c2 -> THAI CHARACTER YO YAK
- u'\u0e23' # 0x00c3 -> THAI CHARACTER RO RUA
- u'\u0e24' # 0x00c4 -> THAI CHARACTER RU
- u'\u0e25' # 0x00c5 -> THAI CHARACTER LO LING
- u'\u0e26' # 0x00c6 -> THAI CHARACTER LU
- u'\u0e27' # 0x00c7 -> THAI CHARACTER WO WAEN
- u'\u0e28' # 0x00c8 -> THAI CHARACTER SO SALA
- u'\u0e29' # 0x00c9 -> THAI CHARACTER SO RUSI
- u'\u0e2a' # 0x00ca -> THAI CHARACTER SO SUA
- u'\u0e2b' # 0x00cb -> THAI CHARACTER HO HIP
- u'\u0e2c' # 0x00cc -> THAI CHARACTER LO CHULA
- u'\u0e2d' # 0x00cd -> THAI CHARACTER O ANG
- u'\u0e2e' # 0x00ce -> THAI CHARACTER HO NOKHUK
- u'\u0e2f' # 0x00cf -> THAI CHARACTER PAIYANNOI
- u'\u0e30' # 0x00d0 -> THAI CHARACTER SARA A
- u'\u0e31' # 0x00d1 -> THAI CHARACTER MAI HAN-AKAT
- u'\u0e32' # 0x00d2 -> THAI CHARACTER SARA AA
- u'\u0e33' # 0x00d3 -> THAI CHARACTER SARA AM
- u'\u0e34' # 0x00d4 -> THAI CHARACTER SARA I
- u'\u0e35' # 0x00d5 -> THAI CHARACTER SARA II
- u'\u0e36' # 0x00d6 -> THAI CHARACTER SARA UE
- u'\u0e37' # 0x00d7 -> THAI CHARACTER SARA UEE
- u'\u0e38' # 0x00d8 -> THAI CHARACTER SARA U
- u'\u0e39' # 0x00d9 -> THAI CHARACTER SARA UU
- u'\u0e3a' # 0x00da -> THAI CHARACTER PHINTHU
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u0e01' # 0xa1 -> THAI CHARACTER KO KAI
+ u'\u0e02' # 0xa2 -> THAI CHARACTER KHO KHAI
+ u'\u0e03' # 0xa3 -> THAI CHARACTER KHO KHUAT
+ u'\u0e04' # 0xa4 -> THAI CHARACTER KHO KHWAI
+ u'\u0e05' # 0xa5 -> THAI CHARACTER KHO KHON
+ u'\u0e06' # 0xa6 -> THAI CHARACTER KHO RAKHANG
+ u'\u0e07' # 0xa7 -> THAI CHARACTER NGO NGU
+ u'\u0e08' # 0xa8 -> THAI CHARACTER CHO CHAN
+ u'\u0e09' # 0xa9 -> THAI CHARACTER CHO CHING
+ u'\u0e0a' # 0xaa -> THAI CHARACTER CHO CHANG
+ u'\u0e0b' # 0xab -> THAI CHARACTER SO SO
+ u'\u0e0c' # 0xac -> THAI CHARACTER CHO CHOE
+ u'\u0e0d' # 0xad -> THAI CHARACTER YO YING
+ u'\u0e0e' # 0xae -> THAI CHARACTER DO CHADA
+ u'\u0e0f' # 0xaf -> THAI CHARACTER TO PATAK
+ u'\u0e10' # 0xb0 -> THAI CHARACTER THO THAN
+ u'\u0e11' # 0xb1 -> THAI CHARACTER THO NANGMONTHO
+ u'\u0e12' # 0xb2 -> THAI CHARACTER THO PHUTHAO
+ u'\u0e13' # 0xb3 -> THAI CHARACTER NO NEN
+ u'\u0e14' # 0xb4 -> THAI CHARACTER DO DEK
+ u'\u0e15' # 0xb5 -> THAI CHARACTER TO TAO
+ u'\u0e16' # 0xb6 -> THAI CHARACTER THO THUNG
+ u'\u0e17' # 0xb7 -> THAI CHARACTER THO THAHAN
+ u'\u0e18' # 0xb8 -> THAI CHARACTER THO THONG
+ u'\u0e19' # 0xb9 -> THAI CHARACTER NO NU
+ u'\u0e1a' # 0xba -> THAI CHARACTER BO BAIMAI
+ u'\u0e1b' # 0xbb -> THAI CHARACTER PO PLA
+ u'\u0e1c' # 0xbc -> THAI CHARACTER PHO PHUNG
+ u'\u0e1d' # 0xbd -> THAI CHARACTER FO FA
+ u'\u0e1e' # 0xbe -> THAI CHARACTER PHO PHAN
+ u'\u0e1f' # 0xbf -> THAI CHARACTER FO FAN
+ u'\u0e20' # 0xc0 -> THAI CHARACTER PHO SAMPHAO
+ u'\u0e21' # 0xc1 -> THAI CHARACTER MO MA
+ u'\u0e22' # 0xc2 -> THAI CHARACTER YO YAK
+ u'\u0e23' # 0xc3 -> THAI CHARACTER RO RUA
+ u'\u0e24' # 0xc4 -> THAI CHARACTER RU
+ u'\u0e25' # 0xc5 -> THAI CHARACTER LO LING
+ u'\u0e26' # 0xc6 -> THAI CHARACTER LU
+ u'\u0e27' # 0xc7 -> THAI CHARACTER WO WAEN
+ u'\u0e28' # 0xc8 -> THAI CHARACTER SO SALA
+ u'\u0e29' # 0xc9 -> THAI CHARACTER SO RUSI
+ u'\u0e2a' # 0xca -> THAI CHARACTER SO SUA
+ u'\u0e2b' # 0xcb -> THAI CHARACTER HO HIP
+ u'\u0e2c' # 0xcc -> THAI CHARACTER LO CHULA
+ u'\u0e2d' # 0xcd -> THAI CHARACTER O ANG
+ u'\u0e2e' # 0xce -> THAI CHARACTER HO NOKHUK
+ u'\u0e2f' # 0xcf -> THAI CHARACTER PAIYANNOI
+ u'\u0e30' # 0xd0 -> THAI CHARACTER SARA A
+ u'\u0e31' # 0xd1 -> THAI CHARACTER MAI HAN-AKAT
+ u'\u0e32' # 0xd2 -> THAI CHARACTER SARA AA
+ u'\u0e33' # 0xd3 -> THAI CHARACTER SARA AM
+ u'\u0e34' # 0xd4 -> THAI CHARACTER SARA I
+ u'\u0e35' # 0xd5 -> THAI CHARACTER SARA II
+ u'\u0e36' # 0xd6 -> THAI CHARACTER SARA UE
+ u'\u0e37' # 0xd7 -> THAI CHARACTER SARA UEE
+ u'\u0e38' # 0xd8 -> THAI CHARACTER SARA U
+ u'\u0e39' # 0xd9 -> THAI CHARACTER SARA UU
+ u'\u0e3a' # 0xda -> THAI CHARACTER PHINTHU
u'\ufffe'
u'\ufffe'
u'\ufffe'
u'\ufffe'
- u'\u0e3f' # 0x00df -> THAI CURRENCY SYMBOL BAHT
- u'\u0e40' # 0x00e0 -> THAI CHARACTER SARA E
- u'\u0e41' # 0x00e1 -> THAI CHARACTER SARA AE
- u'\u0e42' # 0x00e2 -> THAI CHARACTER SARA O
- u'\u0e43' # 0x00e3 -> THAI CHARACTER SARA AI MAIMUAN
- u'\u0e44' # 0x00e4 -> THAI CHARACTER SARA AI MAIMALAI
- u'\u0e45' # 0x00e5 -> THAI CHARACTER LAKKHANGYAO
- u'\u0e46' # 0x00e6 -> THAI CHARACTER MAIYAMOK
- u'\u0e47' # 0x00e7 -> THAI CHARACTER MAITAIKHU
- u'\u0e48' # 0x00e8 -> THAI CHARACTER MAI EK
- u'\u0e49' # 0x00e9 -> THAI CHARACTER MAI THO
- u'\u0e4a' # 0x00ea -> THAI CHARACTER MAI TRI
- u'\u0e4b' # 0x00eb -> THAI CHARACTER MAI CHATTAWA
- u'\u0e4c' # 0x00ec -> THAI CHARACTER THANTHAKHAT
- u'\u0e4d' # 0x00ed -> THAI CHARACTER NIKHAHIT
- u'\u0e4e' # 0x00ee -> THAI CHARACTER YAMAKKAN
- u'\u0e4f' # 0x00ef -> THAI CHARACTER FONGMAN
- u'\u0e50' # 0x00f0 -> THAI DIGIT ZERO
- u'\u0e51' # 0x00f1 -> THAI DIGIT ONE
- u'\u0e52' # 0x00f2 -> THAI DIGIT TWO
- u'\u0e53' # 0x00f3 -> THAI DIGIT THREE
- u'\u0e54' # 0x00f4 -> THAI DIGIT FOUR
- u'\u0e55' # 0x00f5 -> THAI DIGIT FIVE
- u'\u0e56' # 0x00f6 -> THAI DIGIT SIX
- u'\u0e57' # 0x00f7 -> THAI DIGIT SEVEN
- u'\u0e58' # 0x00f8 -> THAI DIGIT EIGHT
- u'\u0e59' # 0x00f9 -> THAI DIGIT NINE
- u'\u0e5a' # 0x00fa -> THAI CHARACTER ANGKHANKHU
- u'\u0e5b' # 0x00fb -> THAI CHARACTER KHOMUT
+ u'\u0e3f' # 0xdf -> THAI CURRENCY SYMBOL BAHT
+ u'\u0e40' # 0xe0 -> THAI CHARACTER SARA E
+ u'\u0e41' # 0xe1 -> THAI CHARACTER SARA AE
+ u'\u0e42' # 0xe2 -> THAI CHARACTER SARA O
+ u'\u0e43' # 0xe3 -> THAI CHARACTER SARA AI MAIMUAN
+ u'\u0e44' # 0xe4 -> THAI CHARACTER SARA AI MAIMALAI
+ u'\u0e45' # 0xe5 -> THAI CHARACTER LAKKHANGYAO
+ u'\u0e46' # 0xe6 -> THAI CHARACTER MAIYAMOK
+ u'\u0e47' # 0xe7 -> THAI CHARACTER MAITAIKHU
+ u'\u0e48' # 0xe8 -> THAI CHARACTER MAI EK
+ u'\u0e49' # 0xe9 -> THAI CHARACTER MAI THO
+ u'\u0e4a' # 0xea -> THAI CHARACTER MAI TRI
+ u'\u0e4b' # 0xeb -> THAI CHARACTER MAI CHATTAWA
+ u'\u0e4c' # 0xec -> THAI CHARACTER THANTHAKHAT
+ u'\u0e4d' # 0xed -> THAI CHARACTER NIKHAHIT
+ u'\u0e4e' # 0xee -> THAI CHARACTER YAMAKKAN
+ u'\u0e4f' # 0xef -> THAI CHARACTER FONGMAN
+ u'\u0e50' # 0xf0 -> THAI DIGIT ZERO
+ u'\u0e51' # 0xf1 -> THAI DIGIT ONE
+ u'\u0e52' # 0xf2 -> THAI DIGIT TWO
+ u'\u0e53' # 0xf3 -> THAI DIGIT THREE
+ u'\u0e54' # 0xf4 -> THAI DIGIT FOUR
+ u'\u0e55' # 0xf5 -> THAI DIGIT FIVE
+ u'\u0e56' # 0xf6 -> THAI DIGIT SIX
+ u'\u0e57' # 0xf7 -> THAI DIGIT SEVEN
+ u'\u0e58' # 0xf8 -> THAI DIGIT EIGHT
+ u'\u0e59' # 0xf9 -> THAI DIGIT NINE
+ u'\u0e5a' # 0xfa -> THAI CHARACTER ANGKHANKHU
+ u'\u0e5b' # 0xfb -> THAI CHARACTER KHOMUT
u'\ufffe'
u'\ufffe'
u'\ufffe'
@@ -393,252 +293,252 @@ decoding_table = (
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x0e01: 0x00a1, # THAI CHARACTER KO KAI
- 0x0e02: 0x00a2, # THAI CHARACTER KHO KHAI
- 0x0e03: 0x00a3, # THAI CHARACTER KHO KHUAT
- 0x0e04: 0x00a4, # THAI CHARACTER KHO KHWAI
- 0x0e05: 0x00a5, # THAI CHARACTER KHO KHON
- 0x0e06: 0x00a6, # THAI CHARACTER KHO RAKHANG
- 0x0e07: 0x00a7, # THAI CHARACTER NGO NGU
- 0x0e08: 0x00a8, # THAI CHARACTER CHO CHAN
- 0x0e09: 0x00a9, # THAI CHARACTER CHO CHING
- 0x0e0a: 0x00aa, # THAI CHARACTER CHO CHANG
- 0x0e0b: 0x00ab, # THAI CHARACTER SO SO
- 0x0e0c: 0x00ac, # THAI CHARACTER CHO CHOE
- 0x0e0d: 0x00ad, # THAI CHARACTER YO YING
- 0x0e0e: 0x00ae, # THAI CHARACTER DO CHADA
- 0x0e0f: 0x00af, # THAI CHARACTER TO PATAK
- 0x0e10: 0x00b0, # THAI CHARACTER THO THAN
- 0x0e11: 0x00b1, # THAI CHARACTER THO NANGMONTHO
- 0x0e12: 0x00b2, # THAI CHARACTER THO PHUTHAO
- 0x0e13: 0x00b3, # THAI CHARACTER NO NEN
- 0x0e14: 0x00b4, # THAI CHARACTER DO DEK
- 0x0e15: 0x00b5, # THAI CHARACTER TO TAO
- 0x0e16: 0x00b6, # THAI CHARACTER THO THUNG
- 0x0e17: 0x00b7, # THAI CHARACTER THO THAHAN
- 0x0e18: 0x00b8, # THAI CHARACTER THO THONG
- 0x0e19: 0x00b9, # THAI CHARACTER NO NU
- 0x0e1a: 0x00ba, # THAI CHARACTER BO BAIMAI
- 0x0e1b: 0x00bb, # THAI CHARACTER PO PLA
- 0x0e1c: 0x00bc, # THAI CHARACTER PHO PHUNG
- 0x0e1d: 0x00bd, # THAI CHARACTER FO FA
- 0x0e1e: 0x00be, # THAI CHARACTER PHO PHAN
- 0x0e1f: 0x00bf, # THAI CHARACTER FO FAN
- 0x0e20: 0x00c0, # THAI CHARACTER PHO SAMPHAO
- 0x0e21: 0x00c1, # THAI CHARACTER MO MA
- 0x0e22: 0x00c2, # THAI CHARACTER YO YAK
- 0x0e23: 0x00c3, # THAI CHARACTER RO RUA
- 0x0e24: 0x00c4, # THAI CHARACTER RU
- 0x0e25: 0x00c5, # THAI CHARACTER LO LING
- 0x0e26: 0x00c6, # THAI CHARACTER LU
- 0x0e27: 0x00c7, # THAI CHARACTER WO WAEN
- 0x0e28: 0x00c8, # THAI CHARACTER SO SALA
- 0x0e29: 0x00c9, # THAI CHARACTER SO RUSI
- 0x0e2a: 0x00ca, # THAI CHARACTER SO SUA
- 0x0e2b: 0x00cb, # THAI CHARACTER HO HIP
- 0x0e2c: 0x00cc, # THAI CHARACTER LO CHULA
- 0x0e2d: 0x00cd, # THAI CHARACTER O ANG
- 0x0e2e: 0x00ce, # THAI CHARACTER HO NOKHUK
- 0x0e2f: 0x00cf, # THAI CHARACTER PAIYANNOI
- 0x0e30: 0x00d0, # THAI CHARACTER SARA A
- 0x0e31: 0x00d1, # THAI CHARACTER MAI HAN-AKAT
- 0x0e32: 0x00d2, # THAI CHARACTER SARA AA
- 0x0e33: 0x00d3, # THAI CHARACTER SARA AM
- 0x0e34: 0x00d4, # THAI CHARACTER SARA I
- 0x0e35: 0x00d5, # THAI CHARACTER SARA II
- 0x0e36: 0x00d6, # THAI CHARACTER SARA UE
- 0x0e37: 0x00d7, # THAI CHARACTER SARA UEE
- 0x0e38: 0x00d8, # THAI CHARACTER SARA U
- 0x0e39: 0x00d9, # THAI CHARACTER SARA UU
- 0x0e3a: 0x00da, # THAI CHARACTER PHINTHU
- 0x0e3f: 0x00df, # THAI CURRENCY SYMBOL BAHT
- 0x0e40: 0x00e0, # THAI CHARACTER SARA E
- 0x0e41: 0x00e1, # THAI CHARACTER SARA AE
- 0x0e42: 0x00e2, # THAI CHARACTER SARA O
- 0x0e43: 0x00e3, # THAI CHARACTER SARA AI MAIMUAN
- 0x0e44: 0x00e4, # THAI CHARACTER SARA AI MAIMALAI
- 0x0e45: 0x00e5, # THAI CHARACTER LAKKHANGYAO
- 0x0e46: 0x00e6, # THAI CHARACTER MAIYAMOK
- 0x0e47: 0x00e7, # THAI CHARACTER MAITAIKHU
- 0x0e48: 0x00e8, # THAI CHARACTER MAI EK
- 0x0e49: 0x00e9, # THAI CHARACTER MAI THO
- 0x0e4a: 0x00ea, # THAI CHARACTER MAI TRI
- 0x0e4b: 0x00eb, # THAI CHARACTER MAI CHATTAWA
- 0x0e4c: 0x00ec, # THAI CHARACTER THANTHAKHAT
- 0x0e4d: 0x00ed, # THAI CHARACTER NIKHAHIT
- 0x0e4e: 0x00ee, # THAI CHARACTER YAMAKKAN
- 0x0e4f: 0x00ef, # THAI CHARACTER FONGMAN
- 0x0e50: 0x00f0, # THAI DIGIT ZERO
- 0x0e51: 0x00f1, # THAI DIGIT ONE
- 0x0e52: 0x00f2, # THAI DIGIT TWO
- 0x0e53: 0x00f3, # THAI DIGIT THREE
- 0x0e54: 0x00f4, # THAI DIGIT FOUR
- 0x0e55: 0x00f5, # THAI DIGIT FIVE
- 0x0e56: 0x00f6, # THAI DIGIT SIX
- 0x0e57: 0x00f7, # THAI DIGIT SEVEN
- 0x0e58: 0x00f8, # THAI DIGIT EIGHT
- 0x0e59: 0x00f9, # THAI DIGIT NINE
- 0x0e5a: 0x00fa, # THAI CHARACTER ANGKHANKHU
- 0x0e5b: 0x00fb, # THAI CHARACTER KHOMUT
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x0e01: 0xa1, # THAI CHARACTER KO KAI
+ 0x0e02: 0xa2, # THAI CHARACTER KHO KHAI
+ 0x0e03: 0xa3, # THAI CHARACTER KHO KHUAT
+ 0x0e04: 0xa4, # THAI CHARACTER KHO KHWAI
+ 0x0e05: 0xa5, # THAI CHARACTER KHO KHON
+ 0x0e06: 0xa6, # THAI CHARACTER KHO RAKHANG
+ 0x0e07: 0xa7, # THAI CHARACTER NGO NGU
+ 0x0e08: 0xa8, # THAI CHARACTER CHO CHAN
+ 0x0e09: 0xa9, # THAI CHARACTER CHO CHING
+ 0x0e0a: 0xaa, # THAI CHARACTER CHO CHANG
+ 0x0e0b: 0xab, # THAI CHARACTER SO SO
+ 0x0e0c: 0xac, # THAI CHARACTER CHO CHOE
+ 0x0e0d: 0xad, # THAI CHARACTER YO YING
+ 0x0e0e: 0xae, # THAI CHARACTER DO CHADA
+ 0x0e0f: 0xaf, # THAI CHARACTER TO PATAK
+ 0x0e10: 0xb0, # THAI CHARACTER THO THAN
+ 0x0e11: 0xb1, # THAI CHARACTER THO NANGMONTHO
+ 0x0e12: 0xb2, # THAI CHARACTER THO PHUTHAO
+ 0x0e13: 0xb3, # THAI CHARACTER NO NEN
+ 0x0e14: 0xb4, # THAI CHARACTER DO DEK
+ 0x0e15: 0xb5, # THAI CHARACTER TO TAO
+ 0x0e16: 0xb6, # THAI CHARACTER THO THUNG
+ 0x0e17: 0xb7, # THAI CHARACTER THO THAHAN
+ 0x0e18: 0xb8, # THAI CHARACTER THO THONG
+ 0x0e19: 0xb9, # THAI CHARACTER NO NU
+ 0x0e1a: 0xba, # THAI CHARACTER BO BAIMAI
+ 0x0e1b: 0xbb, # THAI CHARACTER PO PLA
+ 0x0e1c: 0xbc, # THAI CHARACTER PHO PHUNG
+ 0x0e1d: 0xbd, # THAI CHARACTER FO FA
+ 0x0e1e: 0xbe, # THAI CHARACTER PHO PHAN
+ 0x0e1f: 0xbf, # THAI CHARACTER FO FAN
+ 0x0e20: 0xc0, # THAI CHARACTER PHO SAMPHAO
+ 0x0e21: 0xc1, # THAI CHARACTER MO MA
+ 0x0e22: 0xc2, # THAI CHARACTER YO YAK
+ 0x0e23: 0xc3, # THAI CHARACTER RO RUA
+ 0x0e24: 0xc4, # THAI CHARACTER RU
+ 0x0e25: 0xc5, # THAI CHARACTER LO LING
+ 0x0e26: 0xc6, # THAI CHARACTER LU
+ 0x0e27: 0xc7, # THAI CHARACTER WO WAEN
+ 0x0e28: 0xc8, # THAI CHARACTER SO SALA
+ 0x0e29: 0xc9, # THAI CHARACTER SO RUSI
+ 0x0e2a: 0xca, # THAI CHARACTER SO SUA
+ 0x0e2b: 0xcb, # THAI CHARACTER HO HIP
+ 0x0e2c: 0xcc, # THAI CHARACTER LO CHULA
+ 0x0e2d: 0xcd, # THAI CHARACTER O ANG
+ 0x0e2e: 0xce, # THAI CHARACTER HO NOKHUK
+ 0x0e2f: 0xcf, # THAI CHARACTER PAIYANNOI
+ 0x0e30: 0xd0, # THAI CHARACTER SARA A
+ 0x0e31: 0xd1, # THAI CHARACTER MAI HAN-AKAT
+ 0x0e32: 0xd2, # THAI CHARACTER SARA AA
+ 0x0e33: 0xd3, # THAI CHARACTER SARA AM
+ 0x0e34: 0xd4, # THAI CHARACTER SARA I
+ 0x0e35: 0xd5, # THAI CHARACTER SARA II
+ 0x0e36: 0xd6, # THAI CHARACTER SARA UE
+ 0x0e37: 0xd7, # THAI CHARACTER SARA UEE
+ 0x0e38: 0xd8, # THAI CHARACTER SARA U
+ 0x0e39: 0xd9, # THAI CHARACTER SARA UU
+ 0x0e3a: 0xda, # THAI CHARACTER PHINTHU
+ 0x0e3f: 0xdf, # THAI CURRENCY SYMBOL BAHT
+ 0x0e40: 0xe0, # THAI CHARACTER SARA E
+ 0x0e41: 0xe1, # THAI CHARACTER SARA AE
+ 0x0e42: 0xe2, # THAI CHARACTER SARA O
+ 0x0e43: 0xe3, # THAI CHARACTER SARA AI MAIMUAN
+ 0x0e44: 0xe4, # THAI CHARACTER SARA AI MAIMALAI
+ 0x0e45: 0xe5, # THAI CHARACTER LAKKHANGYAO
+ 0x0e46: 0xe6, # THAI CHARACTER MAIYAMOK
+ 0x0e47: 0xe7, # THAI CHARACTER MAITAIKHU
+ 0x0e48: 0xe8, # THAI CHARACTER MAI EK
+ 0x0e49: 0xe9, # THAI CHARACTER MAI THO
+ 0x0e4a: 0xea, # THAI CHARACTER MAI TRI
+ 0x0e4b: 0xeb, # THAI CHARACTER MAI CHATTAWA
+ 0x0e4c: 0xec, # THAI CHARACTER THANTHAKHAT
+ 0x0e4d: 0xed, # THAI CHARACTER NIKHAHIT
+ 0x0e4e: 0xee, # THAI CHARACTER YAMAKKAN
+ 0x0e4f: 0xef, # THAI CHARACTER FONGMAN
+ 0x0e50: 0xf0, # THAI DIGIT ZERO
+ 0x0e51: 0xf1, # THAI DIGIT ONE
+ 0x0e52: 0xf2, # THAI DIGIT TWO
+ 0x0e53: 0xf3, # THAI DIGIT THREE
+ 0x0e54: 0xf4, # THAI DIGIT FOUR
+ 0x0e55: 0xf5, # THAI DIGIT FIVE
+ 0x0e56: 0xf6, # THAI DIGIT SIX
+ 0x0e57: 0xf7, # THAI DIGIT SEVEN
+ 0x0e58: 0xf8, # THAI DIGIT EIGHT
+ 0x0e59: 0xf9, # THAI DIGIT NINE
+ 0x0e5a: 0xfa, # THAI CHARACTER ANGKHANKHU
+ 0x0e5b: 0xfb, # THAI CHARACTER KHOMUT
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_13.py b/Lib/encodings/iso8859_13.py
index 14129bccb3a..e48552bb64a 100644
--- a/Lib/encodings/iso8859_13.py
+++ b/Lib/encodings/iso8859_13.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-13.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-13.TXT' with gencodec.py.
"""#"
@@ -28,586 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x00a5: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x00a8: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00aa: 0x0156, # LATIN CAPITAL LETTER R WITH CEDILLA
- 0x00af: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00b4: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x00b8: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00ba: 0x0157, # LATIN SMALL LETTER R WITH CEDILLA
- 0x00bf: 0x00e6, # LATIN SMALL LETTER AE
- 0x00c0: 0x0104, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x00c1: 0x012e, # LATIN CAPITAL LETTER I WITH OGONEK
- 0x00c2: 0x0100, # LATIN CAPITAL LETTER A WITH MACRON
- 0x00c3: 0x0106, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x00c6: 0x0118, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x00c7: 0x0112, # LATIN CAPITAL LETTER E WITH MACRON
- 0x00c8: 0x010c, # LATIN CAPITAL LETTER C WITH CARON
- 0x00ca: 0x0179, # LATIN CAPITAL LETTER Z WITH ACUTE
- 0x00cb: 0x0116, # LATIN CAPITAL LETTER E WITH DOT ABOVE
- 0x00cc: 0x0122, # LATIN CAPITAL LETTER G WITH CEDILLA
- 0x00cd: 0x0136, # LATIN CAPITAL LETTER K WITH CEDILLA
- 0x00ce: 0x012a, # LATIN CAPITAL LETTER I WITH MACRON
- 0x00cf: 0x013b, # LATIN CAPITAL LETTER L WITH CEDILLA
- 0x00d0: 0x0160, # LATIN CAPITAL LETTER S WITH CARON
- 0x00d1: 0x0143, # LATIN CAPITAL LETTER N WITH ACUTE
- 0x00d2: 0x0145, # LATIN CAPITAL LETTER N WITH CEDILLA
- 0x00d4: 0x014c, # LATIN CAPITAL LETTER O WITH MACRON
- 0x00d8: 0x0172, # LATIN CAPITAL LETTER U WITH OGONEK
- 0x00d9: 0x0141, # LATIN CAPITAL LETTER L WITH STROKE
- 0x00da: 0x015a, # LATIN CAPITAL LETTER S WITH ACUTE
- 0x00db: 0x016a, # LATIN CAPITAL LETTER U WITH MACRON
- 0x00dd: 0x017b, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x00de: 0x017d, # LATIN CAPITAL LETTER Z WITH CARON
- 0x00e0: 0x0105, # LATIN SMALL LETTER A WITH OGONEK
- 0x00e1: 0x012f, # LATIN SMALL LETTER I WITH OGONEK
- 0x00e2: 0x0101, # LATIN SMALL LETTER A WITH MACRON
- 0x00e3: 0x0107, # LATIN SMALL LETTER C WITH ACUTE
- 0x00e6: 0x0119, # LATIN SMALL LETTER E WITH OGONEK
- 0x00e7: 0x0113, # LATIN SMALL LETTER E WITH MACRON
- 0x00e8: 0x010d, # LATIN SMALL LETTER C WITH CARON
- 0x00ea: 0x017a, # LATIN SMALL LETTER Z WITH ACUTE
- 0x00eb: 0x0117, # LATIN SMALL LETTER E WITH DOT ABOVE
- 0x00ec: 0x0123, # LATIN SMALL LETTER G WITH CEDILLA
- 0x00ed: 0x0137, # LATIN SMALL LETTER K WITH CEDILLA
- 0x00ee: 0x012b, # LATIN SMALL LETTER I WITH MACRON
- 0x00ef: 0x013c, # LATIN SMALL LETTER L WITH CEDILLA
- 0x00f0: 0x0161, # LATIN SMALL LETTER S WITH CARON
- 0x00f1: 0x0144, # LATIN SMALL LETTER N WITH ACUTE
- 0x00f2: 0x0146, # LATIN SMALL LETTER N WITH CEDILLA
- 0x00f4: 0x014d, # LATIN SMALL LETTER O WITH MACRON
- 0x00f8: 0x0173, # LATIN SMALL LETTER U WITH OGONEK
- 0x00f9: 0x0142, # LATIN SMALL LETTER L WITH STROKE
- 0x00fa: 0x015b, # LATIN SMALL LETTER S WITH ACUTE
- 0x00fb: 0x016b, # LATIN SMALL LETTER U WITH MACRON
- 0x00fd: 0x017c, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x00fe: 0x017e, # LATIN SMALL LETTER Z WITH CARON
- 0x00ff: 0x2019, # RIGHT SINGLE QUOTATION MARK
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u201d' # 0x00a1 -> RIGHT DOUBLE QUOTATION MARK
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\u201e' # 0x00a5 -> DOUBLE LOW-9 QUOTATION MARK
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xd8' # 0x00a8 -> LATIN CAPITAL LETTER O WITH STROKE
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u0156' # 0x00aa -> LATIN CAPITAL LETTER R WITH CEDILLA
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\xc6' # 0x00af -> LATIN CAPITAL LETTER AE
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\u201c' # 0x00b4 -> LEFT DOUBLE QUOTATION MARK
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\xf8' # 0x00b8 -> LATIN SMALL LETTER O WITH STROKE
- u'\xb9' # 0x00b9 -> SUPERSCRIPT ONE
- u'\u0157' # 0x00ba -> LATIN SMALL LETTER R WITH CEDILLA
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbc' # 0x00bc -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00be -> VULGAR FRACTION THREE QUARTERS
- u'\xe6' # 0x00bf -> LATIN SMALL LETTER AE
- u'\u0104' # 0x00c0 -> LATIN CAPITAL LETTER A WITH OGONEK
- u'\u012e' # 0x00c1 -> LATIN CAPITAL LETTER I WITH OGONEK
- u'\u0100' # 0x00c2 -> LATIN CAPITAL LETTER A WITH MACRON
- u'\u0106' # 0x00c3 -> LATIN CAPITAL LETTER C WITH ACUTE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x00c5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\u0118' # 0x00c6 -> LATIN CAPITAL LETTER E WITH OGONEK
- u'\u0112' # 0x00c7 -> LATIN CAPITAL LETTER E WITH MACRON
- u'\u010c' # 0x00c8 -> LATIN CAPITAL LETTER C WITH CARON
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\u0179' # 0x00ca -> LATIN CAPITAL LETTER Z WITH ACUTE
- u'\u0116' # 0x00cb -> LATIN CAPITAL LETTER E WITH DOT ABOVE
- u'\u0122' # 0x00cc -> LATIN CAPITAL LETTER G WITH CEDILLA
- u'\u0136' # 0x00cd -> LATIN CAPITAL LETTER K WITH CEDILLA
- u'\u012a' # 0x00ce -> LATIN CAPITAL LETTER I WITH MACRON
- u'\u013b' # 0x00cf -> LATIN CAPITAL LETTER L WITH CEDILLA
- u'\u0160' # 0x00d0 -> LATIN CAPITAL LETTER S WITH CARON
- u'\u0143' # 0x00d1 -> LATIN CAPITAL LETTER N WITH ACUTE
- u'\u0145' # 0x00d2 -> LATIN CAPITAL LETTER N WITH CEDILLA
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\u014c' # 0x00d4 -> LATIN CAPITAL LETTER O WITH MACRON
- u'\xd5' # 0x00d5 -> LATIN CAPITAL LETTER O WITH TILDE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\u0172' # 0x00d8 -> LATIN CAPITAL LETTER U WITH OGONEK
- u'\u0141' # 0x00d9 -> LATIN CAPITAL LETTER L WITH STROKE
- u'\u015a' # 0x00da -> LATIN CAPITAL LETTER S WITH ACUTE
- u'\u016a' # 0x00db -> LATIN CAPITAL LETTER U WITH MACRON
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\u017b' # 0x00dd -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
- u'\u017d' # 0x00de -> LATIN CAPITAL LETTER Z WITH CARON
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S (German)
- u'\u0105' # 0x00e0 -> LATIN SMALL LETTER A WITH OGONEK
- u'\u012f' # 0x00e1 -> LATIN SMALL LETTER I WITH OGONEK
- u'\u0101' # 0x00e2 -> LATIN SMALL LETTER A WITH MACRON
- u'\u0107' # 0x00e3 -> LATIN SMALL LETTER C WITH ACUTE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe5' # 0x00e5 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\u0119' # 0x00e6 -> LATIN SMALL LETTER E WITH OGONEK
- u'\u0113' # 0x00e7 -> LATIN SMALL LETTER E WITH MACRON
- u'\u010d' # 0x00e8 -> LATIN SMALL LETTER C WITH CARON
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\u017a' # 0x00ea -> LATIN SMALL LETTER Z WITH ACUTE
- u'\u0117' # 0x00eb -> LATIN SMALL LETTER E WITH DOT ABOVE
- u'\u0123' # 0x00ec -> LATIN SMALL LETTER G WITH CEDILLA
- u'\u0137' # 0x00ed -> LATIN SMALL LETTER K WITH CEDILLA
- u'\u012b' # 0x00ee -> LATIN SMALL LETTER I WITH MACRON
- u'\u013c' # 0x00ef -> LATIN SMALL LETTER L WITH CEDILLA
- u'\u0161' # 0x00f0 -> LATIN SMALL LETTER S WITH CARON
- u'\u0144' # 0x00f1 -> LATIN SMALL LETTER N WITH ACUTE
- u'\u0146' # 0x00f2 -> LATIN SMALL LETTER N WITH CEDILLA
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\u014d' # 0x00f4 -> LATIN SMALL LETTER O WITH MACRON
- u'\xf5' # 0x00f5 -> LATIN SMALL LETTER O WITH TILDE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\u0173' # 0x00f8 -> LATIN SMALL LETTER U WITH OGONEK
- u'\u0142' # 0x00f9 -> LATIN SMALL LETTER L WITH STROKE
- u'\u015b' # 0x00fa -> LATIN SMALL LETTER S WITH ACUTE
- u'\u016b' # 0x00fb -> LATIN SMALL LETTER U WITH MACRON
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u017c' # 0x00fd -> LATIN SMALL LETTER Z WITH DOT ABOVE
- u'\u017e' # 0x00fe -> LATIN SMALL LETTER Z WITH CARON
- u'\u2019' # 0x00ff -> RIGHT SINGLE QUOTATION MARK
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u201d' # 0xa1 -> RIGHT DOUBLE QUOTATION MARK
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\u201e' # 0xa5 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xd8' # 0xa8 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u0156' # 0xaa -> LATIN CAPITAL LETTER R WITH CEDILLA
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\xc6' # 0xaf -> LATIN CAPITAL LETTER AE
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\u201c' # 0xb4 -> LEFT DOUBLE QUOTATION MARK
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\xf8' # 0xb8 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xb9' # 0xb9 -> SUPERSCRIPT ONE
+ u'\u0157' # 0xba -> LATIN SMALL LETTER R WITH CEDILLA
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbc' # 0xbc -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xbe -> VULGAR FRACTION THREE QUARTERS
+ u'\xe6' # 0xbf -> LATIN SMALL LETTER AE
+ u'\u0104' # 0xc0 -> LATIN CAPITAL LETTER A WITH OGONEK
+ u'\u012e' # 0xc1 -> LATIN CAPITAL LETTER I WITH OGONEK
+ u'\u0100' # 0xc2 -> LATIN CAPITAL LETTER A WITH MACRON
+ u'\u0106' # 0xc3 -> LATIN CAPITAL LETTER C WITH ACUTE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0xc5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\u0118' # 0xc6 -> LATIN CAPITAL LETTER E WITH OGONEK
+ u'\u0112' # 0xc7 -> LATIN CAPITAL LETTER E WITH MACRON
+ u'\u010c' # 0xc8 -> LATIN CAPITAL LETTER C WITH CARON
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\u0179' # 0xca -> LATIN CAPITAL LETTER Z WITH ACUTE
+ u'\u0116' # 0xcb -> LATIN CAPITAL LETTER E WITH DOT ABOVE
+ u'\u0122' # 0xcc -> LATIN CAPITAL LETTER G WITH CEDILLA
+ u'\u0136' # 0xcd -> LATIN CAPITAL LETTER K WITH CEDILLA
+ u'\u012a' # 0xce -> LATIN CAPITAL LETTER I WITH MACRON
+ u'\u013b' # 0xcf -> LATIN CAPITAL LETTER L WITH CEDILLA
+ u'\u0160' # 0xd0 -> LATIN CAPITAL LETTER S WITH CARON
+ u'\u0143' # 0xd1 -> LATIN CAPITAL LETTER N WITH ACUTE
+ u'\u0145' # 0xd2 -> LATIN CAPITAL LETTER N WITH CEDILLA
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\u014c' # 0xd4 -> LATIN CAPITAL LETTER O WITH MACRON
+ u'\xd5' # 0xd5 -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\u0172' # 0xd8 -> LATIN CAPITAL LETTER U WITH OGONEK
+ u'\u0141' # 0xd9 -> LATIN CAPITAL LETTER L WITH STROKE
+ u'\u015a' # 0xda -> LATIN CAPITAL LETTER S WITH ACUTE
+ u'\u016a' # 0xdb -> LATIN CAPITAL LETTER U WITH MACRON
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\u017b' # 0xdd -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ u'\u017d' # 0xde -> LATIN CAPITAL LETTER Z WITH CARON
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S (German)
+ u'\u0105' # 0xe0 -> LATIN SMALL LETTER A WITH OGONEK
+ u'\u012f' # 0xe1 -> LATIN SMALL LETTER I WITH OGONEK
+ u'\u0101' # 0xe2 -> LATIN SMALL LETTER A WITH MACRON
+ u'\u0107' # 0xe3 -> LATIN SMALL LETTER C WITH ACUTE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe5' # 0xe5 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\u0119' # 0xe6 -> LATIN SMALL LETTER E WITH OGONEK
+ u'\u0113' # 0xe7 -> LATIN SMALL LETTER E WITH MACRON
+ u'\u010d' # 0xe8 -> LATIN SMALL LETTER C WITH CARON
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\u017a' # 0xea -> LATIN SMALL LETTER Z WITH ACUTE
+ u'\u0117' # 0xeb -> LATIN SMALL LETTER E WITH DOT ABOVE
+ u'\u0123' # 0xec -> LATIN SMALL LETTER G WITH CEDILLA
+ u'\u0137' # 0xed -> LATIN SMALL LETTER K WITH CEDILLA
+ u'\u012b' # 0xee -> LATIN SMALL LETTER I WITH MACRON
+ u'\u013c' # 0xef -> LATIN SMALL LETTER L WITH CEDILLA
+ u'\u0161' # 0xf0 -> LATIN SMALL LETTER S WITH CARON
+ u'\u0144' # 0xf1 -> LATIN SMALL LETTER N WITH ACUTE
+ u'\u0146' # 0xf2 -> LATIN SMALL LETTER N WITH CEDILLA
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\u014d' # 0xf4 -> LATIN SMALL LETTER O WITH MACRON
+ u'\xf5' # 0xf5 -> LATIN SMALL LETTER O WITH TILDE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\u0173' # 0xf8 -> LATIN SMALL LETTER U WITH OGONEK
+ u'\u0142' # 0xf9 -> LATIN SMALL LETTER L WITH STROKE
+ u'\u015b' # 0xfa -> LATIN SMALL LETTER S WITH ACUTE
+ u'\u016b' # 0xfb -> LATIN SMALL LETTER U WITH MACRON
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u017c' # 0xfd -> LATIN SMALL LETTER Z WITH DOT ABOVE
+ u'\u017e' # 0xfe -> LATIN SMALL LETTER Z WITH CARON
+ u'\u2019' # 0xff -> RIGHT SINGLE QUOTATION MARK
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b9: 0x00b9, # SUPERSCRIPT ONE
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00af, # LATIN CAPITAL LETTER AE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d5: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00d8: 0x00a8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S (German)
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00bf, # LATIN SMALL LETTER AE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f5: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00f8: 0x00b8, # LATIN SMALL LETTER O WITH STROKE
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x0100: 0x00c2, # LATIN CAPITAL LETTER A WITH MACRON
- 0x0101: 0x00e2, # LATIN SMALL LETTER A WITH MACRON
- 0x0104: 0x00c0, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x0105: 0x00e0, # LATIN SMALL LETTER A WITH OGONEK
- 0x0106: 0x00c3, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x0107: 0x00e3, # LATIN SMALL LETTER C WITH ACUTE
- 0x010c: 0x00c8, # LATIN CAPITAL LETTER C WITH CARON
- 0x010d: 0x00e8, # LATIN SMALL LETTER C WITH CARON
- 0x0112: 0x00c7, # LATIN CAPITAL LETTER E WITH MACRON
- 0x0113: 0x00e7, # LATIN SMALL LETTER E WITH MACRON
- 0x0116: 0x00cb, # LATIN CAPITAL LETTER E WITH DOT ABOVE
- 0x0117: 0x00eb, # LATIN SMALL LETTER E WITH DOT ABOVE
- 0x0118: 0x00c6, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x0119: 0x00e6, # LATIN SMALL LETTER E WITH OGONEK
- 0x0122: 0x00cc, # LATIN CAPITAL LETTER G WITH CEDILLA
- 0x0123: 0x00ec, # LATIN SMALL LETTER G WITH CEDILLA
- 0x012a: 0x00ce, # LATIN CAPITAL LETTER I WITH MACRON
- 0x012b: 0x00ee, # LATIN SMALL LETTER I WITH MACRON
- 0x012e: 0x00c1, # LATIN CAPITAL LETTER I WITH OGONEK
- 0x012f: 0x00e1, # LATIN SMALL LETTER I WITH OGONEK
- 0x0136: 0x00cd, # LATIN CAPITAL LETTER K WITH CEDILLA
- 0x0137: 0x00ed, # LATIN SMALL LETTER K WITH CEDILLA
- 0x013b: 0x00cf, # LATIN CAPITAL LETTER L WITH CEDILLA
- 0x013c: 0x00ef, # LATIN SMALL LETTER L WITH CEDILLA
- 0x0141: 0x00d9, # LATIN CAPITAL LETTER L WITH STROKE
- 0x0142: 0x00f9, # LATIN SMALL LETTER L WITH STROKE
- 0x0143: 0x00d1, # LATIN CAPITAL LETTER N WITH ACUTE
- 0x0144: 0x00f1, # LATIN SMALL LETTER N WITH ACUTE
- 0x0145: 0x00d2, # LATIN CAPITAL LETTER N WITH CEDILLA
- 0x0146: 0x00f2, # LATIN SMALL LETTER N WITH CEDILLA
- 0x014c: 0x00d4, # LATIN CAPITAL LETTER O WITH MACRON
- 0x014d: 0x00f4, # LATIN SMALL LETTER O WITH MACRON
- 0x0156: 0x00aa, # LATIN CAPITAL LETTER R WITH CEDILLA
- 0x0157: 0x00ba, # LATIN SMALL LETTER R WITH CEDILLA
- 0x015a: 0x00da, # LATIN CAPITAL LETTER S WITH ACUTE
- 0x015b: 0x00fa, # LATIN SMALL LETTER S WITH ACUTE
- 0x0160: 0x00d0, # LATIN CAPITAL LETTER S WITH CARON
- 0x0161: 0x00f0, # LATIN SMALL LETTER S WITH CARON
- 0x016a: 0x00db, # LATIN CAPITAL LETTER U WITH MACRON
- 0x016b: 0x00fb, # LATIN SMALL LETTER U WITH MACRON
- 0x0172: 0x00d8, # LATIN CAPITAL LETTER U WITH OGONEK
- 0x0173: 0x00f8, # LATIN SMALL LETTER U WITH OGONEK
- 0x0179: 0x00ca, # LATIN CAPITAL LETTER Z WITH ACUTE
- 0x017a: 0x00ea, # LATIN SMALL LETTER Z WITH ACUTE
- 0x017b: 0x00dd, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x017c: 0x00fd, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x017d: 0x00de, # LATIN CAPITAL LETTER Z WITH CARON
- 0x017e: 0x00fe, # LATIN SMALL LETTER Z WITH CARON
- 0x2019: 0x00ff, # RIGHT SINGLE QUOTATION MARK
- 0x201c: 0x00b4, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x00a1, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x00a5, # DOUBLE LOW-9 QUOTATION MARK
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b9: 0xb9, # SUPERSCRIPT ONE
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xbc, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xbe, # VULGAR FRACTION THREE QUARTERS
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0xc5, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xaf, # LATIN CAPITAL LETTER AE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d5: 0xd5, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00d8: 0xa8, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S (German)
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0xe5, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xbf, # LATIN SMALL LETTER AE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f5: 0xf5, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00f8: 0xb8, # LATIN SMALL LETTER O WITH STROKE
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x0100: 0xc2, # LATIN CAPITAL LETTER A WITH MACRON
+ 0x0101: 0xe2, # LATIN SMALL LETTER A WITH MACRON
+ 0x0104: 0xc0, # LATIN CAPITAL LETTER A WITH OGONEK
+ 0x0105: 0xe0, # LATIN SMALL LETTER A WITH OGONEK
+ 0x0106: 0xc3, # LATIN CAPITAL LETTER C WITH ACUTE
+ 0x0107: 0xe3, # LATIN SMALL LETTER C WITH ACUTE
+ 0x010c: 0xc8, # LATIN CAPITAL LETTER C WITH CARON
+ 0x010d: 0xe8, # LATIN SMALL LETTER C WITH CARON
+ 0x0112: 0xc7, # LATIN CAPITAL LETTER E WITH MACRON
+ 0x0113: 0xe7, # LATIN SMALL LETTER E WITH MACRON
+ 0x0116: 0xcb, # LATIN CAPITAL LETTER E WITH DOT ABOVE
+ 0x0117: 0xeb, # LATIN SMALL LETTER E WITH DOT ABOVE
+ 0x0118: 0xc6, # LATIN CAPITAL LETTER E WITH OGONEK
+ 0x0119: 0xe6, # LATIN SMALL LETTER E WITH OGONEK
+ 0x0122: 0xcc, # LATIN CAPITAL LETTER G WITH CEDILLA
+ 0x0123: 0xec, # LATIN SMALL LETTER G WITH CEDILLA
+ 0x012a: 0xce, # LATIN CAPITAL LETTER I WITH MACRON
+ 0x012b: 0xee, # LATIN SMALL LETTER I WITH MACRON
+ 0x012e: 0xc1, # LATIN CAPITAL LETTER I WITH OGONEK
+ 0x012f: 0xe1, # LATIN SMALL LETTER I WITH OGONEK
+ 0x0136: 0xcd, # LATIN CAPITAL LETTER K WITH CEDILLA
+ 0x0137: 0xed, # LATIN SMALL LETTER K WITH CEDILLA
+ 0x013b: 0xcf, # LATIN CAPITAL LETTER L WITH CEDILLA
+ 0x013c: 0xef, # LATIN SMALL LETTER L WITH CEDILLA
+ 0x0141: 0xd9, # LATIN CAPITAL LETTER L WITH STROKE
+ 0x0142: 0xf9, # LATIN SMALL LETTER L WITH STROKE
+ 0x0143: 0xd1, # LATIN CAPITAL LETTER N WITH ACUTE
+ 0x0144: 0xf1, # LATIN SMALL LETTER N WITH ACUTE
+ 0x0145: 0xd2, # LATIN CAPITAL LETTER N WITH CEDILLA
+ 0x0146: 0xf2, # LATIN SMALL LETTER N WITH CEDILLA
+ 0x014c: 0xd4, # LATIN CAPITAL LETTER O WITH MACRON
+ 0x014d: 0xf4, # LATIN SMALL LETTER O WITH MACRON
+ 0x0156: 0xaa, # LATIN CAPITAL LETTER R WITH CEDILLA
+ 0x0157: 0xba, # LATIN SMALL LETTER R WITH CEDILLA
+ 0x015a: 0xda, # LATIN CAPITAL LETTER S WITH ACUTE
+ 0x015b: 0xfa, # LATIN SMALL LETTER S WITH ACUTE
+ 0x0160: 0xd0, # LATIN CAPITAL LETTER S WITH CARON
+ 0x0161: 0xf0, # LATIN SMALL LETTER S WITH CARON
+ 0x016a: 0xdb, # LATIN CAPITAL LETTER U WITH MACRON
+ 0x016b: 0xfb, # LATIN SMALL LETTER U WITH MACRON
+ 0x0172: 0xd8, # LATIN CAPITAL LETTER U WITH OGONEK
+ 0x0173: 0xf8, # LATIN SMALL LETTER U WITH OGONEK
+ 0x0179: 0xca, # LATIN CAPITAL LETTER Z WITH ACUTE
+ 0x017a: 0xea, # LATIN SMALL LETTER Z WITH ACUTE
+ 0x017b: 0xdd, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ 0x017c: 0xfd, # LATIN SMALL LETTER Z WITH DOT ABOVE
+ 0x017d: 0xde, # LATIN CAPITAL LETTER Z WITH CARON
+ 0x017e: 0xfe, # LATIN SMALL LETTER Z WITH CARON
+ 0x2019: 0xff, # RIGHT SINGLE QUOTATION MARK
+ 0x201c: 0xb4, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0xa1, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0xa5, # DOUBLE LOW-9 QUOTATION MARK
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_14.py b/Lib/encodings/iso8859_14.py
index 2bc8137a7bf..2622cce6a67 100644
--- a/Lib/encodings/iso8859_14.py
+++ b/Lib/encodings/iso8859_14.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-14.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-14.TXT' with gencodec.py.
"""#"
@@ -28,561 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: 0x1e02, # LATIN CAPITAL LETTER B WITH DOT ABOVE
- 0x00a2: 0x1e03, # LATIN SMALL LETTER B WITH DOT ABOVE
- 0x00a4: 0x010a, # LATIN CAPITAL LETTER C WITH DOT ABOVE
- 0x00a5: 0x010b, # LATIN SMALL LETTER C WITH DOT ABOVE
- 0x00a6: 0x1e0a, # LATIN CAPITAL LETTER D WITH DOT ABOVE
- 0x00a8: 0x1e80, # LATIN CAPITAL LETTER W WITH GRAVE
- 0x00aa: 0x1e82, # LATIN CAPITAL LETTER W WITH ACUTE
- 0x00ab: 0x1e0b, # LATIN SMALL LETTER D WITH DOT ABOVE
- 0x00ac: 0x1ef2, # LATIN CAPITAL LETTER Y WITH GRAVE
- 0x00af: 0x0178, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x00b0: 0x1e1e, # LATIN CAPITAL LETTER F WITH DOT ABOVE
- 0x00b1: 0x1e1f, # LATIN SMALL LETTER F WITH DOT ABOVE
- 0x00b2: 0x0120, # LATIN CAPITAL LETTER G WITH DOT ABOVE
- 0x00b3: 0x0121, # LATIN SMALL LETTER G WITH DOT ABOVE
- 0x00b4: 0x1e40, # LATIN CAPITAL LETTER M WITH DOT ABOVE
- 0x00b5: 0x1e41, # LATIN SMALL LETTER M WITH DOT ABOVE
- 0x00b7: 0x1e56, # LATIN CAPITAL LETTER P WITH DOT ABOVE
- 0x00b8: 0x1e81, # LATIN SMALL LETTER W WITH GRAVE
- 0x00b9: 0x1e57, # LATIN SMALL LETTER P WITH DOT ABOVE
- 0x00ba: 0x1e83, # LATIN SMALL LETTER W WITH ACUTE
- 0x00bb: 0x1e60, # LATIN CAPITAL LETTER S WITH DOT ABOVE
- 0x00bc: 0x1ef3, # LATIN SMALL LETTER Y WITH GRAVE
- 0x00bd: 0x1e84, # LATIN CAPITAL LETTER W WITH DIAERESIS
- 0x00be: 0x1e85, # LATIN SMALL LETTER W WITH DIAERESIS
- 0x00bf: 0x1e61, # LATIN SMALL LETTER S WITH DOT ABOVE
- 0x00d0: 0x0174, # LATIN CAPITAL LETTER W WITH CIRCUMFLEX
- 0x00d7: 0x1e6a, # LATIN CAPITAL LETTER T WITH DOT ABOVE
- 0x00de: 0x0176, # LATIN CAPITAL LETTER Y WITH CIRCUMFLEX
- 0x00f0: 0x0175, # LATIN SMALL LETTER W WITH CIRCUMFLEX
- 0x00f7: 0x1e6b, # LATIN SMALL LETTER T WITH DOT ABOVE
- 0x00fe: 0x0177, # LATIN SMALL LETTER Y WITH CIRCUMFLEX
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u1e02' # 0x00a1 -> LATIN CAPITAL LETTER B WITH DOT ABOVE
- u'\u1e03' # 0x00a2 -> LATIN SMALL LETTER B WITH DOT ABOVE
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\u010a' # 0x00a4 -> LATIN CAPITAL LETTER C WITH DOT ABOVE
- u'\u010b' # 0x00a5 -> LATIN SMALL LETTER C WITH DOT ABOVE
- u'\u1e0a' # 0x00a6 -> LATIN CAPITAL LETTER D WITH DOT ABOVE
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\u1e80' # 0x00a8 -> LATIN CAPITAL LETTER W WITH GRAVE
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u1e82' # 0x00aa -> LATIN CAPITAL LETTER W WITH ACUTE
- u'\u1e0b' # 0x00ab -> LATIN SMALL LETTER D WITH DOT ABOVE
- u'\u1ef2' # 0x00ac -> LATIN CAPITAL LETTER Y WITH GRAVE
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\u0178' # 0x00af -> LATIN CAPITAL LETTER Y WITH DIAERESIS
- u'\u1e1e' # 0x00b0 -> LATIN CAPITAL LETTER F WITH DOT ABOVE
- u'\u1e1f' # 0x00b1 -> LATIN SMALL LETTER F WITH DOT ABOVE
- u'\u0120' # 0x00b2 -> LATIN CAPITAL LETTER G WITH DOT ABOVE
- u'\u0121' # 0x00b3 -> LATIN SMALL LETTER G WITH DOT ABOVE
- u'\u1e40' # 0x00b4 -> LATIN CAPITAL LETTER M WITH DOT ABOVE
- u'\u1e41' # 0x00b5 -> LATIN SMALL LETTER M WITH DOT ABOVE
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\u1e56' # 0x00b7 -> LATIN CAPITAL LETTER P WITH DOT ABOVE
- u'\u1e81' # 0x00b8 -> LATIN SMALL LETTER W WITH GRAVE
- u'\u1e57' # 0x00b9 -> LATIN SMALL LETTER P WITH DOT ABOVE
- u'\u1e83' # 0x00ba -> LATIN SMALL LETTER W WITH ACUTE
- u'\u1e60' # 0x00bb -> LATIN CAPITAL LETTER S WITH DOT ABOVE
- u'\u1ef3' # 0x00bc -> LATIN SMALL LETTER Y WITH GRAVE
- u'\u1e84' # 0x00bd -> LATIN CAPITAL LETTER W WITH DIAERESIS
- u'\u1e85' # 0x00be -> LATIN SMALL LETTER W WITH DIAERESIS
- u'\u1e61' # 0x00bf -> LATIN SMALL LETTER S WITH DOT ABOVE
- u'\xc0' # 0x00c0 -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xc3' # 0x00c3 -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x00c5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc6' # 0x00c6 -> LATIN CAPITAL LETTER AE
- u'\xc7' # 0x00c7 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc8' # 0x00c8 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xca' # 0x00ca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xcc' # 0x00cc -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00cf -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\u0174' # 0x00d0 -> LATIN CAPITAL LETTER W WITH CIRCUMFLEX
- u'\xd1' # 0x00d1 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd2' # 0x00d2 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\xd5' # 0x00d5 -> LATIN CAPITAL LETTER O WITH TILDE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\u1e6a' # 0x00d7 -> LATIN CAPITAL LETTER T WITH DOT ABOVE
- u'\xd8' # 0x00d8 -> LATIN CAPITAL LETTER O WITH STROKE
- u'\xd9' # 0x00d9 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00db -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xdd' # 0x00dd -> LATIN CAPITAL LETTER Y WITH ACUTE
- u'\u0176' # 0x00de -> LATIN CAPITAL LETTER Y WITH CIRCUMFLEX
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S
- u'\xe0' # 0x00e0 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe3' # 0x00e3 -> LATIN SMALL LETTER A WITH TILDE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe5' # 0x00e5 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe6' # 0x00e6 -> LATIN SMALL LETTER AE
- u'\xe7' # 0x00e7 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe8' # 0x00e8 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x00ea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xec' # 0x00ec -> LATIN SMALL LETTER I WITH GRAVE
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x00ef -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\u0175' # 0x00f0 -> LATIN SMALL LETTER W WITH CIRCUMFLEX
- u'\xf1' # 0x00f1 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf2' # 0x00f2 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf5' # 0x00f5 -> LATIN SMALL LETTER O WITH TILDE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\u1e6b' # 0x00f7 -> LATIN SMALL LETTER T WITH DOT ABOVE
- u'\xf8' # 0x00f8 -> LATIN SMALL LETTER O WITH STROKE
- u'\xf9' # 0x00f9 -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\xfb' # 0x00fb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\xfd' # 0x00fd -> LATIN SMALL LETTER Y WITH ACUTE
- u'\u0177' # 0x00fe -> LATIN SMALL LETTER Y WITH CIRCUMFLEX
- u'\xff' # 0x00ff -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u1e02' # 0xa1 -> LATIN CAPITAL LETTER B WITH DOT ABOVE
+ u'\u1e03' # 0xa2 -> LATIN SMALL LETTER B WITH DOT ABOVE
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\u010a' # 0xa4 -> LATIN CAPITAL LETTER C WITH DOT ABOVE
+ u'\u010b' # 0xa5 -> LATIN SMALL LETTER C WITH DOT ABOVE
+ u'\u1e0a' # 0xa6 -> LATIN CAPITAL LETTER D WITH DOT ABOVE
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\u1e80' # 0xa8 -> LATIN CAPITAL LETTER W WITH GRAVE
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u1e82' # 0xaa -> LATIN CAPITAL LETTER W WITH ACUTE
+ u'\u1e0b' # 0xab -> LATIN SMALL LETTER D WITH DOT ABOVE
+ u'\u1ef2' # 0xac -> LATIN CAPITAL LETTER Y WITH GRAVE
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\u0178' # 0xaf -> LATIN CAPITAL LETTER Y WITH DIAERESIS
+ u'\u1e1e' # 0xb0 -> LATIN CAPITAL LETTER F WITH DOT ABOVE
+ u'\u1e1f' # 0xb1 -> LATIN SMALL LETTER F WITH DOT ABOVE
+ u'\u0120' # 0xb2 -> LATIN CAPITAL LETTER G WITH DOT ABOVE
+ u'\u0121' # 0xb3 -> LATIN SMALL LETTER G WITH DOT ABOVE
+ u'\u1e40' # 0xb4 -> LATIN CAPITAL LETTER M WITH DOT ABOVE
+ u'\u1e41' # 0xb5 -> LATIN SMALL LETTER M WITH DOT ABOVE
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\u1e56' # 0xb7 -> LATIN CAPITAL LETTER P WITH DOT ABOVE
+ u'\u1e81' # 0xb8 -> LATIN SMALL LETTER W WITH GRAVE
+ u'\u1e57' # 0xb9 -> LATIN SMALL LETTER P WITH DOT ABOVE
+ u'\u1e83' # 0xba -> LATIN SMALL LETTER W WITH ACUTE
+ u'\u1e60' # 0xbb -> LATIN CAPITAL LETTER S WITH DOT ABOVE
+ u'\u1ef3' # 0xbc -> LATIN SMALL LETTER Y WITH GRAVE
+ u'\u1e84' # 0xbd -> LATIN CAPITAL LETTER W WITH DIAERESIS
+ u'\u1e85' # 0xbe -> LATIN SMALL LETTER W WITH DIAERESIS
+ u'\u1e61' # 0xbf -> LATIN SMALL LETTER S WITH DOT ABOVE
+ u'\xc0' # 0xc0 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xc3' # 0xc3 -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0xc5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc6' # 0xc6 -> LATIN CAPITAL LETTER AE
+ u'\xc7' # 0xc7 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc8' # 0xc8 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0xca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xcc' # 0xcc -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xcf -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\u0174' # 0xd0 -> LATIN CAPITAL LETTER W WITH CIRCUMFLEX
+ u'\xd1' # 0xd1 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd2' # 0xd2 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\xd5' # 0xd5 -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\u1e6a' # 0xd7 -> LATIN CAPITAL LETTER T WITH DOT ABOVE
+ u'\xd8' # 0xd8 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\xd9' # 0xd9 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xdb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xdd' # 0xdd -> LATIN CAPITAL LETTER Y WITH ACUTE
+ u'\u0176' # 0xde -> LATIN CAPITAL LETTER Y WITH CIRCUMFLEX
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S
+ u'\xe0' # 0xe0 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe3' # 0xe3 -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe5' # 0xe5 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe6' # 0xe6 -> LATIN SMALL LETTER AE
+ u'\xe7' # 0xe7 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe8' # 0xe8 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0xea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xec' # 0xec -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0xef -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\u0175' # 0xf0 -> LATIN SMALL LETTER W WITH CIRCUMFLEX
+ u'\xf1' # 0xf1 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf2' # 0xf2 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf5' # 0xf5 -> LATIN SMALL LETTER O WITH TILDE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\u1e6b' # 0xf7 -> LATIN SMALL LETTER T WITH DOT ABOVE
+ u'\xf8' # 0xf8 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xf9' # 0xf9 -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xfb' # 0xfb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\xfd' # 0xfd -> LATIN SMALL LETTER Y WITH ACUTE
+ u'\u0177' # 0xfe -> LATIN SMALL LETTER Y WITH CIRCUMFLEX
+ u'\xff' # 0xff -> LATIN SMALL LETTER Y WITH DIAERESIS
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00c0: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00c7: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d1: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d8: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00dd: 0x00dd, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00e6, # LATIN SMALL LETTER AE
- 0x00e7: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f1: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f8: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00fd: 0x00fd, # LATIN SMALL LETTER Y WITH ACUTE
- 0x00ff: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x010a: 0x00a4, # LATIN CAPITAL LETTER C WITH DOT ABOVE
- 0x010b: 0x00a5, # LATIN SMALL LETTER C WITH DOT ABOVE
- 0x0120: 0x00b2, # LATIN CAPITAL LETTER G WITH DOT ABOVE
- 0x0121: 0x00b3, # LATIN SMALL LETTER G WITH DOT ABOVE
- 0x0174: 0x00d0, # LATIN CAPITAL LETTER W WITH CIRCUMFLEX
- 0x0175: 0x00f0, # LATIN SMALL LETTER W WITH CIRCUMFLEX
- 0x0176: 0x00de, # LATIN CAPITAL LETTER Y WITH CIRCUMFLEX
- 0x0177: 0x00fe, # LATIN SMALL LETTER Y WITH CIRCUMFLEX
- 0x0178: 0x00af, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x1e02: 0x00a1, # LATIN CAPITAL LETTER B WITH DOT ABOVE
- 0x1e03: 0x00a2, # LATIN SMALL LETTER B WITH DOT ABOVE
- 0x1e0a: 0x00a6, # LATIN CAPITAL LETTER D WITH DOT ABOVE
- 0x1e0b: 0x00ab, # LATIN SMALL LETTER D WITH DOT ABOVE
- 0x1e1e: 0x00b0, # LATIN CAPITAL LETTER F WITH DOT ABOVE
- 0x1e1f: 0x00b1, # LATIN SMALL LETTER F WITH DOT ABOVE
- 0x1e40: 0x00b4, # LATIN CAPITAL LETTER M WITH DOT ABOVE
- 0x1e41: 0x00b5, # LATIN SMALL LETTER M WITH DOT ABOVE
- 0x1e56: 0x00b7, # LATIN CAPITAL LETTER P WITH DOT ABOVE
- 0x1e57: 0x00b9, # LATIN SMALL LETTER P WITH DOT ABOVE
- 0x1e60: 0x00bb, # LATIN CAPITAL LETTER S WITH DOT ABOVE
- 0x1e61: 0x00bf, # LATIN SMALL LETTER S WITH DOT ABOVE
- 0x1e6a: 0x00d7, # LATIN CAPITAL LETTER T WITH DOT ABOVE
- 0x1e6b: 0x00f7, # LATIN SMALL LETTER T WITH DOT ABOVE
- 0x1e80: 0x00a8, # LATIN CAPITAL LETTER W WITH GRAVE
- 0x1e81: 0x00b8, # LATIN SMALL LETTER W WITH GRAVE
- 0x1e82: 0x00aa, # LATIN CAPITAL LETTER W WITH ACUTE
- 0x1e83: 0x00ba, # LATIN SMALL LETTER W WITH ACUTE
- 0x1e84: 0x00bd, # LATIN CAPITAL LETTER W WITH DIAERESIS
- 0x1e85: 0x00be, # LATIN SMALL LETTER W WITH DIAERESIS
- 0x1ef2: 0x00ac, # LATIN CAPITAL LETTER Y WITH GRAVE
- 0x1ef3: 0x00bc, # LATIN SMALL LETTER Y WITH GRAVE
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00c0: 0xc0, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xc3, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0xc5, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xc6, # LATIN CAPITAL LETTER AE
+ 0x00c7: 0xc7, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xc8, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xcc, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xcf, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d1: 0xd1, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xd2, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xd5, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d8: 0xd8, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xd9, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xdb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00dd: 0xdd, # LATIN CAPITAL LETTER Y WITH ACUTE
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0xe0, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0xe3, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0xe5, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xe6, # LATIN SMALL LETTER AE
+ 0x00e7: 0xe7, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0xe8, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0xea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0xec, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0xef, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f1: 0xf1, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0xf2, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0xf5, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f8: 0xf8, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0xf9, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xfb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00fd: 0xfd, # LATIN SMALL LETTER Y WITH ACUTE
+ 0x00ff: 0xff, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x010a: 0xa4, # LATIN CAPITAL LETTER C WITH DOT ABOVE
+ 0x010b: 0xa5, # LATIN SMALL LETTER C WITH DOT ABOVE
+ 0x0120: 0xb2, # LATIN CAPITAL LETTER G WITH DOT ABOVE
+ 0x0121: 0xb3, # LATIN SMALL LETTER G WITH DOT ABOVE
+ 0x0174: 0xd0, # LATIN CAPITAL LETTER W WITH CIRCUMFLEX
+ 0x0175: 0xf0, # LATIN SMALL LETTER W WITH CIRCUMFLEX
+ 0x0176: 0xde, # LATIN CAPITAL LETTER Y WITH CIRCUMFLEX
+ 0x0177: 0xfe, # LATIN SMALL LETTER Y WITH CIRCUMFLEX
+ 0x0178: 0xaf, # LATIN CAPITAL LETTER Y WITH DIAERESIS
+ 0x1e02: 0xa1, # LATIN CAPITAL LETTER B WITH DOT ABOVE
+ 0x1e03: 0xa2, # LATIN SMALL LETTER B WITH DOT ABOVE
+ 0x1e0a: 0xa6, # LATIN CAPITAL LETTER D WITH DOT ABOVE
+ 0x1e0b: 0xab, # LATIN SMALL LETTER D WITH DOT ABOVE
+ 0x1e1e: 0xb0, # LATIN CAPITAL LETTER F WITH DOT ABOVE
+ 0x1e1f: 0xb1, # LATIN SMALL LETTER F WITH DOT ABOVE
+ 0x1e40: 0xb4, # LATIN CAPITAL LETTER M WITH DOT ABOVE
+ 0x1e41: 0xb5, # LATIN SMALL LETTER M WITH DOT ABOVE
+ 0x1e56: 0xb7, # LATIN CAPITAL LETTER P WITH DOT ABOVE
+ 0x1e57: 0xb9, # LATIN SMALL LETTER P WITH DOT ABOVE
+ 0x1e60: 0xbb, # LATIN CAPITAL LETTER S WITH DOT ABOVE
+ 0x1e61: 0xbf, # LATIN SMALL LETTER S WITH DOT ABOVE
+ 0x1e6a: 0xd7, # LATIN CAPITAL LETTER T WITH DOT ABOVE
+ 0x1e6b: 0xf7, # LATIN SMALL LETTER T WITH DOT ABOVE
+ 0x1e80: 0xa8, # LATIN CAPITAL LETTER W WITH GRAVE
+ 0x1e81: 0xb8, # LATIN SMALL LETTER W WITH GRAVE
+ 0x1e82: 0xaa, # LATIN CAPITAL LETTER W WITH ACUTE
+ 0x1e83: 0xba, # LATIN SMALL LETTER W WITH ACUTE
+ 0x1e84: 0xbd, # LATIN CAPITAL LETTER W WITH DIAERESIS
+ 0x1e85: 0xbe, # LATIN SMALL LETTER W WITH DIAERESIS
+ 0x1ef2: 0xac, # LATIN CAPITAL LETTER Y WITH GRAVE
+ 0x1ef3: 0xbc, # LATIN SMALL LETTER Y WITH GRAVE
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_15.py b/Lib/encodings/iso8859_15.py
index b032b4ec4c7..b1f4e675829 100644
--- a/Lib/encodings/iso8859_15.py
+++ b/Lib/encodings/iso8859_15.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-15.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-15.TXT' with gencodec.py.
"""#"
@@ -28,538 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a4: 0x20ac, # EURO SIGN
- 0x00a6: 0x0160, # LATIN CAPITAL LETTER S WITH CARON
- 0x00a8: 0x0161, # LATIN SMALL LETTER S WITH CARON
- 0x00b4: 0x017d, # LATIN CAPITAL LETTER Z WITH CARON
- 0x00b8: 0x017e, # LATIN SMALL LETTER Z WITH CARON
- 0x00bc: 0x0152, # LATIN CAPITAL LIGATURE OE
- 0x00bd: 0x0153, # LATIN SMALL LIGATURE OE
- 0x00be: 0x0178, # LATIN CAPITAL LETTER Y WITH DIAERESIS
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\xa1' # 0x00a1 -> INVERTED EXCLAMATION MARK
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\u20ac' # 0x00a4 -> EURO SIGN
- u'\xa5' # 0x00a5 -> YEN SIGN
- u'\u0160' # 0x00a6 -> LATIN CAPITAL LETTER S WITH CARON
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\u0161' # 0x00a8 -> LATIN SMALL LETTER S WITH CARON
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\xaa' # 0x00aa -> FEMININE ORDINAL INDICATOR
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\xaf' # 0x00af -> MACRON
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\u017d' # 0x00b4 -> LATIN CAPITAL LETTER Z WITH CARON
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\u017e' # 0x00b8 -> LATIN SMALL LETTER Z WITH CARON
- u'\xb9' # 0x00b9 -> SUPERSCRIPT ONE
- u'\xba' # 0x00ba -> MASCULINE ORDINAL INDICATOR
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u0152' # 0x00bc -> LATIN CAPITAL LIGATURE OE
- u'\u0153' # 0x00bd -> LATIN SMALL LIGATURE OE
- u'\u0178' # 0x00be -> LATIN CAPITAL LETTER Y WITH DIAERESIS
- u'\xbf' # 0x00bf -> INVERTED QUESTION MARK
- u'\xc0' # 0x00c0 -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xc3' # 0x00c3 -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x00c5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc6' # 0x00c6 -> LATIN CAPITAL LETTER AE
- u'\xc7' # 0x00c7 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc8' # 0x00c8 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xca' # 0x00ca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xcc' # 0x00cc -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00cf -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\xd0' # 0x00d0 -> LATIN CAPITAL LETTER ETH
- u'\xd1' # 0x00d1 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd2' # 0x00d2 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\xd5' # 0x00d5 -> LATIN CAPITAL LETTER O WITH TILDE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\xd8' # 0x00d8 -> LATIN CAPITAL LETTER O WITH STROKE
- u'\xd9' # 0x00d9 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00db -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xdd' # 0x00dd -> LATIN CAPITAL LETTER Y WITH ACUTE
- u'\xde' # 0x00de -> LATIN CAPITAL LETTER THORN
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S
- u'\xe0' # 0x00e0 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe3' # 0x00e3 -> LATIN SMALL LETTER A WITH TILDE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe5' # 0x00e5 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe6' # 0x00e6 -> LATIN SMALL LETTER AE
- u'\xe7' # 0x00e7 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe8' # 0x00e8 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x00ea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xec' # 0x00ec -> LATIN SMALL LETTER I WITH GRAVE
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x00ef -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xf0' # 0x00f0 -> LATIN SMALL LETTER ETH
- u'\xf1' # 0x00f1 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf2' # 0x00f2 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf5' # 0x00f5 -> LATIN SMALL LETTER O WITH TILDE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\xf8' # 0x00f8 -> LATIN SMALL LETTER O WITH STROKE
- u'\xf9' # 0x00f9 -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\xfb' # 0x00fb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\xfd' # 0x00fd -> LATIN SMALL LETTER Y WITH ACUTE
- u'\xfe' # 0x00fe -> LATIN SMALL LETTER THORN
- u'\xff' # 0x00ff -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\xa1' # 0xa1 -> INVERTED EXCLAMATION MARK
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\u20ac' # 0xa4 -> EURO SIGN
+ u'\xa5' # 0xa5 -> YEN SIGN
+ u'\u0160' # 0xa6 -> LATIN CAPITAL LETTER S WITH CARON
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\u0161' # 0xa8 -> LATIN SMALL LETTER S WITH CARON
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\xaa' # 0xaa -> FEMININE ORDINAL INDICATOR
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\xaf' # 0xaf -> MACRON
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\u017d' # 0xb4 -> LATIN CAPITAL LETTER Z WITH CARON
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\u017e' # 0xb8 -> LATIN SMALL LETTER Z WITH CARON
+ u'\xb9' # 0xb9 -> SUPERSCRIPT ONE
+ u'\xba' # 0xba -> MASCULINE ORDINAL INDICATOR
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u0152' # 0xbc -> LATIN CAPITAL LIGATURE OE
+ u'\u0153' # 0xbd -> LATIN SMALL LIGATURE OE
+ u'\u0178' # 0xbe -> LATIN CAPITAL LETTER Y WITH DIAERESIS
+ u'\xbf' # 0xbf -> INVERTED QUESTION MARK
+ u'\xc0' # 0xc0 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xc3' # 0xc3 -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0xc5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc6' # 0xc6 -> LATIN CAPITAL LETTER AE
+ u'\xc7' # 0xc7 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc8' # 0xc8 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0xca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xcc' # 0xcc -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xcf -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xd0' # 0xd0 -> LATIN CAPITAL LETTER ETH
+ u'\xd1' # 0xd1 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd2' # 0xd2 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\xd5' # 0xd5 -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\xd8' # 0xd8 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\xd9' # 0xd9 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xdb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xdd' # 0xdd -> LATIN CAPITAL LETTER Y WITH ACUTE
+ u'\xde' # 0xde -> LATIN CAPITAL LETTER THORN
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S
+ u'\xe0' # 0xe0 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe3' # 0xe3 -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe5' # 0xe5 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe6' # 0xe6 -> LATIN SMALL LETTER AE
+ u'\xe7' # 0xe7 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe8' # 0xe8 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0xea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xec' # 0xec -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0xef -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xf0' # 0xf0 -> LATIN SMALL LETTER ETH
+ u'\xf1' # 0xf1 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf2' # 0xf2 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf5' # 0xf5 -> LATIN SMALL LETTER O WITH TILDE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\xf8' # 0xf8 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xf9' # 0xf9 -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xfb' # 0xfb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\xfd' # 0xfd -> LATIN SMALL LETTER Y WITH ACUTE
+ u'\xfe' # 0xfe -> LATIN SMALL LETTER THORN
+ u'\xff' # 0xff -> LATIN SMALL LETTER Y WITH DIAERESIS
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a1: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a5: 0x00a5, # YEN SIGN
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00aa: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00af: 0x00af, # MACRON
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b9: 0x00b9, # SUPERSCRIPT ONE
- 0x00ba: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bf: 0x00bf, # INVERTED QUESTION MARK
- 0x00c0: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00c7: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d0: 0x00d0, # LATIN CAPITAL LETTER ETH
- 0x00d1: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00d8: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00dd: 0x00dd, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00de: 0x00de, # LATIN CAPITAL LETTER THORN
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00e6, # LATIN SMALL LETTER AE
- 0x00e7: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f0: 0x00f0, # LATIN SMALL LETTER ETH
- 0x00f1: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00f8: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00fd: 0x00fd, # LATIN SMALL LETTER Y WITH ACUTE
- 0x00fe: 0x00fe, # LATIN SMALL LETTER THORN
- 0x00ff: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x0152: 0x00bc, # LATIN CAPITAL LIGATURE OE
- 0x0153: 0x00bd, # LATIN SMALL LIGATURE OE
- 0x0160: 0x00a6, # LATIN CAPITAL LETTER S WITH CARON
- 0x0161: 0x00a8, # LATIN SMALL LETTER S WITH CARON
- 0x0178: 0x00be, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x017d: 0x00b4, # LATIN CAPITAL LETTER Z WITH CARON
- 0x017e: 0x00b8, # LATIN SMALL LETTER Z WITH CARON
- 0x20ac: 0x00a4, # EURO SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a1: 0xa1, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a5: 0xa5, # YEN SIGN
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00aa: 0xaa, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00af: 0xaf, # MACRON
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b9: 0xb9, # SUPERSCRIPT ONE
+ 0x00ba: 0xba, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bf: 0xbf, # INVERTED QUESTION MARK
+ 0x00c0: 0xc0, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xc3, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0xc5, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xc6, # LATIN CAPITAL LETTER AE
+ 0x00c7: 0xc7, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xc8, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xcc, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xcf, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d0: 0xd0, # LATIN CAPITAL LETTER ETH
+ 0x00d1: 0xd1, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xd2, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xd5, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00d8: 0xd8, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xd9, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xdb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00dd: 0xdd, # LATIN CAPITAL LETTER Y WITH ACUTE
+ 0x00de: 0xde, # LATIN CAPITAL LETTER THORN
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0xe0, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0xe3, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0xe5, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xe6, # LATIN SMALL LETTER AE
+ 0x00e7: 0xe7, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0xe8, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0xea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0xec, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0xef, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f0: 0xf0, # LATIN SMALL LETTER ETH
+ 0x00f1: 0xf1, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0xf2, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0xf5, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00f8: 0xf8, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0xf9, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xfb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00fd: 0xfd, # LATIN SMALL LETTER Y WITH ACUTE
+ 0x00fe: 0xfe, # LATIN SMALL LETTER THORN
+ 0x00ff: 0xff, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x0152: 0xbc, # LATIN CAPITAL LIGATURE OE
+ 0x0153: 0xbd, # LATIN SMALL LIGATURE OE
+ 0x0160: 0xa6, # LATIN CAPITAL LETTER S WITH CARON
+ 0x0161: 0xa8, # LATIN SMALL LETTER S WITH CARON
+ 0x0178: 0xbe, # LATIN CAPITAL LETTER Y WITH DIAERESIS
+ 0x017d: 0xb4, # LATIN CAPITAL LETTER Z WITH CARON
+ 0x017e: 0xb8, # LATIN SMALL LETTER Z WITH CARON
+ 0x20ac: 0xa4, # EURO SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_16.py b/Lib/encodings/iso8859_16.py
index 1763279c871..38f649d9d14 100644
--- a/Lib/encodings/iso8859_16.py
+++ b/Lib/encodings/iso8859_16.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-16.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-16.TXT' with gencodec.py.
"""#"
@@ -28,570 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: 0x0104, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x00a2: 0x0105, # LATIN SMALL LETTER A WITH OGONEK
- 0x00a3: 0x0141, # LATIN CAPITAL LETTER L WITH STROKE
- 0x00a4: 0x20ac, # EURO SIGN
- 0x00a5: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x00a6: 0x0160, # LATIN CAPITAL LETTER S WITH CARON
- 0x00a8: 0x0161, # LATIN SMALL LETTER S WITH CARON
- 0x00aa: 0x0218, # LATIN CAPITAL LETTER S WITH COMMA BELOW
- 0x00ac: 0x0179, # LATIN CAPITAL LETTER Z WITH ACUTE
- 0x00ae: 0x017a, # LATIN SMALL LETTER Z WITH ACUTE
- 0x00af: 0x017b, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x00b2: 0x010c, # LATIN CAPITAL LETTER C WITH CARON
- 0x00b3: 0x0142, # LATIN SMALL LETTER L WITH STROKE
- 0x00b4: 0x017d, # LATIN CAPITAL LETTER Z WITH CARON
- 0x00b5: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x00b8: 0x017e, # LATIN SMALL LETTER Z WITH CARON
- 0x00b9: 0x010d, # LATIN SMALL LETTER C WITH CARON
- 0x00ba: 0x0219, # LATIN SMALL LETTER S WITH COMMA BELOW
- 0x00bc: 0x0152, # LATIN CAPITAL LIGATURE OE
- 0x00bd: 0x0153, # LATIN SMALL LIGATURE OE
- 0x00be: 0x0178, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x00bf: 0x017c, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x00c3: 0x0102, # LATIN CAPITAL LETTER A WITH BREVE
- 0x00c5: 0x0106, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x00d0: 0x0110, # LATIN CAPITAL LETTER D WITH STROKE
- 0x00d1: 0x0143, # LATIN CAPITAL LETTER N WITH ACUTE
- 0x00d5: 0x0150, # LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
- 0x00d7: 0x015a, # LATIN CAPITAL LETTER S WITH ACUTE
- 0x00d8: 0x0170, # LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
- 0x00dd: 0x0118, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x00de: 0x021a, # LATIN CAPITAL LETTER T WITH COMMA BELOW
- 0x00e3: 0x0103, # LATIN SMALL LETTER A WITH BREVE
- 0x00e5: 0x0107, # LATIN SMALL LETTER C WITH ACUTE
- 0x00f0: 0x0111, # LATIN SMALL LETTER D WITH STROKE
- 0x00f1: 0x0144, # LATIN SMALL LETTER N WITH ACUTE
- 0x00f5: 0x0151, # LATIN SMALL LETTER O WITH DOUBLE ACUTE
- 0x00f7: 0x015b, # LATIN SMALL LETTER S WITH ACUTE
- 0x00f8: 0x0171, # LATIN SMALL LETTER U WITH DOUBLE ACUTE
- 0x00fd: 0x0119, # LATIN SMALL LETTER E WITH OGONEK
- 0x00fe: 0x021b, # LATIN SMALL LETTER T WITH COMMA BELOW
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u0104' # 0x00a1 -> LATIN CAPITAL LETTER A WITH OGONEK
- u'\u0105' # 0x00a2 -> LATIN SMALL LETTER A WITH OGONEK
- u'\u0141' # 0x00a3 -> LATIN CAPITAL LETTER L WITH STROKE
- u'\u20ac' # 0x00a4 -> EURO SIGN
- u'\u201e' # 0x00a5 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u0160' # 0x00a6 -> LATIN CAPITAL LETTER S WITH CARON
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\u0161' # 0x00a8 -> LATIN SMALL LETTER S WITH CARON
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u0218' # 0x00aa -> LATIN CAPITAL LETTER S WITH COMMA BELOW
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u0179' # 0x00ac -> LATIN CAPITAL LETTER Z WITH ACUTE
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\u017a' # 0x00ae -> LATIN SMALL LETTER Z WITH ACUTE
- u'\u017b' # 0x00af -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\u010c' # 0x00b2 -> LATIN CAPITAL LETTER C WITH CARON
- u'\u0142' # 0x00b3 -> LATIN SMALL LETTER L WITH STROKE
- u'\u017d' # 0x00b4 -> LATIN CAPITAL LETTER Z WITH CARON
- u'\u201d' # 0x00b5 -> RIGHT DOUBLE QUOTATION MARK
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\u017e' # 0x00b8 -> LATIN SMALL LETTER Z WITH CARON
- u'\u010d' # 0x00b9 -> LATIN SMALL LETTER C WITH CARON
- u'\u0219' # 0x00ba -> LATIN SMALL LETTER S WITH COMMA BELOW
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u0152' # 0x00bc -> LATIN CAPITAL LIGATURE OE
- u'\u0153' # 0x00bd -> LATIN SMALL LIGATURE OE
- u'\u0178' # 0x00be -> LATIN CAPITAL LETTER Y WITH DIAERESIS
- u'\u017c' # 0x00bf -> LATIN SMALL LETTER Z WITH DOT ABOVE
- u'\xc0' # 0x00c0 -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\u0102' # 0x00c3 -> LATIN CAPITAL LETTER A WITH BREVE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\u0106' # 0x00c5 -> LATIN CAPITAL LETTER C WITH ACUTE
- u'\xc6' # 0x00c6 -> LATIN CAPITAL LETTER AE
- u'\xc7' # 0x00c7 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc8' # 0x00c8 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xca' # 0x00ca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xcc' # 0x00cc -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00cf -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\u0110' # 0x00d0 -> LATIN CAPITAL LETTER D WITH STROKE
- u'\u0143' # 0x00d1 -> LATIN CAPITAL LETTER N WITH ACUTE
- u'\xd2' # 0x00d2 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\u0150' # 0x00d5 -> LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\u015a' # 0x00d7 -> LATIN CAPITAL LETTER S WITH ACUTE
- u'\u0170' # 0x00d8 -> LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
- u'\xd9' # 0x00d9 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00db -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\u0118' # 0x00dd -> LATIN CAPITAL LETTER E WITH OGONEK
- u'\u021a' # 0x00de -> LATIN CAPITAL LETTER T WITH COMMA BELOW
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S
- u'\xe0' # 0x00e0 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\u0103' # 0x00e3 -> LATIN SMALL LETTER A WITH BREVE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\u0107' # 0x00e5 -> LATIN SMALL LETTER C WITH ACUTE
- u'\xe6' # 0x00e6 -> LATIN SMALL LETTER AE
- u'\xe7' # 0x00e7 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe8' # 0x00e8 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x00ea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xec' # 0x00ec -> LATIN SMALL LETTER I WITH GRAVE
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x00ef -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\u0111' # 0x00f0 -> LATIN SMALL LETTER D WITH STROKE
- u'\u0144' # 0x00f1 -> LATIN SMALL LETTER N WITH ACUTE
- u'\xf2' # 0x00f2 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\u0151' # 0x00f5 -> LATIN SMALL LETTER O WITH DOUBLE ACUTE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\u015b' # 0x00f7 -> LATIN SMALL LETTER S WITH ACUTE
- u'\u0171' # 0x00f8 -> LATIN SMALL LETTER U WITH DOUBLE ACUTE
- u'\xf9' # 0x00f9 -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\xfb' # 0x00fb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u0119' # 0x00fd -> LATIN SMALL LETTER E WITH OGONEK
- u'\u021b' # 0x00fe -> LATIN SMALL LETTER T WITH COMMA BELOW
- u'\xff' # 0x00ff -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u0104' # 0xa1 -> LATIN CAPITAL LETTER A WITH OGONEK
+ u'\u0105' # 0xa2 -> LATIN SMALL LETTER A WITH OGONEK
+ u'\u0141' # 0xa3 -> LATIN CAPITAL LETTER L WITH STROKE
+ u'\u20ac' # 0xa4 -> EURO SIGN
+ u'\u201e' # 0xa5 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u0160' # 0xa6 -> LATIN CAPITAL LETTER S WITH CARON
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\u0161' # 0xa8 -> LATIN SMALL LETTER S WITH CARON
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u0218' # 0xaa -> LATIN CAPITAL LETTER S WITH COMMA BELOW
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u0179' # 0xac -> LATIN CAPITAL LETTER Z WITH ACUTE
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\u017a' # 0xae -> LATIN SMALL LETTER Z WITH ACUTE
+ u'\u017b' # 0xaf -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\u010c' # 0xb2 -> LATIN CAPITAL LETTER C WITH CARON
+ u'\u0142' # 0xb3 -> LATIN SMALL LETTER L WITH STROKE
+ u'\u017d' # 0xb4 -> LATIN CAPITAL LETTER Z WITH CARON
+ u'\u201d' # 0xb5 -> RIGHT DOUBLE QUOTATION MARK
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\u017e' # 0xb8 -> LATIN SMALL LETTER Z WITH CARON
+ u'\u010d' # 0xb9 -> LATIN SMALL LETTER C WITH CARON
+ u'\u0219' # 0xba -> LATIN SMALL LETTER S WITH COMMA BELOW
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u0152' # 0xbc -> LATIN CAPITAL LIGATURE OE
+ u'\u0153' # 0xbd -> LATIN SMALL LIGATURE OE
+ u'\u0178' # 0xbe -> LATIN CAPITAL LETTER Y WITH DIAERESIS
+ u'\u017c' # 0xbf -> LATIN SMALL LETTER Z WITH DOT ABOVE
+ u'\xc0' # 0xc0 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\u0102' # 0xc3 -> LATIN CAPITAL LETTER A WITH BREVE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\u0106' # 0xc5 -> LATIN CAPITAL LETTER C WITH ACUTE
+ u'\xc6' # 0xc6 -> LATIN CAPITAL LETTER AE
+ u'\xc7' # 0xc7 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc8' # 0xc8 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0xca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xcc' # 0xcc -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xcf -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\u0110' # 0xd0 -> LATIN CAPITAL LETTER D WITH STROKE
+ u'\u0143' # 0xd1 -> LATIN CAPITAL LETTER N WITH ACUTE
+ u'\xd2' # 0xd2 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\u0150' # 0xd5 -> LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\u015a' # 0xd7 -> LATIN CAPITAL LETTER S WITH ACUTE
+ u'\u0170' # 0xd8 -> LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+ u'\xd9' # 0xd9 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xdb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\u0118' # 0xdd -> LATIN CAPITAL LETTER E WITH OGONEK
+ u'\u021a' # 0xde -> LATIN CAPITAL LETTER T WITH COMMA BELOW
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S
+ u'\xe0' # 0xe0 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\u0103' # 0xe3 -> LATIN SMALL LETTER A WITH BREVE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\u0107' # 0xe5 -> LATIN SMALL LETTER C WITH ACUTE
+ u'\xe6' # 0xe6 -> LATIN SMALL LETTER AE
+ u'\xe7' # 0xe7 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe8' # 0xe8 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0xea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xec' # 0xec -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0xef -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\u0111' # 0xf0 -> LATIN SMALL LETTER D WITH STROKE
+ u'\u0144' # 0xf1 -> LATIN SMALL LETTER N WITH ACUTE
+ u'\xf2' # 0xf2 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\u0151' # 0xf5 -> LATIN SMALL LETTER O WITH DOUBLE ACUTE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\u015b' # 0xf7 -> LATIN SMALL LETTER S WITH ACUTE
+ u'\u0171' # 0xf8 -> LATIN SMALL LETTER U WITH DOUBLE ACUTE
+ u'\xf9' # 0xf9 -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xfb' # 0xfb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u0119' # 0xfd -> LATIN SMALL LETTER E WITH OGONEK
+ u'\u021b' # 0xfe -> LATIN SMALL LETTER T WITH COMMA BELOW
+ u'\xff' # 0xff -> LATIN SMALL LETTER Y WITH DIAERESIS
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c0: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c6: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00c7: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d2: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d9: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e6: 0x00e6, # LATIN SMALL LETTER AE
- 0x00e7: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f2: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f9: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00ff: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x0102: 0x00c3, # LATIN CAPITAL LETTER A WITH BREVE
- 0x0103: 0x00e3, # LATIN SMALL LETTER A WITH BREVE
- 0x0104: 0x00a1, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x0105: 0x00a2, # LATIN SMALL LETTER A WITH OGONEK
- 0x0106: 0x00c5, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x0107: 0x00e5, # LATIN SMALL LETTER C WITH ACUTE
- 0x010c: 0x00b2, # LATIN CAPITAL LETTER C WITH CARON
- 0x010d: 0x00b9, # LATIN SMALL LETTER C WITH CARON
- 0x0110: 0x00d0, # LATIN CAPITAL LETTER D WITH STROKE
- 0x0111: 0x00f0, # LATIN SMALL LETTER D WITH STROKE
- 0x0118: 0x00dd, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x0119: 0x00fd, # LATIN SMALL LETTER E WITH OGONEK
- 0x0141: 0x00a3, # LATIN CAPITAL LETTER L WITH STROKE
- 0x0142: 0x00b3, # LATIN SMALL LETTER L WITH STROKE
- 0x0143: 0x00d1, # LATIN CAPITAL LETTER N WITH ACUTE
- 0x0144: 0x00f1, # LATIN SMALL LETTER N WITH ACUTE
- 0x0150: 0x00d5, # LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
- 0x0151: 0x00f5, # LATIN SMALL LETTER O WITH DOUBLE ACUTE
- 0x0152: 0x00bc, # LATIN CAPITAL LIGATURE OE
- 0x0153: 0x00bd, # LATIN SMALL LIGATURE OE
- 0x015a: 0x00d7, # LATIN CAPITAL LETTER S WITH ACUTE
- 0x015b: 0x00f7, # LATIN SMALL LETTER S WITH ACUTE
- 0x0160: 0x00a6, # LATIN CAPITAL LETTER S WITH CARON
- 0x0161: 0x00a8, # LATIN SMALL LETTER S WITH CARON
- 0x0170: 0x00d8, # LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
- 0x0171: 0x00f8, # LATIN SMALL LETTER U WITH DOUBLE ACUTE
- 0x0178: 0x00be, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x0179: 0x00ac, # LATIN CAPITAL LETTER Z WITH ACUTE
- 0x017a: 0x00ae, # LATIN SMALL LETTER Z WITH ACUTE
- 0x017b: 0x00af, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x017c: 0x00bf, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x017d: 0x00b4, # LATIN CAPITAL LETTER Z WITH CARON
- 0x017e: 0x00b8, # LATIN SMALL LETTER Z WITH CARON
- 0x0218: 0x00aa, # LATIN CAPITAL LETTER S WITH COMMA BELOW
- 0x0219: 0x00ba, # LATIN SMALL LETTER S WITH COMMA BELOW
- 0x021a: 0x00de, # LATIN CAPITAL LETTER T WITH COMMA BELOW
- 0x021b: 0x00fe, # LATIN SMALL LETTER T WITH COMMA BELOW
- 0x201d: 0x00b5, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x00a5, # DOUBLE LOW-9 QUOTATION MARK
- 0x20ac: 0x00a4, # EURO SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00c0: 0xc0, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c6: 0xc6, # LATIN CAPITAL LETTER AE
+ 0x00c7: 0xc7, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xc8, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xcc, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xcf, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d2: 0xd2, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d9: 0xd9, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xdb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0xe0, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e6: 0xe6, # LATIN SMALL LETTER AE
+ 0x00e7: 0xe7, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0xe8, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0xea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0xec, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0xef, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f2: 0xf2, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f9: 0xf9, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xfb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00ff: 0xff, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x0102: 0xc3, # LATIN CAPITAL LETTER A WITH BREVE
+ 0x0103: 0xe3, # LATIN SMALL LETTER A WITH BREVE
+ 0x0104: 0xa1, # LATIN CAPITAL LETTER A WITH OGONEK
+ 0x0105: 0xa2, # LATIN SMALL LETTER A WITH OGONEK
+ 0x0106: 0xc5, # LATIN CAPITAL LETTER C WITH ACUTE
+ 0x0107: 0xe5, # LATIN SMALL LETTER C WITH ACUTE
+ 0x010c: 0xb2, # LATIN CAPITAL LETTER C WITH CARON
+ 0x010d: 0xb9, # LATIN SMALL LETTER C WITH CARON
+ 0x0110: 0xd0, # LATIN CAPITAL LETTER D WITH STROKE
+ 0x0111: 0xf0, # LATIN SMALL LETTER D WITH STROKE
+ 0x0118: 0xdd, # LATIN CAPITAL LETTER E WITH OGONEK
+ 0x0119: 0xfd, # LATIN SMALL LETTER E WITH OGONEK
+ 0x0141: 0xa3, # LATIN CAPITAL LETTER L WITH STROKE
+ 0x0142: 0xb3, # LATIN SMALL LETTER L WITH STROKE
+ 0x0143: 0xd1, # LATIN CAPITAL LETTER N WITH ACUTE
+ 0x0144: 0xf1, # LATIN SMALL LETTER N WITH ACUTE
+ 0x0150: 0xd5, # LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+ 0x0151: 0xf5, # LATIN SMALL LETTER O WITH DOUBLE ACUTE
+ 0x0152: 0xbc, # LATIN CAPITAL LIGATURE OE
+ 0x0153: 0xbd, # LATIN SMALL LIGATURE OE
+ 0x015a: 0xd7, # LATIN CAPITAL LETTER S WITH ACUTE
+ 0x015b: 0xf7, # LATIN SMALL LETTER S WITH ACUTE
+ 0x0160: 0xa6, # LATIN CAPITAL LETTER S WITH CARON
+ 0x0161: 0xa8, # LATIN SMALL LETTER S WITH CARON
+ 0x0170: 0xd8, # LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+ 0x0171: 0xf8, # LATIN SMALL LETTER U WITH DOUBLE ACUTE
+ 0x0178: 0xbe, # LATIN CAPITAL LETTER Y WITH DIAERESIS
+ 0x0179: 0xac, # LATIN CAPITAL LETTER Z WITH ACUTE
+ 0x017a: 0xae, # LATIN SMALL LETTER Z WITH ACUTE
+ 0x017b: 0xaf, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ 0x017c: 0xbf, # LATIN SMALL LETTER Z WITH DOT ABOVE
+ 0x017d: 0xb4, # LATIN CAPITAL LETTER Z WITH CARON
+ 0x017e: 0xb8, # LATIN SMALL LETTER Z WITH CARON
+ 0x0218: 0xaa, # LATIN CAPITAL LETTER S WITH COMMA BELOW
+ 0x0219: 0xba, # LATIN SMALL LETTER S WITH COMMA BELOW
+ 0x021a: 0xde, # LATIN CAPITAL LETTER T WITH COMMA BELOW
+ 0x021b: 0xfe, # LATIN SMALL LETTER T WITH COMMA BELOW
+ 0x201d: 0xb5, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0xa5, # DOUBLE LOW-9 QUOTATION MARK
+ 0x20ac: 0xa4, # EURO SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_2.py b/Lib/encodings/iso8859_2.py
index 4093f02d81d..a985306b879 100644
--- a/Lib/encodings/iso8859_2.py
+++ b/Lib/encodings/iso8859_2.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-2.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-2.TXT' with gencodec.py.
"""#"
@@ -28,587 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: 0x0104, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x00a2: 0x02d8, # BREVE
- 0x00a3: 0x0141, # LATIN CAPITAL LETTER L WITH STROKE
- 0x00a5: 0x013d, # LATIN CAPITAL LETTER L WITH CARON
- 0x00a6: 0x015a, # LATIN CAPITAL LETTER S WITH ACUTE
- 0x00a9: 0x0160, # LATIN CAPITAL LETTER S WITH CARON
- 0x00aa: 0x015e, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x00ab: 0x0164, # LATIN CAPITAL LETTER T WITH CARON
- 0x00ac: 0x0179, # LATIN CAPITAL LETTER Z WITH ACUTE
- 0x00ae: 0x017d, # LATIN CAPITAL LETTER Z WITH CARON
- 0x00af: 0x017b, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x00b1: 0x0105, # LATIN SMALL LETTER A WITH OGONEK
- 0x00b2: 0x02db, # OGONEK
- 0x00b3: 0x0142, # LATIN SMALL LETTER L WITH STROKE
- 0x00b5: 0x013e, # LATIN SMALL LETTER L WITH CARON
- 0x00b6: 0x015b, # LATIN SMALL LETTER S WITH ACUTE
- 0x00b7: 0x02c7, # CARON
- 0x00b9: 0x0161, # LATIN SMALL LETTER S WITH CARON
- 0x00ba: 0x015f, # LATIN SMALL LETTER S WITH CEDILLA
- 0x00bb: 0x0165, # LATIN SMALL LETTER T WITH CARON
- 0x00bc: 0x017a, # LATIN SMALL LETTER Z WITH ACUTE
- 0x00bd: 0x02dd, # DOUBLE ACUTE ACCENT
- 0x00be: 0x017e, # LATIN SMALL LETTER Z WITH CARON
- 0x00bf: 0x017c, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x00c0: 0x0154, # LATIN CAPITAL LETTER R WITH ACUTE
- 0x00c3: 0x0102, # LATIN CAPITAL LETTER A WITH BREVE
- 0x00c5: 0x0139, # LATIN CAPITAL LETTER L WITH ACUTE
- 0x00c6: 0x0106, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x00c8: 0x010c, # LATIN CAPITAL LETTER C WITH CARON
- 0x00ca: 0x0118, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x00cc: 0x011a, # LATIN CAPITAL LETTER E WITH CARON
- 0x00cf: 0x010e, # LATIN CAPITAL LETTER D WITH CARON
- 0x00d0: 0x0110, # LATIN CAPITAL LETTER D WITH STROKE
- 0x00d1: 0x0143, # LATIN CAPITAL LETTER N WITH ACUTE
- 0x00d2: 0x0147, # LATIN CAPITAL LETTER N WITH CARON
- 0x00d5: 0x0150, # LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
- 0x00d8: 0x0158, # LATIN CAPITAL LETTER R WITH CARON
- 0x00d9: 0x016e, # LATIN CAPITAL LETTER U WITH RING ABOVE
- 0x00db: 0x0170, # LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
- 0x00de: 0x0162, # LATIN CAPITAL LETTER T WITH CEDILLA
- 0x00e0: 0x0155, # LATIN SMALL LETTER R WITH ACUTE
- 0x00e3: 0x0103, # LATIN SMALL LETTER A WITH BREVE
- 0x00e5: 0x013a, # LATIN SMALL LETTER L WITH ACUTE
- 0x00e6: 0x0107, # LATIN SMALL LETTER C WITH ACUTE
- 0x00e8: 0x010d, # LATIN SMALL LETTER C WITH CARON
- 0x00ea: 0x0119, # LATIN SMALL LETTER E WITH OGONEK
- 0x00ec: 0x011b, # LATIN SMALL LETTER E WITH CARON
- 0x00ef: 0x010f, # LATIN SMALL LETTER D WITH CARON
- 0x00f0: 0x0111, # LATIN SMALL LETTER D WITH STROKE
- 0x00f1: 0x0144, # LATIN SMALL LETTER N WITH ACUTE
- 0x00f2: 0x0148, # LATIN SMALL LETTER N WITH CARON
- 0x00f5: 0x0151, # LATIN SMALL LETTER O WITH DOUBLE ACUTE
- 0x00f8: 0x0159, # LATIN SMALL LETTER R WITH CARON
- 0x00f9: 0x016f, # LATIN SMALL LETTER U WITH RING ABOVE
- 0x00fb: 0x0171, # LATIN SMALL LETTER U WITH DOUBLE ACUTE
- 0x00fe: 0x0163, # LATIN SMALL LETTER T WITH CEDILLA
- 0x00ff: 0x02d9, # DOT ABOVE
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u0104' # 0x00a1 -> LATIN CAPITAL LETTER A WITH OGONEK
- u'\u02d8' # 0x00a2 -> BREVE
- u'\u0141' # 0x00a3 -> LATIN CAPITAL LETTER L WITH STROKE
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\u013d' # 0x00a5 -> LATIN CAPITAL LETTER L WITH CARON
- u'\u015a' # 0x00a6 -> LATIN CAPITAL LETTER S WITH ACUTE
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\u0160' # 0x00a9 -> LATIN CAPITAL LETTER S WITH CARON
- u'\u015e' # 0x00aa -> LATIN CAPITAL LETTER S WITH CEDILLA
- u'\u0164' # 0x00ab -> LATIN CAPITAL LETTER T WITH CARON
- u'\u0179' # 0x00ac -> LATIN CAPITAL LETTER Z WITH ACUTE
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\u017d' # 0x00ae -> LATIN CAPITAL LETTER Z WITH CARON
- u'\u017b' # 0x00af -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\u0105' # 0x00b1 -> LATIN SMALL LETTER A WITH OGONEK
- u'\u02db' # 0x00b2 -> OGONEK
- u'\u0142' # 0x00b3 -> LATIN SMALL LETTER L WITH STROKE
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\u013e' # 0x00b5 -> LATIN SMALL LETTER L WITH CARON
- u'\u015b' # 0x00b6 -> LATIN SMALL LETTER S WITH ACUTE
- u'\u02c7' # 0x00b7 -> CARON
- u'\xb8' # 0x00b8 -> CEDILLA
- u'\u0161' # 0x00b9 -> LATIN SMALL LETTER S WITH CARON
- u'\u015f' # 0x00ba -> LATIN SMALL LETTER S WITH CEDILLA
- u'\u0165' # 0x00bb -> LATIN SMALL LETTER T WITH CARON
- u'\u017a' # 0x00bc -> LATIN SMALL LETTER Z WITH ACUTE
- u'\u02dd' # 0x00bd -> DOUBLE ACUTE ACCENT
- u'\u017e' # 0x00be -> LATIN SMALL LETTER Z WITH CARON
- u'\u017c' # 0x00bf -> LATIN SMALL LETTER Z WITH DOT ABOVE
- u'\u0154' # 0x00c0 -> LATIN CAPITAL LETTER R WITH ACUTE
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\u0102' # 0x00c3 -> LATIN CAPITAL LETTER A WITH BREVE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\u0139' # 0x00c5 -> LATIN CAPITAL LETTER L WITH ACUTE
- u'\u0106' # 0x00c6 -> LATIN CAPITAL LETTER C WITH ACUTE
- u'\xc7' # 0x00c7 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\u010c' # 0x00c8 -> LATIN CAPITAL LETTER C WITH CARON
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\u0118' # 0x00ca -> LATIN CAPITAL LETTER E WITH OGONEK
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\u011a' # 0x00cc -> LATIN CAPITAL LETTER E WITH CARON
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\u010e' # 0x00cf -> LATIN CAPITAL LETTER D WITH CARON
- u'\u0110' # 0x00d0 -> LATIN CAPITAL LETTER D WITH STROKE
- u'\u0143' # 0x00d1 -> LATIN CAPITAL LETTER N WITH ACUTE
- u'\u0147' # 0x00d2 -> LATIN CAPITAL LETTER N WITH CARON
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\u0150' # 0x00d5 -> LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\u0158' # 0x00d8 -> LATIN CAPITAL LETTER R WITH CARON
- u'\u016e' # 0x00d9 -> LATIN CAPITAL LETTER U WITH RING ABOVE
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\u0170' # 0x00db -> LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xdd' # 0x00dd -> LATIN CAPITAL LETTER Y WITH ACUTE
- u'\u0162' # 0x00de -> LATIN CAPITAL LETTER T WITH CEDILLA
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S
- u'\u0155' # 0x00e0 -> LATIN SMALL LETTER R WITH ACUTE
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\u0103' # 0x00e3 -> LATIN SMALL LETTER A WITH BREVE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\u013a' # 0x00e5 -> LATIN SMALL LETTER L WITH ACUTE
- u'\u0107' # 0x00e6 -> LATIN SMALL LETTER C WITH ACUTE
- u'\xe7' # 0x00e7 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\u010d' # 0x00e8 -> LATIN SMALL LETTER C WITH CARON
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\u0119' # 0x00ea -> LATIN SMALL LETTER E WITH OGONEK
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\u011b' # 0x00ec -> LATIN SMALL LETTER E WITH CARON
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\u010f' # 0x00ef -> LATIN SMALL LETTER D WITH CARON
- u'\u0111' # 0x00f0 -> LATIN SMALL LETTER D WITH STROKE
- u'\u0144' # 0x00f1 -> LATIN SMALL LETTER N WITH ACUTE
- u'\u0148' # 0x00f2 -> LATIN SMALL LETTER N WITH CARON
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\u0151' # 0x00f5 -> LATIN SMALL LETTER O WITH DOUBLE ACUTE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\u0159' # 0x00f8 -> LATIN SMALL LETTER R WITH CARON
- u'\u016f' # 0x00f9 -> LATIN SMALL LETTER U WITH RING ABOVE
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\u0171' # 0x00fb -> LATIN SMALL LETTER U WITH DOUBLE ACUTE
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\xfd' # 0x00fd -> LATIN SMALL LETTER Y WITH ACUTE
- u'\u0163' # 0x00fe -> LATIN SMALL LETTER T WITH CEDILLA
- u'\u02d9' # 0x00ff -> DOT ABOVE
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u0104' # 0xa1 -> LATIN CAPITAL LETTER A WITH OGONEK
+ u'\u02d8' # 0xa2 -> BREVE
+ u'\u0141' # 0xa3 -> LATIN CAPITAL LETTER L WITH STROKE
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\u013d' # 0xa5 -> LATIN CAPITAL LETTER L WITH CARON
+ u'\u015a' # 0xa6 -> LATIN CAPITAL LETTER S WITH ACUTE
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\u0160' # 0xa9 -> LATIN CAPITAL LETTER S WITH CARON
+ u'\u015e' # 0xaa -> LATIN CAPITAL LETTER S WITH CEDILLA
+ u'\u0164' # 0xab -> LATIN CAPITAL LETTER T WITH CARON
+ u'\u0179' # 0xac -> LATIN CAPITAL LETTER Z WITH ACUTE
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\u017d' # 0xae -> LATIN CAPITAL LETTER Z WITH CARON
+ u'\u017b' # 0xaf -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\u0105' # 0xb1 -> LATIN SMALL LETTER A WITH OGONEK
+ u'\u02db' # 0xb2 -> OGONEK
+ u'\u0142' # 0xb3 -> LATIN SMALL LETTER L WITH STROKE
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\u013e' # 0xb5 -> LATIN SMALL LETTER L WITH CARON
+ u'\u015b' # 0xb6 -> LATIN SMALL LETTER S WITH ACUTE
+ u'\u02c7' # 0xb7 -> CARON
+ u'\xb8' # 0xb8 -> CEDILLA
+ u'\u0161' # 0xb9 -> LATIN SMALL LETTER S WITH CARON
+ u'\u015f' # 0xba -> LATIN SMALL LETTER S WITH CEDILLA
+ u'\u0165' # 0xbb -> LATIN SMALL LETTER T WITH CARON
+ u'\u017a' # 0xbc -> LATIN SMALL LETTER Z WITH ACUTE
+ u'\u02dd' # 0xbd -> DOUBLE ACUTE ACCENT
+ u'\u017e' # 0xbe -> LATIN SMALL LETTER Z WITH CARON
+ u'\u017c' # 0xbf -> LATIN SMALL LETTER Z WITH DOT ABOVE
+ u'\u0154' # 0xc0 -> LATIN CAPITAL LETTER R WITH ACUTE
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\u0102' # 0xc3 -> LATIN CAPITAL LETTER A WITH BREVE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\u0139' # 0xc5 -> LATIN CAPITAL LETTER L WITH ACUTE
+ u'\u0106' # 0xc6 -> LATIN CAPITAL LETTER C WITH ACUTE
+ u'\xc7' # 0xc7 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\u010c' # 0xc8 -> LATIN CAPITAL LETTER C WITH CARON
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\u0118' # 0xca -> LATIN CAPITAL LETTER E WITH OGONEK
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\u011a' # 0xcc -> LATIN CAPITAL LETTER E WITH CARON
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\u010e' # 0xcf -> LATIN CAPITAL LETTER D WITH CARON
+ u'\u0110' # 0xd0 -> LATIN CAPITAL LETTER D WITH STROKE
+ u'\u0143' # 0xd1 -> LATIN CAPITAL LETTER N WITH ACUTE
+ u'\u0147' # 0xd2 -> LATIN CAPITAL LETTER N WITH CARON
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\u0150' # 0xd5 -> LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\u0158' # 0xd8 -> LATIN CAPITAL LETTER R WITH CARON
+ u'\u016e' # 0xd9 -> LATIN CAPITAL LETTER U WITH RING ABOVE
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\u0170' # 0xdb -> LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xdd' # 0xdd -> LATIN CAPITAL LETTER Y WITH ACUTE
+ u'\u0162' # 0xde -> LATIN CAPITAL LETTER T WITH CEDILLA
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S
+ u'\u0155' # 0xe0 -> LATIN SMALL LETTER R WITH ACUTE
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\u0103' # 0xe3 -> LATIN SMALL LETTER A WITH BREVE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\u013a' # 0xe5 -> LATIN SMALL LETTER L WITH ACUTE
+ u'\u0107' # 0xe6 -> LATIN SMALL LETTER C WITH ACUTE
+ u'\xe7' # 0xe7 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\u010d' # 0xe8 -> LATIN SMALL LETTER C WITH CARON
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\u0119' # 0xea -> LATIN SMALL LETTER E WITH OGONEK
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\u011b' # 0xec -> LATIN SMALL LETTER E WITH CARON
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\u010f' # 0xef -> LATIN SMALL LETTER D WITH CARON
+ u'\u0111' # 0xf0 -> LATIN SMALL LETTER D WITH STROKE
+ u'\u0144' # 0xf1 -> LATIN SMALL LETTER N WITH ACUTE
+ u'\u0148' # 0xf2 -> LATIN SMALL LETTER N WITH CARON
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\u0151' # 0xf5 -> LATIN SMALL LETTER O WITH DOUBLE ACUTE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\u0159' # 0xf8 -> LATIN SMALL LETTER R WITH CARON
+ u'\u016f' # 0xf9 -> LATIN SMALL LETTER U WITH RING ABOVE
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\u0171' # 0xfb -> LATIN SMALL LETTER U WITH DOUBLE ACUTE
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\xfd' # 0xfd -> LATIN SMALL LETTER Y WITH ACUTE
+ u'\u0163' # 0xfe -> LATIN SMALL LETTER T WITH CEDILLA
+ u'\u02d9' # 0xff -> DOT ABOVE
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b8: 0x00b8, # CEDILLA
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c7: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00dd: 0x00dd, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e7: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00fd: 0x00fd, # LATIN SMALL LETTER Y WITH ACUTE
- 0x0102: 0x00c3, # LATIN CAPITAL LETTER A WITH BREVE
- 0x0103: 0x00e3, # LATIN SMALL LETTER A WITH BREVE
- 0x0104: 0x00a1, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x0105: 0x00b1, # LATIN SMALL LETTER A WITH OGONEK
- 0x0106: 0x00c6, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x0107: 0x00e6, # LATIN SMALL LETTER C WITH ACUTE
- 0x010c: 0x00c8, # LATIN CAPITAL LETTER C WITH CARON
- 0x010d: 0x00e8, # LATIN SMALL LETTER C WITH CARON
- 0x010e: 0x00cf, # LATIN CAPITAL LETTER D WITH CARON
- 0x010f: 0x00ef, # LATIN SMALL LETTER D WITH CARON
- 0x0110: 0x00d0, # LATIN CAPITAL LETTER D WITH STROKE
- 0x0111: 0x00f0, # LATIN SMALL LETTER D WITH STROKE
- 0x0118: 0x00ca, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x0119: 0x00ea, # LATIN SMALL LETTER E WITH OGONEK
- 0x011a: 0x00cc, # LATIN CAPITAL LETTER E WITH CARON
- 0x011b: 0x00ec, # LATIN SMALL LETTER E WITH CARON
- 0x0139: 0x00c5, # LATIN CAPITAL LETTER L WITH ACUTE
- 0x013a: 0x00e5, # LATIN SMALL LETTER L WITH ACUTE
- 0x013d: 0x00a5, # LATIN CAPITAL LETTER L WITH CARON
- 0x013e: 0x00b5, # LATIN SMALL LETTER L WITH CARON
- 0x0141: 0x00a3, # LATIN CAPITAL LETTER L WITH STROKE
- 0x0142: 0x00b3, # LATIN SMALL LETTER L WITH STROKE
- 0x0143: 0x00d1, # LATIN CAPITAL LETTER N WITH ACUTE
- 0x0144: 0x00f1, # LATIN SMALL LETTER N WITH ACUTE
- 0x0147: 0x00d2, # LATIN CAPITAL LETTER N WITH CARON
- 0x0148: 0x00f2, # LATIN SMALL LETTER N WITH CARON
- 0x0150: 0x00d5, # LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
- 0x0151: 0x00f5, # LATIN SMALL LETTER O WITH DOUBLE ACUTE
- 0x0154: 0x00c0, # LATIN CAPITAL LETTER R WITH ACUTE
- 0x0155: 0x00e0, # LATIN SMALL LETTER R WITH ACUTE
- 0x0158: 0x00d8, # LATIN CAPITAL LETTER R WITH CARON
- 0x0159: 0x00f8, # LATIN SMALL LETTER R WITH CARON
- 0x015a: 0x00a6, # LATIN CAPITAL LETTER S WITH ACUTE
- 0x015b: 0x00b6, # LATIN SMALL LETTER S WITH ACUTE
- 0x015e: 0x00aa, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x015f: 0x00ba, # LATIN SMALL LETTER S WITH CEDILLA
- 0x0160: 0x00a9, # LATIN CAPITAL LETTER S WITH CARON
- 0x0161: 0x00b9, # LATIN SMALL LETTER S WITH CARON
- 0x0162: 0x00de, # LATIN CAPITAL LETTER T WITH CEDILLA
- 0x0163: 0x00fe, # LATIN SMALL LETTER T WITH CEDILLA
- 0x0164: 0x00ab, # LATIN CAPITAL LETTER T WITH CARON
- 0x0165: 0x00bb, # LATIN SMALL LETTER T WITH CARON
- 0x016e: 0x00d9, # LATIN CAPITAL LETTER U WITH RING ABOVE
- 0x016f: 0x00f9, # LATIN SMALL LETTER U WITH RING ABOVE
- 0x0170: 0x00db, # LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
- 0x0171: 0x00fb, # LATIN SMALL LETTER U WITH DOUBLE ACUTE
- 0x0179: 0x00ac, # LATIN CAPITAL LETTER Z WITH ACUTE
- 0x017a: 0x00bc, # LATIN SMALL LETTER Z WITH ACUTE
- 0x017b: 0x00af, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x017c: 0x00bf, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x017d: 0x00ae, # LATIN CAPITAL LETTER Z WITH CARON
- 0x017e: 0x00be, # LATIN SMALL LETTER Z WITH CARON
- 0x02c7: 0x00b7, # CARON
- 0x02d8: 0x00a2, # BREVE
- 0x02d9: 0x00ff, # DOT ABOVE
- 0x02db: 0x00b2, # OGONEK
- 0x02dd: 0x00bd, # DOUBLE ACUTE ACCENT
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b8: 0xb8, # CEDILLA
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c7: 0xc7, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00dd: 0xdd, # LATIN CAPITAL LETTER Y WITH ACUTE
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e7: 0xe7, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00fd: 0xfd, # LATIN SMALL LETTER Y WITH ACUTE
+ 0x0102: 0xc3, # LATIN CAPITAL LETTER A WITH BREVE
+ 0x0103: 0xe3, # LATIN SMALL LETTER A WITH BREVE
+ 0x0104: 0xa1, # LATIN CAPITAL LETTER A WITH OGONEK
+ 0x0105: 0xb1, # LATIN SMALL LETTER A WITH OGONEK
+ 0x0106: 0xc6, # LATIN CAPITAL LETTER C WITH ACUTE
+ 0x0107: 0xe6, # LATIN SMALL LETTER C WITH ACUTE
+ 0x010c: 0xc8, # LATIN CAPITAL LETTER C WITH CARON
+ 0x010d: 0xe8, # LATIN SMALL LETTER C WITH CARON
+ 0x010e: 0xcf, # LATIN CAPITAL LETTER D WITH CARON
+ 0x010f: 0xef, # LATIN SMALL LETTER D WITH CARON
+ 0x0110: 0xd0, # LATIN CAPITAL LETTER D WITH STROKE
+ 0x0111: 0xf0, # LATIN SMALL LETTER D WITH STROKE
+ 0x0118: 0xca, # LATIN CAPITAL LETTER E WITH OGONEK
+ 0x0119: 0xea, # LATIN SMALL LETTER E WITH OGONEK
+ 0x011a: 0xcc, # LATIN CAPITAL LETTER E WITH CARON
+ 0x011b: 0xec, # LATIN SMALL LETTER E WITH CARON
+ 0x0139: 0xc5, # LATIN CAPITAL LETTER L WITH ACUTE
+ 0x013a: 0xe5, # LATIN SMALL LETTER L WITH ACUTE
+ 0x013d: 0xa5, # LATIN CAPITAL LETTER L WITH CARON
+ 0x013e: 0xb5, # LATIN SMALL LETTER L WITH CARON
+ 0x0141: 0xa3, # LATIN CAPITAL LETTER L WITH STROKE
+ 0x0142: 0xb3, # LATIN SMALL LETTER L WITH STROKE
+ 0x0143: 0xd1, # LATIN CAPITAL LETTER N WITH ACUTE
+ 0x0144: 0xf1, # LATIN SMALL LETTER N WITH ACUTE
+ 0x0147: 0xd2, # LATIN CAPITAL LETTER N WITH CARON
+ 0x0148: 0xf2, # LATIN SMALL LETTER N WITH CARON
+ 0x0150: 0xd5, # LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+ 0x0151: 0xf5, # LATIN SMALL LETTER O WITH DOUBLE ACUTE
+ 0x0154: 0xc0, # LATIN CAPITAL LETTER R WITH ACUTE
+ 0x0155: 0xe0, # LATIN SMALL LETTER R WITH ACUTE
+ 0x0158: 0xd8, # LATIN CAPITAL LETTER R WITH CARON
+ 0x0159: 0xf8, # LATIN SMALL LETTER R WITH CARON
+ 0x015a: 0xa6, # LATIN CAPITAL LETTER S WITH ACUTE
+ 0x015b: 0xb6, # LATIN SMALL LETTER S WITH ACUTE
+ 0x015e: 0xaa, # LATIN CAPITAL LETTER S WITH CEDILLA
+ 0x015f: 0xba, # LATIN SMALL LETTER S WITH CEDILLA
+ 0x0160: 0xa9, # LATIN CAPITAL LETTER S WITH CARON
+ 0x0161: 0xb9, # LATIN SMALL LETTER S WITH CARON
+ 0x0162: 0xde, # LATIN CAPITAL LETTER T WITH CEDILLA
+ 0x0163: 0xfe, # LATIN SMALL LETTER T WITH CEDILLA
+ 0x0164: 0xab, # LATIN CAPITAL LETTER T WITH CARON
+ 0x0165: 0xbb, # LATIN SMALL LETTER T WITH CARON
+ 0x016e: 0xd9, # LATIN CAPITAL LETTER U WITH RING ABOVE
+ 0x016f: 0xf9, # LATIN SMALL LETTER U WITH RING ABOVE
+ 0x0170: 0xdb, # LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+ 0x0171: 0xfb, # LATIN SMALL LETTER U WITH DOUBLE ACUTE
+ 0x0179: 0xac, # LATIN CAPITAL LETTER Z WITH ACUTE
+ 0x017a: 0xbc, # LATIN SMALL LETTER Z WITH ACUTE
+ 0x017b: 0xaf, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ 0x017c: 0xbf, # LATIN SMALL LETTER Z WITH DOT ABOVE
+ 0x017d: 0xae, # LATIN CAPITAL LETTER Z WITH CARON
+ 0x017e: 0xbe, # LATIN SMALL LETTER Z WITH CARON
+ 0x02c7: 0xb7, # CARON
+ 0x02d8: 0xa2, # BREVE
+ 0x02d9: 0xff, # DOT ABOVE
+ 0x02db: 0xb2, # OGONEK
+ 0x02dd: 0xbd, # DOUBLE ACUTE ACCENT
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_3.py b/Lib/encodings/iso8859_3.py
index 4cf4f41bfbc..6897122ddd6 100644
--- a/Lib/encodings/iso8859_3.py
+++ b/Lib/encodings/iso8859_3.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-3.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-3.TXT' with gencodec.py.
"""#"
@@ -28,558 +28,518 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: 0x0126, # LATIN CAPITAL LETTER H WITH STROKE
- 0x00a2: 0x02d8, # BREVE
- 0x00a5: None,
- 0x00a6: 0x0124, # LATIN CAPITAL LETTER H WITH CIRCUMFLEX
- 0x00a9: 0x0130, # LATIN CAPITAL LETTER I WITH DOT ABOVE
- 0x00aa: 0x015e, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x00ab: 0x011e, # LATIN CAPITAL LETTER G WITH BREVE
- 0x00ac: 0x0134, # LATIN CAPITAL LETTER J WITH CIRCUMFLEX
- 0x00ae: None,
- 0x00af: 0x017b, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x00b1: 0x0127, # LATIN SMALL LETTER H WITH STROKE
- 0x00b6: 0x0125, # LATIN SMALL LETTER H WITH CIRCUMFLEX
- 0x00b9: 0x0131, # LATIN SMALL LETTER DOTLESS I
- 0x00ba: 0x015f, # LATIN SMALL LETTER S WITH CEDILLA
- 0x00bb: 0x011f, # LATIN SMALL LETTER G WITH BREVE
- 0x00bc: 0x0135, # LATIN SMALL LETTER J WITH CIRCUMFLEX
- 0x00be: None,
- 0x00bf: 0x017c, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x00c3: None,
- 0x00c5: 0x010a, # LATIN CAPITAL LETTER C WITH DOT ABOVE
- 0x00c6: 0x0108, # LATIN CAPITAL LETTER C WITH CIRCUMFLEX
- 0x00d0: None,
- 0x00d5: 0x0120, # LATIN CAPITAL LETTER G WITH DOT ABOVE
- 0x00d8: 0x011c, # LATIN CAPITAL LETTER G WITH CIRCUMFLEX
- 0x00dd: 0x016c, # LATIN CAPITAL LETTER U WITH BREVE
- 0x00de: 0x015c, # LATIN CAPITAL LETTER S WITH CIRCUMFLEX
- 0x00e3: None,
- 0x00e5: 0x010b, # LATIN SMALL LETTER C WITH DOT ABOVE
- 0x00e6: 0x0109, # LATIN SMALL LETTER C WITH CIRCUMFLEX
- 0x00f0: None,
- 0x00f5: 0x0121, # LATIN SMALL LETTER G WITH DOT ABOVE
- 0x00f8: 0x011d, # LATIN SMALL LETTER G WITH CIRCUMFLEX
- 0x00fd: 0x016d, # LATIN SMALL LETTER U WITH BREVE
- 0x00fe: 0x015d, # LATIN SMALL LETTER S WITH CIRCUMFLEX
- 0x00ff: 0x02d9, # DOT ABOVE
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u0126' # 0x00a1 -> LATIN CAPITAL LETTER H WITH STROKE
- u'\u02d8' # 0x00a2 -> BREVE
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u0126' # 0xa1 -> LATIN CAPITAL LETTER H WITH STROKE
+ u'\u02d8' # 0xa2 -> BREVE
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
u'\ufffe'
- u'\u0124' # 0x00a6 -> LATIN CAPITAL LETTER H WITH CIRCUMFLEX
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\u0130' # 0x00a9 -> LATIN CAPITAL LETTER I WITH DOT ABOVE
- u'\u015e' # 0x00aa -> LATIN CAPITAL LETTER S WITH CEDILLA
- u'\u011e' # 0x00ab -> LATIN CAPITAL LETTER G WITH BREVE
- u'\u0134' # 0x00ac -> LATIN CAPITAL LETTER J WITH CIRCUMFLEX
- u'\xad' # 0x00ad -> SOFT HYPHEN
+ u'\u0124' # 0xa6 -> LATIN CAPITAL LETTER H WITH CIRCUMFLEX
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\u0130' # 0xa9 -> LATIN CAPITAL LETTER I WITH DOT ABOVE
+ u'\u015e' # 0xaa -> LATIN CAPITAL LETTER S WITH CEDILLA
+ u'\u011e' # 0xab -> LATIN CAPITAL LETTER G WITH BREVE
+ u'\u0134' # 0xac -> LATIN CAPITAL LETTER J WITH CIRCUMFLEX
+ u'\xad' # 0xad -> SOFT HYPHEN
u'\ufffe'
- u'\u017b' # 0x00af -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\u0127' # 0x00b1 -> LATIN SMALL LETTER H WITH STROKE
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\u0125' # 0x00b6 -> LATIN SMALL LETTER H WITH CIRCUMFLEX
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\xb8' # 0x00b8 -> CEDILLA
- u'\u0131' # 0x00b9 -> LATIN SMALL LETTER DOTLESS I
- u'\u015f' # 0x00ba -> LATIN SMALL LETTER S WITH CEDILLA
- u'\u011f' # 0x00bb -> LATIN SMALL LETTER G WITH BREVE
- u'\u0135' # 0x00bc -> LATIN SMALL LETTER J WITH CIRCUMFLEX
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
+ u'\u017b' # 0xaf -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\u0127' # 0xb1 -> LATIN SMALL LETTER H WITH STROKE
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\u0125' # 0xb6 -> LATIN SMALL LETTER H WITH CIRCUMFLEX
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\xb8' # 0xb8 -> CEDILLA
+ u'\u0131' # 0xb9 -> LATIN SMALL LETTER DOTLESS I
+ u'\u015f' # 0xba -> LATIN SMALL LETTER S WITH CEDILLA
+ u'\u011f' # 0xbb -> LATIN SMALL LETTER G WITH BREVE
+ u'\u0135' # 0xbc -> LATIN SMALL LETTER J WITH CIRCUMFLEX
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
u'\ufffe'
- u'\u017c' # 0x00bf -> LATIN SMALL LETTER Z WITH DOT ABOVE
- u'\xc0' # 0x00c0 -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\u017c' # 0xbf -> LATIN SMALL LETTER Z WITH DOT ABOVE
+ u'\xc0' # 0xc0 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
u'\ufffe'
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\u010a' # 0x00c5 -> LATIN CAPITAL LETTER C WITH DOT ABOVE
- u'\u0108' # 0x00c6 -> LATIN CAPITAL LETTER C WITH CIRCUMFLEX
- u'\xc7' # 0x00c7 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc8' # 0x00c8 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xca' # 0x00ca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xcc' # 0x00cc -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00cf -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\u010a' # 0xc5 -> LATIN CAPITAL LETTER C WITH DOT ABOVE
+ u'\u0108' # 0xc6 -> LATIN CAPITAL LETTER C WITH CIRCUMFLEX
+ u'\xc7' # 0xc7 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc8' # 0xc8 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0xca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xcc' # 0xcc -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xcf -> LATIN CAPITAL LETTER I WITH DIAERESIS
u'\ufffe'
- u'\xd1' # 0x00d1 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd2' # 0x00d2 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\u0120' # 0x00d5 -> LATIN CAPITAL LETTER G WITH DOT ABOVE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\u011c' # 0x00d8 -> LATIN CAPITAL LETTER G WITH CIRCUMFLEX
- u'\xd9' # 0x00d9 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00db -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\u016c' # 0x00dd -> LATIN CAPITAL LETTER U WITH BREVE
- u'\u015c' # 0x00de -> LATIN CAPITAL LETTER S WITH CIRCUMFLEX
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S
- u'\xe0' # 0x00e0 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xd1' # 0xd1 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd2' # 0xd2 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\u0120' # 0xd5 -> LATIN CAPITAL LETTER G WITH DOT ABOVE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\u011c' # 0xd8 -> LATIN CAPITAL LETTER G WITH CIRCUMFLEX
+ u'\xd9' # 0xd9 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xdb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\u016c' # 0xdd -> LATIN CAPITAL LETTER U WITH BREVE
+ u'\u015c' # 0xde -> LATIN CAPITAL LETTER S WITH CIRCUMFLEX
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S
+ u'\xe0' # 0xe0 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
u'\ufffe'
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\u010b' # 0x00e5 -> LATIN SMALL LETTER C WITH DOT ABOVE
- u'\u0109' # 0x00e6 -> LATIN SMALL LETTER C WITH CIRCUMFLEX
- u'\xe7' # 0x00e7 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe8' # 0x00e8 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x00ea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xec' # 0x00ec -> LATIN SMALL LETTER I WITH GRAVE
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x00ef -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\u010b' # 0xe5 -> LATIN SMALL LETTER C WITH DOT ABOVE
+ u'\u0109' # 0xe6 -> LATIN SMALL LETTER C WITH CIRCUMFLEX
+ u'\xe7' # 0xe7 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe8' # 0xe8 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0xea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xec' # 0xec -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0xef -> LATIN SMALL LETTER I WITH DIAERESIS
u'\ufffe'
- u'\xf1' # 0x00f1 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf2' # 0x00f2 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\u0121' # 0x00f5 -> LATIN SMALL LETTER G WITH DOT ABOVE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\u011d' # 0x00f8 -> LATIN SMALL LETTER G WITH CIRCUMFLEX
- u'\xf9' # 0x00f9 -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\xfb' # 0x00fb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u016d' # 0x00fd -> LATIN SMALL LETTER U WITH BREVE
- u'\u015d' # 0x00fe -> LATIN SMALL LETTER S WITH CIRCUMFLEX
- u'\u02d9' # 0x00ff -> DOT ABOVE
+ u'\xf1' # 0xf1 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf2' # 0xf2 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\u0121' # 0xf5 -> LATIN SMALL LETTER G WITH DOT ABOVE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\u011d' # 0xf8 -> LATIN SMALL LETTER G WITH CIRCUMFLEX
+ u'\xf9' # 0xf9 -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xfb' # 0xfb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u016d' # 0xfd -> LATIN SMALL LETTER U WITH BREVE
+ u'\u015d' # 0xfe -> LATIN SMALL LETTER S WITH CIRCUMFLEX
+ u'\u02d9' # 0xff -> DOT ABOVE
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b8: 0x00b8, # CEDILLA
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00c0: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c7: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d1: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00d9: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e7: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f1: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00f9: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x0108: 0x00c6, # LATIN CAPITAL LETTER C WITH CIRCUMFLEX
- 0x0109: 0x00e6, # LATIN SMALL LETTER C WITH CIRCUMFLEX
- 0x010a: 0x00c5, # LATIN CAPITAL LETTER C WITH DOT ABOVE
- 0x010b: 0x00e5, # LATIN SMALL LETTER C WITH DOT ABOVE
- 0x011c: 0x00d8, # LATIN CAPITAL LETTER G WITH CIRCUMFLEX
- 0x011d: 0x00f8, # LATIN SMALL LETTER G WITH CIRCUMFLEX
- 0x011e: 0x00ab, # LATIN CAPITAL LETTER G WITH BREVE
- 0x011f: 0x00bb, # LATIN SMALL LETTER G WITH BREVE
- 0x0120: 0x00d5, # LATIN CAPITAL LETTER G WITH DOT ABOVE
- 0x0121: 0x00f5, # LATIN SMALL LETTER G WITH DOT ABOVE
- 0x0124: 0x00a6, # LATIN CAPITAL LETTER H WITH CIRCUMFLEX
- 0x0125: 0x00b6, # LATIN SMALL LETTER H WITH CIRCUMFLEX
- 0x0126: 0x00a1, # LATIN CAPITAL LETTER H WITH STROKE
- 0x0127: 0x00b1, # LATIN SMALL LETTER H WITH STROKE
- 0x0130: 0x00a9, # LATIN CAPITAL LETTER I WITH DOT ABOVE
- 0x0131: 0x00b9, # LATIN SMALL LETTER DOTLESS I
- 0x0134: 0x00ac, # LATIN CAPITAL LETTER J WITH CIRCUMFLEX
- 0x0135: 0x00bc, # LATIN SMALL LETTER J WITH CIRCUMFLEX
- 0x015c: 0x00de, # LATIN CAPITAL LETTER S WITH CIRCUMFLEX
- 0x015d: 0x00fe, # LATIN SMALL LETTER S WITH CIRCUMFLEX
- 0x015e: 0x00aa, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x015f: 0x00ba, # LATIN SMALL LETTER S WITH CEDILLA
- 0x016c: 0x00dd, # LATIN CAPITAL LETTER U WITH BREVE
- 0x016d: 0x00fd, # LATIN SMALL LETTER U WITH BREVE
- 0x017b: 0x00af, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x017c: 0x00bf, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x02d8: 0x00a2, # BREVE
- 0x02d9: 0x00ff, # DOT ABOVE
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b8: 0xb8, # CEDILLA
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x00c0: 0xc0, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c7: 0xc7, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xc8, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xcc, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xcf, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d1: 0xd1, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xd2, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00d9: 0xd9, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xdb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0xe0, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e7: 0xe7, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0xe8, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0xea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0xec, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0xef, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f1: 0xf1, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0xf2, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00f9: 0xf9, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xfb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x0108: 0xc6, # LATIN CAPITAL LETTER C WITH CIRCUMFLEX
+ 0x0109: 0xe6, # LATIN SMALL LETTER C WITH CIRCUMFLEX
+ 0x010a: 0xc5, # LATIN CAPITAL LETTER C WITH DOT ABOVE
+ 0x010b: 0xe5, # LATIN SMALL LETTER C WITH DOT ABOVE
+ 0x011c: 0xd8, # LATIN CAPITAL LETTER G WITH CIRCUMFLEX
+ 0x011d: 0xf8, # LATIN SMALL LETTER G WITH CIRCUMFLEX
+ 0x011e: 0xab, # LATIN CAPITAL LETTER G WITH BREVE
+ 0x011f: 0xbb, # LATIN SMALL LETTER G WITH BREVE
+ 0x0120: 0xd5, # LATIN CAPITAL LETTER G WITH DOT ABOVE
+ 0x0121: 0xf5, # LATIN SMALL LETTER G WITH DOT ABOVE
+ 0x0124: 0xa6, # LATIN CAPITAL LETTER H WITH CIRCUMFLEX
+ 0x0125: 0xb6, # LATIN SMALL LETTER H WITH CIRCUMFLEX
+ 0x0126: 0xa1, # LATIN CAPITAL LETTER H WITH STROKE
+ 0x0127: 0xb1, # LATIN SMALL LETTER H WITH STROKE
+ 0x0130: 0xa9, # LATIN CAPITAL LETTER I WITH DOT ABOVE
+ 0x0131: 0xb9, # LATIN SMALL LETTER DOTLESS I
+ 0x0134: 0xac, # LATIN CAPITAL LETTER J WITH CIRCUMFLEX
+ 0x0135: 0xbc, # LATIN SMALL LETTER J WITH CIRCUMFLEX
+ 0x015c: 0xde, # LATIN CAPITAL LETTER S WITH CIRCUMFLEX
+ 0x015d: 0xfe, # LATIN SMALL LETTER S WITH CIRCUMFLEX
+ 0x015e: 0xaa, # LATIN CAPITAL LETTER S WITH CEDILLA
+ 0x015f: 0xba, # LATIN SMALL LETTER S WITH CEDILLA
+ 0x016c: 0xdd, # LATIN CAPITAL LETTER U WITH BREVE
+ 0x016d: 0xfd, # LATIN SMALL LETTER U WITH BREVE
+ 0x017b: 0xaf, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ 0x017c: 0xbf, # LATIN SMALL LETTER Z WITH DOT ABOVE
+ 0x02d8: 0xa2, # BREVE
+ 0x02d9: 0xff, # DOT ABOVE
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_4.py b/Lib/encodings/iso8859_4.py
index 19ad6dfb72f..224d5885d68 100644
--- a/Lib/encodings/iso8859_4.py
+++ b/Lib/encodings/iso8859_4.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-4.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-4.TXT' with gencodec.py.
"""#"
@@ -28,580 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: 0x0104, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x00a2: 0x0138, # LATIN SMALL LETTER KRA
- 0x00a3: 0x0156, # LATIN CAPITAL LETTER R WITH CEDILLA
- 0x00a5: 0x0128, # LATIN CAPITAL LETTER I WITH TILDE
- 0x00a6: 0x013b, # LATIN CAPITAL LETTER L WITH CEDILLA
- 0x00a9: 0x0160, # LATIN CAPITAL LETTER S WITH CARON
- 0x00aa: 0x0112, # LATIN CAPITAL LETTER E WITH MACRON
- 0x00ab: 0x0122, # LATIN CAPITAL LETTER G WITH CEDILLA
- 0x00ac: 0x0166, # LATIN CAPITAL LETTER T WITH STROKE
- 0x00ae: 0x017d, # LATIN CAPITAL LETTER Z WITH CARON
- 0x00b1: 0x0105, # LATIN SMALL LETTER A WITH OGONEK
- 0x00b2: 0x02db, # OGONEK
- 0x00b3: 0x0157, # LATIN SMALL LETTER R WITH CEDILLA
- 0x00b5: 0x0129, # LATIN SMALL LETTER I WITH TILDE
- 0x00b6: 0x013c, # LATIN SMALL LETTER L WITH CEDILLA
- 0x00b7: 0x02c7, # CARON
- 0x00b9: 0x0161, # LATIN SMALL LETTER S WITH CARON
- 0x00ba: 0x0113, # LATIN SMALL LETTER E WITH MACRON
- 0x00bb: 0x0123, # LATIN SMALL LETTER G WITH CEDILLA
- 0x00bc: 0x0167, # LATIN SMALL LETTER T WITH STROKE
- 0x00bd: 0x014a, # LATIN CAPITAL LETTER ENG
- 0x00be: 0x017e, # LATIN SMALL LETTER Z WITH CARON
- 0x00bf: 0x014b, # LATIN SMALL LETTER ENG
- 0x00c0: 0x0100, # LATIN CAPITAL LETTER A WITH MACRON
- 0x00c7: 0x012e, # LATIN CAPITAL LETTER I WITH OGONEK
- 0x00c8: 0x010c, # LATIN CAPITAL LETTER C WITH CARON
- 0x00ca: 0x0118, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x00cc: 0x0116, # LATIN CAPITAL LETTER E WITH DOT ABOVE
- 0x00cf: 0x012a, # LATIN CAPITAL LETTER I WITH MACRON
- 0x00d0: 0x0110, # LATIN CAPITAL LETTER D WITH STROKE
- 0x00d1: 0x0145, # LATIN CAPITAL LETTER N WITH CEDILLA
- 0x00d2: 0x014c, # LATIN CAPITAL LETTER O WITH MACRON
- 0x00d3: 0x0136, # LATIN CAPITAL LETTER K WITH CEDILLA
- 0x00d9: 0x0172, # LATIN CAPITAL LETTER U WITH OGONEK
- 0x00dd: 0x0168, # LATIN CAPITAL LETTER U WITH TILDE
- 0x00de: 0x016a, # LATIN CAPITAL LETTER U WITH MACRON
- 0x00e0: 0x0101, # LATIN SMALL LETTER A WITH MACRON
- 0x00e7: 0x012f, # LATIN SMALL LETTER I WITH OGONEK
- 0x00e8: 0x010d, # LATIN SMALL LETTER C WITH CARON
- 0x00ea: 0x0119, # LATIN SMALL LETTER E WITH OGONEK
- 0x00ec: 0x0117, # LATIN SMALL LETTER E WITH DOT ABOVE
- 0x00ef: 0x012b, # LATIN SMALL LETTER I WITH MACRON
- 0x00f0: 0x0111, # LATIN SMALL LETTER D WITH STROKE
- 0x00f1: 0x0146, # LATIN SMALL LETTER N WITH CEDILLA
- 0x00f2: 0x014d, # LATIN SMALL LETTER O WITH MACRON
- 0x00f3: 0x0137, # LATIN SMALL LETTER K WITH CEDILLA
- 0x00f9: 0x0173, # LATIN SMALL LETTER U WITH OGONEK
- 0x00fd: 0x0169, # LATIN SMALL LETTER U WITH TILDE
- 0x00fe: 0x016b, # LATIN SMALL LETTER U WITH MACRON
- 0x00ff: 0x02d9, # DOT ABOVE
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u0104' # 0x00a1 -> LATIN CAPITAL LETTER A WITH OGONEK
- u'\u0138' # 0x00a2 -> LATIN SMALL LETTER KRA
- u'\u0156' # 0x00a3 -> LATIN CAPITAL LETTER R WITH CEDILLA
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\u0128' # 0x00a5 -> LATIN CAPITAL LETTER I WITH TILDE
- u'\u013b' # 0x00a6 -> LATIN CAPITAL LETTER L WITH CEDILLA
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\u0160' # 0x00a9 -> LATIN CAPITAL LETTER S WITH CARON
- u'\u0112' # 0x00aa -> LATIN CAPITAL LETTER E WITH MACRON
- u'\u0122' # 0x00ab -> LATIN CAPITAL LETTER G WITH CEDILLA
- u'\u0166' # 0x00ac -> LATIN CAPITAL LETTER T WITH STROKE
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\u017d' # 0x00ae -> LATIN CAPITAL LETTER Z WITH CARON
- u'\xaf' # 0x00af -> MACRON
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\u0105' # 0x00b1 -> LATIN SMALL LETTER A WITH OGONEK
- u'\u02db' # 0x00b2 -> OGONEK
- u'\u0157' # 0x00b3 -> LATIN SMALL LETTER R WITH CEDILLA
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\u0129' # 0x00b5 -> LATIN SMALL LETTER I WITH TILDE
- u'\u013c' # 0x00b6 -> LATIN SMALL LETTER L WITH CEDILLA
- u'\u02c7' # 0x00b7 -> CARON
- u'\xb8' # 0x00b8 -> CEDILLA
- u'\u0161' # 0x00b9 -> LATIN SMALL LETTER S WITH CARON
- u'\u0113' # 0x00ba -> LATIN SMALL LETTER E WITH MACRON
- u'\u0123' # 0x00bb -> LATIN SMALL LETTER G WITH CEDILLA
- u'\u0167' # 0x00bc -> LATIN SMALL LETTER T WITH STROKE
- u'\u014a' # 0x00bd -> LATIN CAPITAL LETTER ENG
- u'\u017e' # 0x00be -> LATIN SMALL LETTER Z WITH CARON
- u'\u014b' # 0x00bf -> LATIN SMALL LETTER ENG
- u'\u0100' # 0x00c0 -> LATIN CAPITAL LETTER A WITH MACRON
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xc3' # 0x00c3 -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x00c5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc6' # 0x00c6 -> LATIN CAPITAL LETTER AE
- u'\u012e' # 0x00c7 -> LATIN CAPITAL LETTER I WITH OGONEK
- u'\u010c' # 0x00c8 -> LATIN CAPITAL LETTER C WITH CARON
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\u0118' # 0x00ca -> LATIN CAPITAL LETTER E WITH OGONEK
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\u0116' # 0x00cc -> LATIN CAPITAL LETTER E WITH DOT ABOVE
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\u012a' # 0x00cf -> LATIN CAPITAL LETTER I WITH MACRON
- u'\u0110' # 0x00d0 -> LATIN CAPITAL LETTER D WITH STROKE
- u'\u0145' # 0x00d1 -> LATIN CAPITAL LETTER N WITH CEDILLA
- u'\u014c' # 0x00d2 -> LATIN CAPITAL LETTER O WITH MACRON
- u'\u0136' # 0x00d3 -> LATIN CAPITAL LETTER K WITH CEDILLA
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\xd5' # 0x00d5 -> LATIN CAPITAL LETTER O WITH TILDE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\xd8' # 0x00d8 -> LATIN CAPITAL LETTER O WITH STROKE
- u'\u0172' # 0x00d9 -> LATIN CAPITAL LETTER U WITH OGONEK
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00db -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\u0168' # 0x00dd -> LATIN CAPITAL LETTER U WITH TILDE
- u'\u016a' # 0x00de -> LATIN CAPITAL LETTER U WITH MACRON
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S
- u'\u0101' # 0x00e0 -> LATIN SMALL LETTER A WITH MACRON
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe3' # 0x00e3 -> LATIN SMALL LETTER A WITH TILDE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe5' # 0x00e5 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe6' # 0x00e6 -> LATIN SMALL LETTER AE
- u'\u012f' # 0x00e7 -> LATIN SMALL LETTER I WITH OGONEK
- u'\u010d' # 0x00e8 -> LATIN SMALL LETTER C WITH CARON
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\u0119' # 0x00ea -> LATIN SMALL LETTER E WITH OGONEK
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\u0117' # 0x00ec -> LATIN SMALL LETTER E WITH DOT ABOVE
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\u012b' # 0x00ef -> LATIN SMALL LETTER I WITH MACRON
- u'\u0111' # 0x00f0 -> LATIN SMALL LETTER D WITH STROKE
- u'\u0146' # 0x00f1 -> LATIN SMALL LETTER N WITH CEDILLA
- u'\u014d' # 0x00f2 -> LATIN SMALL LETTER O WITH MACRON
- u'\u0137' # 0x00f3 -> LATIN SMALL LETTER K WITH CEDILLA
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf5' # 0x00f5 -> LATIN SMALL LETTER O WITH TILDE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\xf8' # 0x00f8 -> LATIN SMALL LETTER O WITH STROKE
- u'\u0173' # 0x00f9 -> LATIN SMALL LETTER U WITH OGONEK
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\xfb' # 0x00fb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u0169' # 0x00fd -> LATIN SMALL LETTER U WITH TILDE
- u'\u016b' # 0x00fe -> LATIN SMALL LETTER U WITH MACRON
- u'\u02d9' # 0x00ff -> DOT ABOVE
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u0104' # 0xa1 -> LATIN CAPITAL LETTER A WITH OGONEK
+ u'\u0138' # 0xa2 -> LATIN SMALL LETTER KRA
+ u'\u0156' # 0xa3 -> LATIN CAPITAL LETTER R WITH CEDILLA
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\u0128' # 0xa5 -> LATIN CAPITAL LETTER I WITH TILDE
+ u'\u013b' # 0xa6 -> LATIN CAPITAL LETTER L WITH CEDILLA
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\u0160' # 0xa9 -> LATIN CAPITAL LETTER S WITH CARON
+ u'\u0112' # 0xaa -> LATIN CAPITAL LETTER E WITH MACRON
+ u'\u0122' # 0xab -> LATIN CAPITAL LETTER G WITH CEDILLA
+ u'\u0166' # 0xac -> LATIN CAPITAL LETTER T WITH STROKE
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\u017d' # 0xae -> LATIN CAPITAL LETTER Z WITH CARON
+ u'\xaf' # 0xaf -> MACRON
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\u0105' # 0xb1 -> LATIN SMALL LETTER A WITH OGONEK
+ u'\u02db' # 0xb2 -> OGONEK
+ u'\u0157' # 0xb3 -> LATIN SMALL LETTER R WITH CEDILLA
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\u0129' # 0xb5 -> LATIN SMALL LETTER I WITH TILDE
+ u'\u013c' # 0xb6 -> LATIN SMALL LETTER L WITH CEDILLA
+ u'\u02c7' # 0xb7 -> CARON
+ u'\xb8' # 0xb8 -> CEDILLA
+ u'\u0161' # 0xb9 -> LATIN SMALL LETTER S WITH CARON
+ u'\u0113' # 0xba -> LATIN SMALL LETTER E WITH MACRON
+ u'\u0123' # 0xbb -> LATIN SMALL LETTER G WITH CEDILLA
+ u'\u0167' # 0xbc -> LATIN SMALL LETTER T WITH STROKE
+ u'\u014a' # 0xbd -> LATIN CAPITAL LETTER ENG
+ u'\u017e' # 0xbe -> LATIN SMALL LETTER Z WITH CARON
+ u'\u014b' # 0xbf -> LATIN SMALL LETTER ENG
+ u'\u0100' # 0xc0 -> LATIN CAPITAL LETTER A WITH MACRON
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xc3' # 0xc3 -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0xc5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc6' # 0xc6 -> LATIN CAPITAL LETTER AE
+ u'\u012e' # 0xc7 -> LATIN CAPITAL LETTER I WITH OGONEK
+ u'\u010c' # 0xc8 -> LATIN CAPITAL LETTER C WITH CARON
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\u0118' # 0xca -> LATIN CAPITAL LETTER E WITH OGONEK
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\u0116' # 0xcc -> LATIN CAPITAL LETTER E WITH DOT ABOVE
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\u012a' # 0xcf -> LATIN CAPITAL LETTER I WITH MACRON
+ u'\u0110' # 0xd0 -> LATIN CAPITAL LETTER D WITH STROKE
+ u'\u0145' # 0xd1 -> LATIN CAPITAL LETTER N WITH CEDILLA
+ u'\u014c' # 0xd2 -> LATIN CAPITAL LETTER O WITH MACRON
+ u'\u0136' # 0xd3 -> LATIN CAPITAL LETTER K WITH CEDILLA
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\xd5' # 0xd5 -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\xd8' # 0xd8 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\u0172' # 0xd9 -> LATIN CAPITAL LETTER U WITH OGONEK
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xdb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\u0168' # 0xdd -> LATIN CAPITAL LETTER U WITH TILDE
+ u'\u016a' # 0xde -> LATIN CAPITAL LETTER U WITH MACRON
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S
+ u'\u0101' # 0xe0 -> LATIN SMALL LETTER A WITH MACRON
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe3' # 0xe3 -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe5' # 0xe5 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe6' # 0xe6 -> LATIN SMALL LETTER AE
+ u'\u012f' # 0xe7 -> LATIN SMALL LETTER I WITH OGONEK
+ u'\u010d' # 0xe8 -> LATIN SMALL LETTER C WITH CARON
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\u0119' # 0xea -> LATIN SMALL LETTER E WITH OGONEK
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\u0117' # 0xec -> LATIN SMALL LETTER E WITH DOT ABOVE
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\u012b' # 0xef -> LATIN SMALL LETTER I WITH MACRON
+ u'\u0111' # 0xf0 -> LATIN SMALL LETTER D WITH STROKE
+ u'\u0146' # 0xf1 -> LATIN SMALL LETTER N WITH CEDILLA
+ u'\u014d' # 0xf2 -> LATIN SMALL LETTER O WITH MACRON
+ u'\u0137' # 0xf3 -> LATIN SMALL LETTER K WITH CEDILLA
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf5' # 0xf5 -> LATIN SMALL LETTER O WITH TILDE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\xf8' # 0xf8 -> LATIN SMALL LETTER O WITH STROKE
+ u'\u0173' # 0xf9 -> LATIN SMALL LETTER U WITH OGONEK
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xfb' # 0xfb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u0169' # 0xfd -> LATIN SMALL LETTER U WITH TILDE
+ u'\u016b' # 0xfe -> LATIN SMALL LETTER U WITH MACRON
+ u'\u02d9' # 0xff -> DOT ABOVE
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00af: 0x00af, # MACRON
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b8: 0x00b8, # CEDILLA
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00d8: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00e6, # LATIN SMALL LETTER AE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00f8: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x0100: 0x00c0, # LATIN CAPITAL LETTER A WITH MACRON
- 0x0101: 0x00e0, # LATIN SMALL LETTER A WITH MACRON
- 0x0104: 0x00a1, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x0105: 0x00b1, # LATIN SMALL LETTER A WITH OGONEK
- 0x010c: 0x00c8, # LATIN CAPITAL LETTER C WITH CARON
- 0x010d: 0x00e8, # LATIN SMALL LETTER C WITH CARON
- 0x0110: 0x00d0, # LATIN CAPITAL LETTER D WITH STROKE
- 0x0111: 0x00f0, # LATIN SMALL LETTER D WITH STROKE
- 0x0112: 0x00aa, # LATIN CAPITAL LETTER E WITH MACRON
- 0x0113: 0x00ba, # LATIN SMALL LETTER E WITH MACRON
- 0x0116: 0x00cc, # LATIN CAPITAL LETTER E WITH DOT ABOVE
- 0x0117: 0x00ec, # LATIN SMALL LETTER E WITH DOT ABOVE
- 0x0118: 0x00ca, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x0119: 0x00ea, # LATIN SMALL LETTER E WITH OGONEK
- 0x0122: 0x00ab, # LATIN CAPITAL LETTER G WITH CEDILLA
- 0x0123: 0x00bb, # LATIN SMALL LETTER G WITH CEDILLA
- 0x0128: 0x00a5, # LATIN CAPITAL LETTER I WITH TILDE
- 0x0129: 0x00b5, # LATIN SMALL LETTER I WITH TILDE
- 0x012a: 0x00cf, # LATIN CAPITAL LETTER I WITH MACRON
- 0x012b: 0x00ef, # LATIN SMALL LETTER I WITH MACRON
- 0x012e: 0x00c7, # LATIN CAPITAL LETTER I WITH OGONEK
- 0x012f: 0x00e7, # LATIN SMALL LETTER I WITH OGONEK
- 0x0136: 0x00d3, # LATIN CAPITAL LETTER K WITH CEDILLA
- 0x0137: 0x00f3, # LATIN SMALL LETTER K WITH CEDILLA
- 0x0138: 0x00a2, # LATIN SMALL LETTER KRA
- 0x013b: 0x00a6, # LATIN CAPITAL LETTER L WITH CEDILLA
- 0x013c: 0x00b6, # LATIN SMALL LETTER L WITH CEDILLA
- 0x0145: 0x00d1, # LATIN CAPITAL LETTER N WITH CEDILLA
- 0x0146: 0x00f1, # LATIN SMALL LETTER N WITH CEDILLA
- 0x014a: 0x00bd, # LATIN CAPITAL LETTER ENG
- 0x014b: 0x00bf, # LATIN SMALL LETTER ENG
- 0x014c: 0x00d2, # LATIN CAPITAL LETTER O WITH MACRON
- 0x014d: 0x00f2, # LATIN SMALL LETTER O WITH MACRON
- 0x0156: 0x00a3, # LATIN CAPITAL LETTER R WITH CEDILLA
- 0x0157: 0x00b3, # LATIN SMALL LETTER R WITH CEDILLA
- 0x0160: 0x00a9, # LATIN CAPITAL LETTER S WITH CARON
- 0x0161: 0x00b9, # LATIN SMALL LETTER S WITH CARON
- 0x0166: 0x00ac, # LATIN CAPITAL LETTER T WITH STROKE
- 0x0167: 0x00bc, # LATIN SMALL LETTER T WITH STROKE
- 0x0168: 0x00dd, # LATIN CAPITAL LETTER U WITH TILDE
- 0x0169: 0x00fd, # LATIN SMALL LETTER U WITH TILDE
- 0x016a: 0x00de, # LATIN CAPITAL LETTER U WITH MACRON
- 0x016b: 0x00fe, # LATIN SMALL LETTER U WITH MACRON
- 0x0172: 0x00d9, # LATIN CAPITAL LETTER U WITH OGONEK
- 0x0173: 0x00f9, # LATIN SMALL LETTER U WITH OGONEK
- 0x017d: 0x00ae, # LATIN CAPITAL LETTER Z WITH CARON
- 0x017e: 0x00be, # LATIN SMALL LETTER Z WITH CARON
- 0x02c7: 0x00b7, # CARON
- 0x02d9: 0x00ff, # DOT ABOVE
- 0x02db: 0x00b2, # OGONEK
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00af: 0xaf, # MACRON
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b8: 0xb8, # CEDILLA
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xc3, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0xc5, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xc6, # LATIN CAPITAL LETTER AE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xd5, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00d8: 0xd8, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xdb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0xe3, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0xe5, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xe6, # LATIN SMALL LETTER AE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0xf5, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00f8: 0xf8, # LATIN SMALL LETTER O WITH STROKE
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xfb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x0100: 0xc0, # LATIN CAPITAL LETTER A WITH MACRON
+ 0x0101: 0xe0, # LATIN SMALL LETTER A WITH MACRON
+ 0x0104: 0xa1, # LATIN CAPITAL LETTER A WITH OGONEK
+ 0x0105: 0xb1, # LATIN SMALL LETTER A WITH OGONEK
+ 0x010c: 0xc8, # LATIN CAPITAL LETTER C WITH CARON
+ 0x010d: 0xe8, # LATIN SMALL LETTER C WITH CARON
+ 0x0110: 0xd0, # LATIN CAPITAL LETTER D WITH STROKE
+ 0x0111: 0xf0, # LATIN SMALL LETTER D WITH STROKE
+ 0x0112: 0xaa, # LATIN CAPITAL LETTER E WITH MACRON
+ 0x0113: 0xba, # LATIN SMALL LETTER E WITH MACRON
+ 0x0116: 0xcc, # LATIN CAPITAL LETTER E WITH DOT ABOVE
+ 0x0117: 0xec, # LATIN SMALL LETTER E WITH DOT ABOVE
+ 0x0118: 0xca, # LATIN CAPITAL LETTER E WITH OGONEK
+ 0x0119: 0xea, # LATIN SMALL LETTER E WITH OGONEK
+ 0x0122: 0xab, # LATIN CAPITAL LETTER G WITH CEDILLA
+ 0x0123: 0xbb, # LATIN SMALL LETTER G WITH CEDILLA
+ 0x0128: 0xa5, # LATIN CAPITAL LETTER I WITH TILDE
+ 0x0129: 0xb5, # LATIN SMALL LETTER I WITH TILDE
+ 0x012a: 0xcf, # LATIN CAPITAL LETTER I WITH MACRON
+ 0x012b: 0xef, # LATIN SMALL LETTER I WITH MACRON
+ 0x012e: 0xc7, # LATIN CAPITAL LETTER I WITH OGONEK
+ 0x012f: 0xe7, # LATIN SMALL LETTER I WITH OGONEK
+ 0x0136: 0xd3, # LATIN CAPITAL LETTER K WITH CEDILLA
+ 0x0137: 0xf3, # LATIN SMALL LETTER K WITH CEDILLA
+ 0x0138: 0xa2, # LATIN SMALL LETTER KRA
+ 0x013b: 0xa6, # LATIN CAPITAL LETTER L WITH CEDILLA
+ 0x013c: 0xb6, # LATIN SMALL LETTER L WITH CEDILLA
+ 0x0145: 0xd1, # LATIN CAPITAL LETTER N WITH CEDILLA
+ 0x0146: 0xf1, # LATIN SMALL LETTER N WITH CEDILLA
+ 0x014a: 0xbd, # LATIN CAPITAL LETTER ENG
+ 0x014b: 0xbf, # LATIN SMALL LETTER ENG
+ 0x014c: 0xd2, # LATIN CAPITAL LETTER O WITH MACRON
+ 0x014d: 0xf2, # LATIN SMALL LETTER O WITH MACRON
+ 0x0156: 0xa3, # LATIN CAPITAL LETTER R WITH CEDILLA
+ 0x0157: 0xb3, # LATIN SMALL LETTER R WITH CEDILLA
+ 0x0160: 0xa9, # LATIN CAPITAL LETTER S WITH CARON
+ 0x0161: 0xb9, # LATIN SMALL LETTER S WITH CARON
+ 0x0166: 0xac, # LATIN CAPITAL LETTER T WITH STROKE
+ 0x0167: 0xbc, # LATIN SMALL LETTER T WITH STROKE
+ 0x0168: 0xdd, # LATIN CAPITAL LETTER U WITH TILDE
+ 0x0169: 0xfd, # LATIN SMALL LETTER U WITH TILDE
+ 0x016a: 0xde, # LATIN CAPITAL LETTER U WITH MACRON
+ 0x016b: 0xfe, # LATIN SMALL LETTER U WITH MACRON
+ 0x0172: 0xd9, # LATIN CAPITAL LETTER U WITH OGONEK
+ 0x0173: 0xf9, # LATIN SMALL LETTER U WITH OGONEK
+ 0x017d: 0xae, # LATIN CAPITAL LETTER Z WITH CARON
+ 0x017e: 0xbe, # LATIN SMALL LETTER Z WITH CARON
+ 0x02c7: 0xb7, # CARON
+ 0x02d9: 0xff, # DOT ABOVE
+ 0x02db: 0xb2, # OGONEK
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_5.py b/Lib/encodings/iso8859_5.py
index eca4e72d374..f88199353a2 100644
--- a/Lib/encodings/iso8859_5.py
+++ b/Lib/encodings/iso8859_5.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-5.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-5.TXT' with gencodec.py.
"""#"
@@ -28,624 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: 0x0401, # CYRILLIC CAPITAL LETTER IO
- 0x00a2: 0x0402, # CYRILLIC CAPITAL LETTER DJE
- 0x00a3: 0x0403, # CYRILLIC CAPITAL LETTER GJE
- 0x00a4: 0x0404, # CYRILLIC CAPITAL LETTER UKRAINIAN IE
- 0x00a5: 0x0405, # CYRILLIC CAPITAL LETTER DZE
- 0x00a6: 0x0406, # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x00a7: 0x0407, # CYRILLIC CAPITAL LETTER YI
- 0x00a8: 0x0408, # CYRILLIC CAPITAL LETTER JE
- 0x00a9: 0x0409, # CYRILLIC CAPITAL LETTER LJE
- 0x00aa: 0x040a, # CYRILLIC CAPITAL LETTER NJE
- 0x00ab: 0x040b, # CYRILLIC CAPITAL LETTER TSHE
- 0x00ac: 0x040c, # CYRILLIC CAPITAL LETTER KJE
- 0x00ae: 0x040e, # CYRILLIC CAPITAL LETTER SHORT U
- 0x00af: 0x040f, # CYRILLIC CAPITAL LETTER DZHE
- 0x00b0: 0x0410, # CYRILLIC CAPITAL LETTER A
- 0x00b1: 0x0411, # CYRILLIC CAPITAL LETTER BE
- 0x00b2: 0x0412, # CYRILLIC CAPITAL LETTER VE
- 0x00b3: 0x0413, # CYRILLIC CAPITAL LETTER GHE
- 0x00b4: 0x0414, # CYRILLIC CAPITAL LETTER DE
- 0x00b5: 0x0415, # CYRILLIC CAPITAL LETTER IE
- 0x00b6: 0x0416, # CYRILLIC CAPITAL LETTER ZHE
- 0x00b7: 0x0417, # CYRILLIC CAPITAL LETTER ZE
- 0x00b8: 0x0418, # CYRILLIC CAPITAL LETTER I
- 0x00b9: 0x0419, # CYRILLIC CAPITAL LETTER SHORT I
- 0x00ba: 0x041a, # CYRILLIC CAPITAL LETTER KA
- 0x00bb: 0x041b, # CYRILLIC CAPITAL LETTER EL
- 0x00bc: 0x041c, # CYRILLIC CAPITAL LETTER EM
- 0x00bd: 0x041d, # CYRILLIC CAPITAL LETTER EN
- 0x00be: 0x041e, # CYRILLIC CAPITAL LETTER O
- 0x00bf: 0x041f, # CYRILLIC CAPITAL LETTER PE
- 0x00c0: 0x0420, # CYRILLIC CAPITAL LETTER ER
- 0x00c1: 0x0421, # CYRILLIC CAPITAL LETTER ES
- 0x00c2: 0x0422, # CYRILLIC CAPITAL LETTER TE
- 0x00c3: 0x0423, # CYRILLIC CAPITAL LETTER U
- 0x00c4: 0x0424, # CYRILLIC CAPITAL LETTER EF
- 0x00c5: 0x0425, # CYRILLIC CAPITAL LETTER HA
- 0x00c6: 0x0426, # CYRILLIC CAPITAL LETTER TSE
- 0x00c7: 0x0427, # CYRILLIC CAPITAL LETTER CHE
- 0x00c8: 0x0428, # CYRILLIC CAPITAL LETTER SHA
- 0x00c9: 0x0429, # CYRILLIC CAPITAL LETTER SHCHA
- 0x00ca: 0x042a, # CYRILLIC CAPITAL LETTER HARD SIGN
- 0x00cb: 0x042b, # CYRILLIC CAPITAL LETTER YERU
- 0x00cc: 0x042c, # CYRILLIC CAPITAL LETTER SOFT SIGN
- 0x00cd: 0x042d, # CYRILLIC CAPITAL LETTER E
- 0x00ce: 0x042e, # CYRILLIC CAPITAL LETTER YU
- 0x00cf: 0x042f, # CYRILLIC CAPITAL LETTER YA
- 0x00d0: 0x0430, # CYRILLIC SMALL LETTER A
- 0x00d1: 0x0431, # CYRILLIC SMALL LETTER BE
- 0x00d2: 0x0432, # CYRILLIC SMALL LETTER VE
- 0x00d3: 0x0433, # CYRILLIC SMALL LETTER GHE
- 0x00d4: 0x0434, # CYRILLIC SMALL LETTER DE
- 0x00d5: 0x0435, # CYRILLIC SMALL LETTER IE
- 0x00d6: 0x0436, # CYRILLIC SMALL LETTER ZHE
- 0x00d7: 0x0437, # CYRILLIC SMALL LETTER ZE
- 0x00d8: 0x0438, # CYRILLIC SMALL LETTER I
- 0x00d9: 0x0439, # CYRILLIC SMALL LETTER SHORT I
- 0x00da: 0x043a, # CYRILLIC SMALL LETTER KA
- 0x00db: 0x043b, # CYRILLIC SMALL LETTER EL
- 0x00dc: 0x043c, # CYRILLIC SMALL LETTER EM
- 0x00dd: 0x043d, # CYRILLIC SMALL LETTER EN
- 0x00de: 0x043e, # CYRILLIC SMALL LETTER O
- 0x00df: 0x043f, # CYRILLIC SMALL LETTER PE
- 0x00e0: 0x0440, # CYRILLIC SMALL LETTER ER
- 0x00e1: 0x0441, # CYRILLIC SMALL LETTER ES
- 0x00e2: 0x0442, # CYRILLIC SMALL LETTER TE
- 0x00e3: 0x0443, # CYRILLIC SMALL LETTER U
- 0x00e4: 0x0444, # CYRILLIC SMALL LETTER EF
- 0x00e5: 0x0445, # CYRILLIC SMALL LETTER HA
- 0x00e6: 0x0446, # CYRILLIC SMALL LETTER TSE
- 0x00e7: 0x0447, # CYRILLIC SMALL LETTER CHE
- 0x00e8: 0x0448, # CYRILLIC SMALL LETTER SHA
- 0x00e9: 0x0449, # CYRILLIC SMALL LETTER SHCHA
- 0x00ea: 0x044a, # CYRILLIC SMALL LETTER HARD SIGN
- 0x00eb: 0x044b, # CYRILLIC SMALL LETTER YERU
- 0x00ec: 0x044c, # CYRILLIC SMALL LETTER SOFT SIGN
- 0x00ed: 0x044d, # CYRILLIC SMALL LETTER E
- 0x00ee: 0x044e, # CYRILLIC SMALL LETTER YU
- 0x00ef: 0x044f, # CYRILLIC SMALL LETTER YA
- 0x00f0: 0x2116, # NUMERO SIGN
- 0x00f1: 0x0451, # CYRILLIC SMALL LETTER IO
- 0x00f2: 0x0452, # CYRILLIC SMALL LETTER DJE
- 0x00f3: 0x0453, # CYRILLIC SMALL LETTER GJE
- 0x00f4: 0x0454, # CYRILLIC SMALL LETTER UKRAINIAN IE
- 0x00f5: 0x0455, # CYRILLIC SMALL LETTER DZE
- 0x00f6: 0x0456, # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x00f7: 0x0457, # CYRILLIC SMALL LETTER YI
- 0x00f8: 0x0458, # CYRILLIC SMALL LETTER JE
- 0x00f9: 0x0459, # CYRILLIC SMALL LETTER LJE
- 0x00fa: 0x045a, # CYRILLIC SMALL LETTER NJE
- 0x00fb: 0x045b, # CYRILLIC SMALL LETTER TSHE
- 0x00fc: 0x045c, # CYRILLIC SMALL LETTER KJE
- 0x00fd: 0x00a7, # SECTION SIGN
- 0x00fe: 0x045e, # CYRILLIC SMALL LETTER SHORT U
- 0x00ff: 0x045f, # CYRILLIC SMALL LETTER DZHE
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u0401' # 0x00a1 -> CYRILLIC CAPITAL LETTER IO
- u'\u0402' # 0x00a2 -> CYRILLIC CAPITAL LETTER DJE
- u'\u0403' # 0x00a3 -> CYRILLIC CAPITAL LETTER GJE
- u'\u0404' # 0x00a4 -> CYRILLIC CAPITAL LETTER UKRAINIAN IE
- u'\u0405' # 0x00a5 -> CYRILLIC CAPITAL LETTER DZE
- u'\u0406' # 0x00a6 -> CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
- u'\u0407' # 0x00a7 -> CYRILLIC CAPITAL LETTER YI
- u'\u0408' # 0x00a8 -> CYRILLIC CAPITAL LETTER JE
- u'\u0409' # 0x00a9 -> CYRILLIC CAPITAL LETTER LJE
- u'\u040a' # 0x00aa -> CYRILLIC CAPITAL LETTER NJE
- u'\u040b' # 0x00ab -> CYRILLIC CAPITAL LETTER TSHE
- u'\u040c' # 0x00ac -> CYRILLIC CAPITAL LETTER KJE
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\u040e' # 0x00ae -> CYRILLIC CAPITAL LETTER SHORT U
- u'\u040f' # 0x00af -> CYRILLIC CAPITAL LETTER DZHE
- u'\u0410' # 0x00b0 -> CYRILLIC CAPITAL LETTER A
- u'\u0411' # 0x00b1 -> CYRILLIC CAPITAL LETTER BE
- u'\u0412' # 0x00b2 -> CYRILLIC CAPITAL LETTER VE
- u'\u0413' # 0x00b3 -> CYRILLIC CAPITAL LETTER GHE
- u'\u0414' # 0x00b4 -> CYRILLIC CAPITAL LETTER DE
- u'\u0415' # 0x00b5 -> CYRILLIC CAPITAL LETTER IE
- u'\u0416' # 0x00b6 -> CYRILLIC CAPITAL LETTER ZHE
- u'\u0417' # 0x00b7 -> CYRILLIC CAPITAL LETTER ZE
- u'\u0418' # 0x00b8 -> CYRILLIC CAPITAL LETTER I
- u'\u0419' # 0x00b9 -> CYRILLIC CAPITAL LETTER SHORT I
- u'\u041a' # 0x00ba -> CYRILLIC CAPITAL LETTER KA
- u'\u041b' # 0x00bb -> CYRILLIC CAPITAL LETTER EL
- u'\u041c' # 0x00bc -> CYRILLIC CAPITAL LETTER EM
- u'\u041d' # 0x00bd -> CYRILLIC CAPITAL LETTER EN
- u'\u041e' # 0x00be -> CYRILLIC CAPITAL LETTER O
- u'\u041f' # 0x00bf -> CYRILLIC CAPITAL LETTER PE
- u'\u0420' # 0x00c0 -> CYRILLIC CAPITAL LETTER ER
- u'\u0421' # 0x00c1 -> CYRILLIC CAPITAL LETTER ES
- u'\u0422' # 0x00c2 -> CYRILLIC CAPITAL LETTER TE
- u'\u0423' # 0x00c3 -> CYRILLIC CAPITAL LETTER U
- u'\u0424' # 0x00c4 -> CYRILLIC CAPITAL LETTER EF
- u'\u0425' # 0x00c5 -> CYRILLIC CAPITAL LETTER HA
- u'\u0426' # 0x00c6 -> CYRILLIC CAPITAL LETTER TSE
- u'\u0427' # 0x00c7 -> CYRILLIC CAPITAL LETTER CHE
- u'\u0428' # 0x00c8 -> CYRILLIC CAPITAL LETTER SHA
- u'\u0429' # 0x00c9 -> CYRILLIC CAPITAL LETTER SHCHA
- u'\u042a' # 0x00ca -> CYRILLIC CAPITAL LETTER HARD SIGN
- u'\u042b' # 0x00cb -> CYRILLIC CAPITAL LETTER YERU
- u'\u042c' # 0x00cc -> CYRILLIC CAPITAL LETTER SOFT SIGN
- u'\u042d' # 0x00cd -> CYRILLIC CAPITAL LETTER E
- u'\u042e' # 0x00ce -> CYRILLIC CAPITAL LETTER YU
- u'\u042f' # 0x00cf -> CYRILLIC CAPITAL LETTER YA
- u'\u0430' # 0x00d0 -> CYRILLIC SMALL LETTER A
- u'\u0431' # 0x00d1 -> CYRILLIC SMALL LETTER BE
- u'\u0432' # 0x00d2 -> CYRILLIC SMALL LETTER VE
- u'\u0433' # 0x00d3 -> CYRILLIC SMALL LETTER GHE
- u'\u0434' # 0x00d4 -> CYRILLIC SMALL LETTER DE
- u'\u0435' # 0x00d5 -> CYRILLIC SMALL LETTER IE
- u'\u0436' # 0x00d6 -> CYRILLIC SMALL LETTER ZHE
- u'\u0437' # 0x00d7 -> CYRILLIC SMALL LETTER ZE
- u'\u0438' # 0x00d8 -> CYRILLIC SMALL LETTER I
- u'\u0439' # 0x00d9 -> CYRILLIC SMALL LETTER SHORT I
- u'\u043a' # 0x00da -> CYRILLIC SMALL LETTER KA
- u'\u043b' # 0x00db -> CYRILLIC SMALL LETTER EL
- u'\u043c' # 0x00dc -> CYRILLIC SMALL LETTER EM
- u'\u043d' # 0x00dd -> CYRILLIC SMALL LETTER EN
- u'\u043e' # 0x00de -> CYRILLIC SMALL LETTER O
- u'\u043f' # 0x00df -> CYRILLIC SMALL LETTER PE
- u'\u0440' # 0x00e0 -> CYRILLIC SMALL LETTER ER
- u'\u0441' # 0x00e1 -> CYRILLIC SMALL LETTER ES
- u'\u0442' # 0x00e2 -> CYRILLIC SMALL LETTER TE
- u'\u0443' # 0x00e3 -> CYRILLIC SMALL LETTER U
- u'\u0444' # 0x00e4 -> CYRILLIC SMALL LETTER EF
- u'\u0445' # 0x00e5 -> CYRILLIC SMALL LETTER HA
- u'\u0446' # 0x00e6 -> CYRILLIC SMALL LETTER TSE
- u'\u0447' # 0x00e7 -> CYRILLIC SMALL LETTER CHE
- u'\u0448' # 0x00e8 -> CYRILLIC SMALL LETTER SHA
- u'\u0449' # 0x00e9 -> CYRILLIC SMALL LETTER SHCHA
- u'\u044a' # 0x00ea -> CYRILLIC SMALL LETTER HARD SIGN
- u'\u044b' # 0x00eb -> CYRILLIC SMALL LETTER YERU
- u'\u044c' # 0x00ec -> CYRILLIC SMALL LETTER SOFT SIGN
- u'\u044d' # 0x00ed -> CYRILLIC SMALL LETTER E
- u'\u044e' # 0x00ee -> CYRILLIC SMALL LETTER YU
- u'\u044f' # 0x00ef -> CYRILLIC SMALL LETTER YA
- u'\u2116' # 0x00f0 -> NUMERO SIGN
- u'\u0451' # 0x00f1 -> CYRILLIC SMALL LETTER IO
- u'\u0452' # 0x00f2 -> CYRILLIC SMALL LETTER DJE
- u'\u0453' # 0x00f3 -> CYRILLIC SMALL LETTER GJE
- u'\u0454' # 0x00f4 -> CYRILLIC SMALL LETTER UKRAINIAN IE
- u'\u0455' # 0x00f5 -> CYRILLIC SMALL LETTER DZE
- u'\u0456' # 0x00f6 -> CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
- u'\u0457' # 0x00f7 -> CYRILLIC SMALL LETTER YI
- u'\u0458' # 0x00f8 -> CYRILLIC SMALL LETTER JE
- u'\u0459' # 0x00f9 -> CYRILLIC SMALL LETTER LJE
- u'\u045a' # 0x00fa -> CYRILLIC SMALL LETTER NJE
- u'\u045b' # 0x00fb -> CYRILLIC SMALL LETTER TSHE
- u'\u045c' # 0x00fc -> CYRILLIC SMALL LETTER KJE
- u'\xa7' # 0x00fd -> SECTION SIGN
- u'\u045e' # 0x00fe -> CYRILLIC SMALL LETTER SHORT U
- u'\u045f' # 0x00ff -> CYRILLIC SMALL LETTER DZHE
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u0401' # 0xa1 -> CYRILLIC CAPITAL LETTER IO
+ u'\u0402' # 0xa2 -> CYRILLIC CAPITAL LETTER DJE
+ u'\u0403' # 0xa3 -> CYRILLIC CAPITAL LETTER GJE
+ u'\u0404' # 0xa4 -> CYRILLIC CAPITAL LETTER UKRAINIAN IE
+ u'\u0405' # 0xa5 -> CYRILLIC CAPITAL LETTER DZE
+ u'\u0406' # 0xa6 -> CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
+ u'\u0407' # 0xa7 -> CYRILLIC CAPITAL LETTER YI
+ u'\u0408' # 0xa8 -> CYRILLIC CAPITAL LETTER JE
+ u'\u0409' # 0xa9 -> CYRILLIC CAPITAL LETTER LJE
+ u'\u040a' # 0xaa -> CYRILLIC CAPITAL LETTER NJE
+ u'\u040b' # 0xab -> CYRILLIC CAPITAL LETTER TSHE
+ u'\u040c' # 0xac -> CYRILLIC CAPITAL LETTER KJE
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\u040e' # 0xae -> CYRILLIC CAPITAL LETTER SHORT U
+ u'\u040f' # 0xaf -> CYRILLIC CAPITAL LETTER DZHE
+ u'\u0410' # 0xb0 -> CYRILLIC CAPITAL LETTER A
+ u'\u0411' # 0xb1 -> CYRILLIC CAPITAL LETTER BE
+ u'\u0412' # 0xb2 -> CYRILLIC CAPITAL LETTER VE
+ u'\u0413' # 0xb3 -> CYRILLIC CAPITAL LETTER GHE
+ u'\u0414' # 0xb4 -> CYRILLIC CAPITAL LETTER DE
+ u'\u0415' # 0xb5 -> CYRILLIC CAPITAL LETTER IE
+ u'\u0416' # 0xb6 -> CYRILLIC CAPITAL LETTER ZHE
+ u'\u0417' # 0xb7 -> CYRILLIC CAPITAL LETTER ZE
+ u'\u0418' # 0xb8 -> CYRILLIC CAPITAL LETTER I
+ u'\u0419' # 0xb9 -> CYRILLIC CAPITAL LETTER SHORT I
+ u'\u041a' # 0xba -> CYRILLIC CAPITAL LETTER KA
+ u'\u041b' # 0xbb -> CYRILLIC CAPITAL LETTER EL
+ u'\u041c' # 0xbc -> CYRILLIC CAPITAL LETTER EM
+ u'\u041d' # 0xbd -> CYRILLIC CAPITAL LETTER EN
+ u'\u041e' # 0xbe -> CYRILLIC CAPITAL LETTER O
+ u'\u041f' # 0xbf -> CYRILLIC CAPITAL LETTER PE
+ u'\u0420' # 0xc0 -> CYRILLIC CAPITAL LETTER ER
+ u'\u0421' # 0xc1 -> CYRILLIC CAPITAL LETTER ES
+ u'\u0422' # 0xc2 -> CYRILLIC CAPITAL LETTER TE
+ u'\u0423' # 0xc3 -> CYRILLIC CAPITAL LETTER U
+ u'\u0424' # 0xc4 -> CYRILLIC CAPITAL LETTER EF
+ u'\u0425' # 0xc5 -> CYRILLIC CAPITAL LETTER HA
+ u'\u0426' # 0xc6 -> CYRILLIC CAPITAL LETTER TSE
+ u'\u0427' # 0xc7 -> CYRILLIC CAPITAL LETTER CHE
+ u'\u0428' # 0xc8 -> CYRILLIC CAPITAL LETTER SHA
+ u'\u0429' # 0xc9 -> CYRILLIC CAPITAL LETTER SHCHA
+ u'\u042a' # 0xca -> CYRILLIC CAPITAL LETTER HARD SIGN
+ u'\u042b' # 0xcb -> CYRILLIC CAPITAL LETTER YERU
+ u'\u042c' # 0xcc -> CYRILLIC CAPITAL LETTER SOFT SIGN
+ u'\u042d' # 0xcd -> CYRILLIC CAPITAL LETTER E
+ u'\u042e' # 0xce -> CYRILLIC CAPITAL LETTER YU
+ u'\u042f' # 0xcf -> CYRILLIC CAPITAL LETTER YA
+ u'\u0430' # 0xd0 -> CYRILLIC SMALL LETTER A
+ u'\u0431' # 0xd1 -> CYRILLIC SMALL LETTER BE
+ u'\u0432' # 0xd2 -> CYRILLIC SMALL LETTER VE
+ u'\u0433' # 0xd3 -> CYRILLIC SMALL LETTER GHE
+ u'\u0434' # 0xd4 -> CYRILLIC SMALL LETTER DE
+ u'\u0435' # 0xd5 -> CYRILLIC SMALL LETTER IE
+ u'\u0436' # 0xd6 -> CYRILLIC SMALL LETTER ZHE
+ u'\u0437' # 0xd7 -> CYRILLIC SMALL LETTER ZE
+ u'\u0438' # 0xd8 -> CYRILLIC SMALL LETTER I
+ u'\u0439' # 0xd9 -> CYRILLIC SMALL LETTER SHORT I
+ u'\u043a' # 0xda -> CYRILLIC SMALL LETTER KA
+ u'\u043b' # 0xdb -> CYRILLIC SMALL LETTER EL
+ u'\u043c' # 0xdc -> CYRILLIC SMALL LETTER EM
+ u'\u043d' # 0xdd -> CYRILLIC SMALL LETTER EN
+ u'\u043e' # 0xde -> CYRILLIC SMALL LETTER O
+ u'\u043f' # 0xdf -> CYRILLIC SMALL LETTER PE
+ u'\u0440' # 0xe0 -> CYRILLIC SMALL LETTER ER
+ u'\u0441' # 0xe1 -> CYRILLIC SMALL LETTER ES
+ u'\u0442' # 0xe2 -> CYRILLIC SMALL LETTER TE
+ u'\u0443' # 0xe3 -> CYRILLIC SMALL LETTER U
+ u'\u0444' # 0xe4 -> CYRILLIC SMALL LETTER EF
+ u'\u0445' # 0xe5 -> CYRILLIC SMALL LETTER HA
+ u'\u0446' # 0xe6 -> CYRILLIC SMALL LETTER TSE
+ u'\u0447' # 0xe7 -> CYRILLIC SMALL LETTER CHE
+ u'\u0448' # 0xe8 -> CYRILLIC SMALL LETTER SHA
+ u'\u0449' # 0xe9 -> CYRILLIC SMALL LETTER SHCHA
+ u'\u044a' # 0xea -> CYRILLIC SMALL LETTER HARD SIGN
+ u'\u044b' # 0xeb -> CYRILLIC SMALL LETTER YERU
+ u'\u044c' # 0xec -> CYRILLIC SMALL LETTER SOFT SIGN
+ u'\u044d' # 0xed -> CYRILLIC SMALL LETTER E
+ u'\u044e' # 0xee -> CYRILLIC SMALL LETTER YU
+ u'\u044f' # 0xef -> CYRILLIC SMALL LETTER YA
+ u'\u2116' # 0xf0 -> NUMERO SIGN
+ u'\u0451' # 0xf1 -> CYRILLIC SMALL LETTER IO
+ u'\u0452' # 0xf2 -> CYRILLIC SMALL LETTER DJE
+ u'\u0453' # 0xf3 -> CYRILLIC SMALL LETTER GJE
+ u'\u0454' # 0xf4 -> CYRILLIC SMALL LETTER UKRAINIAN IE
+ u'\u0455' # 0xf5 -> CYRILLIC SMALL LETTER DZE
+ u'\u0456' # 0xf6 -> CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
+ u'\u0457' # 0xf7 -> CYRILLIC SMALL LETTER YI
+ u'\u0458' # 0xf8 -> CYRILLIC SMALL LETTER JE
+ u'\u0459' # 0xf9 -> CYRILLIC SMALL LETTER LJE
+ u'\u045a' # 0xfa -> CYRILLIC SMALL LETTER NJE
+ u'\u045b' # 0xfb -> CYRILLIC SMALL LETTER TSHE
+ u'\u045c' # 0xfc -> CYRILLIC SMALL LETTER KJE
+ u'\xa7' # 0xfd -> SECTION SIGN
+ u'\u045e' # 0xfe -> CYRILLIC SMALL LETTER SHORT U
+ u'\u045f' # 0xff -> CYRILLIC SMALL LETTER DZHE
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a7: 0x00fd, # SECTION SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x0401: 0x00a1, # CYRILLIC CAPITAL LETTER IO
- 0x0402: 0x00a2, # CYRILLIC CAPITAL LETTER DJE
- 0x0403: 0x00a3, # CYRILLIC CAPITAL LETTER GJE
- 0x0404: 0x00a4, # CYRILLIC CAPITAL LETTER UKRAINIAN IE
- 0x0405: 0x00a5, # CYRILLIC CAPITAL LETTER DZE
- 0x0406: 0x00a6, # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x0407: 0x00a7, # CYRILLIC CAPITAL LETTER YI
- 0x0408: 0x00a8, # CYRILLIC CAPITAL LETTER JE
- 0x0409: 0x00a9, # CYRILLIC CAPITAL LETTER LJE
- 0x040a: 0x00aa, # CYRILLIC CAPITAL LETTER NJE
- 0x040b: 0x00ab, # CYRILLIC CAPITAL LETTER TSHE
- 0x040c: 0x00ac, # CYRILLIC CAPITAL LETTER KJE
- 0x040e: 0x00ae, # CYRILLIC CAPITAL LETTER SHORT U
- 0x040f: 0x00af, # CYRILLIC CAPITAL LETTER DZHE
- 0x0410: 0x00b0, # CYRILLIC CAPITAL LETTER A
- 0x0411: 0x00b1, # CYRILLIC CAPITAL LETTER BE
- 0x0412: 0x00b2, # CYRILLIC CAPITAL LETTER VE
- 0x0413: 0x00b3, # CYRILLIC CAPITAL LETTER GHE
- 0x0414: 0x00b4, # CYRILLIC CAPITAL LETTER DE
- 0x0415: 0x00b5, # CYRILLIC CAPITAL LETTER IE
- 0x0416: 0x00b6, # CYRILLIC CAPITAL LETTER ZHE
- 0x0417: 0x00b7, # CYRILLIC CAPITAL LETTER ZE
- 0x0418: 0x00b8, # CYRILLIC CAPITAL LETTER I
- 0x0419: 0x00b9, # CYRILLIC CAPITAL LETTER SHORT I
- 0x041a: 0x00ba, # CYRILLIC CAPITAL LETTER KA
- 0x041b: 0x00bb, # CYRILLIC CAPITAL LETTER EL
- 0x041c: 0x00bc, # CYRILLIC CAPITAL LETTER EM
- 0x041d: 0x00bd, # CYRILLIC CAPITAL LETTER EN
- 0x041e: 0x00be, # CYRILLIC CAPITAL LETTER O
- 0x041f: 0x00bf, # CYRILLIC CAPITAL LETTER PE
- 0x0420: 0x00c0, # CYRILLIC CAPITAL LETTER ER
- 0x0421: 0x00c1, # CYRILLIC CAPITAL LETTER ES
- 0x0422: 0x00c2, # CYRILLIC CAPITAL LETTER TE
- 0x0423: 0x00c3, # CYRILLIC CAPITAL LETTER U
- 0x0424: 0x00c4, # CYRILLIC CAPITAL LETTER EF
- 0x0425: 0x00c5, # CYRILLIC CAPITAL LETTER HA
- 0x0426: 0x00c6, # CYRILLIC CAPITAL LETTER TSE
- 0x0427: 0x00c7, # CYRILLIC CAPITAL LETTER CHE
- 0x0428: 0x00c8, # CYRILLIC CAPITAL LETTER SHA
- 0x0429: 0x00c9, # CYRILLIC CAPITAL LETTER SHCHA
- 0x042a: 0x00ca, # CYRILLIC CAPITAL LETTER HARD SIGN
- 0x042b: 0x00cb, # CYRILLIC CAPITAL LETTER YERU
- 0x042c: 0x00cc, # CYRILLIC CAPITAL LETTER SOFT SIGN
- 0x042d: 0x00cd, # CYRILLIC CAPITAL LETTER E
- 0x042e: 0x00ce, # CYRILLIC CAPITAL LETTER YU
- 0x042f: 0x00cf, # CYRILLIC CAPITAL LETTER YA
- 0x0430: 0x00d0, # CYRILLIC SMALL LETTER A
- 0x0431: 0x00d1, # CYRILLIC SMALL LETTER BE
- 0x0432: 0x00d2, # CYRILLIC SMALL LETTER VE
- 0x0433: 0x00d3, # CYRILLIC SMALL LETTER GHE
- 0x0434: 0x00d4, # CYRILLIC SMALL LETTER DE
- 0x0435: 0x00d5, # CYRILLIC SMALL LETTER IE
- 0x0436: 0x00d6, # CYRILLIC SMALL LETTER ZHE
- 0x0437: 0x00d7, # CYRILLIC SMALL LETTER ZE
- 0x0438: 0x00d8, # CYRILLIC SMALL LETTER I
- 0x0439: 0x00d9, # CYRILLIC SMALL LETTER SHORT I
- 0x043a: 0x00da, # CYRILLIC SMALL LETTER KA
- 0x043b: 0x00db, # CYRILLIC SMALL LETTER EL
- 0x043c: 0x00dc, # CYRILLIC SMALL LETTER EM
- 0x043d: 0x00dd, # CYRILLIC SMALL LETTER EN
- 0x043e: 0x00de, # CYRILLIC SMALL LETTER O
- 0x043f: 0x00df, # CYRILLIC SMALL LETTER PE
- 0x0440: 0x00e0, # CYRILLIC SMALL LETTER ER
- 0x0441: 0x00e1, # CYRILLIC SMALL LETTER ES
- 0x0442: 0x00e2, # CYRILLIC SMALL LETTER TE
- 0x0443: 0x00e3, # CYRILLIC SMALL LETTER U
- 0x0444: 0x00e4, # CYRILLIC SMALL LETTER EF
- 0x0445: 0x00e5, # CYRILLIC SMALL LETTER HA
- 0x0446: 0x00e6, # CYRILLIC SMALL LETTER TSE
- 0x0447: 0x00e7, # CYRILLIC SMALL LETTER CHE
- 0x0448: 0x00e8, # CYRILLIC SMALL LETTER SHA
- 0x0449: 0x00e9, # CYRILLIC SMALL LETTER SHCHA
- 0x044a: 0x00ea, # CYRILLIC SMALL LETTER HARD SIGN
- 0x044b: 0x00eb, # CYRILLIC SMALL LETTER YERU
- 0x044c: 0x00ec, # CYRILLIC SMALL LETTER SOFT SIGN
- 0x044d: 0x00ed, # CYRILLIC SMALL LETTER E
- 0x044e: 0x00ee, # CYRILLIC SMALL LETTER YU
- 0x044f: 0x00ef, # CYRILLIC SMALL LETTER YA
- 0x0451: 0x00f1, # CYRILLIC SMALL LETTER IO
- 0x0452: 0x00f2, # CYRILLIC SMALL LETTER DJE
- 0x0453: 0x00f3, # CYRILLIC SMALL LETTER GJE
- 0x0454: 0x00f4, # CYRILLIC SMALL LETTER UKRAINIAN IE
- 0x0455: 0x00f5, # CYRILLIC SMALL LETTER DZE
- 0x0456: 0x00f6, # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x0457: 0x00f7, # CYRILLIC SMALL LETTER YI
- 0x0458: 0x00f8, # CYRILLIC SMALL LETTER JE
- 0x0459: 0x00f9, # CYRILLIC SMALL LETTER LJE
- 0x045a: 0x00fa, # CYRILLIC SMALL LETTER NJE
- 0x045b: 0x00fb, # CYRILLIC SMALL LETTER TSHE
- 0x045c: 0x00fc, # CYRILLIC SMALL LETTER KJE
- 0x045e: 0x00fe, # CYRILLIC SMALL LETTER SHORT U
- 0x045f: 0x00ff, # CYRILLIC SMALL LETTER DZHE
- 0x2116: 0x00f0, # NUMERO SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a7: 0xfd, # SECTION SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x0401: 0xa1, # CYRILLIC CAPITAL LETTER IO
+ 0x0402: 0xa2, # CYRILLIC CAPITAL LETTER DJE
+ 0x0403: 0xa3, # CYRILLIC CAPITAL LETTER GJE
+ 0x0404: 0xa4, # CYRILLIC CAPITAL LETTER UKRAINIAN IE
+ 0x0405: 0xa5, # CYRILLIC CAPITAL LETTER DZE
+ 0x0406: 0xa6, # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
+ 0x0407: 0xa7, # CYRILLIC CAPITAL LETTER YI
+ 0x0408: 0xa8, # CYRILLIC CAPITAL LETTER JE
+ 0x0409: 0xa9, # CYRILLIC CAPITAL LETTER LJE
+ 0x040a: 0xaa, # CYRILLIC CAPITAL LETTER NJE
+ 0x040b: 0xab, # CYRILLIC CAPITAL LETTER TSHE
+ 0x040c: 0xac, # CYRILLIC CAPITAL LETTER KJE
+ 0x040e: 0xae, # CYRILLIC CAPITAL LETTER SHORT U
+ 0x040f: 0xaf, # CYRILLIC CAPITAL LETTER DZHE
+ 0x0410: 0xb0, # CYRILLIC CAPITAL LETTER A
+ 0x0411: 0xb1, # CYRILLIC CAPITAL LETTER BE
+ 0x0412: 0xb2, # CYRILLIC CAPITAL LETTER VE
+ 0x0413: 0xb3, # CYRILLIC CAPITAL LETTER GHE
+ 0x0414: 0xb4, # CYRILLIC CAPITAL LETTER DE
+ 0x0415: 0xb5, # CYRILLIC CAPITAL LETTER IE
+ 0x0416: 0xb6, # CYRILLIC CAPITAL LETTER ZHE
+ 0x0417: 0xb7, # CYRILLIC CAPITAL LETTER ZE
+ 0x0418: 0xb8, # CYRILLIC CAPITAL LETTER I
+ 0x0419: 0xb9, # CYRILLIC CAPITAL LETTER SHORT I
+ 0x041a: 0xba, # CYRILLIC CAPITAL LETTER KA
+ 0x041b: 0xbb, # CYRILLIC CAPITAL LETTER EL
+ 0x041c: 0xbc, # CYRILLIC CAPITAL LETTER EM
+ 0x041d: 0xbd, # CYRILLIC CAPITAL LETTER EN
+ 0x041e: 0xbe, # CYRILLIC CAPITAL LETTER O
+ 0x041f: 0xbf, # CYRILLIC CAPITAL LETTER PE
+ 0x0420: 0xc0, # CYRILLIC CAPITAL LETTER ER
+ 0x0421: 0xc1, # CYRILLIC CAPITAL LETTER ES
+ 0x0422: 0xc2, # CYRILLIC CAPITAL LETTER TE
+ 0x0423: 0xc3, # CYRILLIC CAPITAL LETTER U
+ 0x0424: 0xc4, # CYRILLIC CAPITAL LETTER EF
+ 0x0425: 0xc5, # CYRILLIC CAPITAL LETTER HA
+ 0x0426: 0xc6, # CYRILLIC CAPITAL LETTER TSE
+ 0x0427: 0xc7, # CYRILLIC CAPITAL LETTER CHE
+ 0x0428: 0xc8, # CYRILLIC CAPITAL LETTER SHA
+ 0x0429: 0xc9, # CYRILLIC CAPITAL LETTER SHCHA
+ 0x042a: 0xca, # CYRILLIC CAPITAL LETTER HARD SIGN
+ 0x042b: 0xcb, # CYRILLIC CAPITAL LETTER YERU
+ 0x042c: 0xcc, # CYRILLIC CAPITAL LETTER SOFT SIGN
+ 0x042d: 0xcd, # CYRILLIC CAPITAL LETTER E
+ 0x042e: 0xce, # CYRILLIC CAPITAL LETTER YU
+ 0x042f: 0xcf, # CYRILLIC CAPITAL LETTER YA
+ 0x0430: 0xd0, # CYRILLIC SMALL LETTER A
+ 0x0431: 0xd1, # CYRILLIC SMALL LETTER BE
+ 0x0432: 0xd2, # CYRILLIC SMALL LETTER VE
+ 0x0433: 0xd3, # CYRILLIC SMALL LETTER GHE
+ 0x0434: 0xd4, # CYRILLIC SMALL LETTER DE
+ 0x0435: 0xd5, # CYRILLIC SMALL LETTER IE
+ 0x0436: 0xd6, # CYRILLIC SMALL LETTER ZHE
+ 0x0437: 0xd7, # CYRILLIC SMALL LETTER ZE
+ 0x0438: 0xd8, # CYRILLIC SMALL LETTER I
+ 0x0439: 0xd9, # CYRILLIC SMALL LETTER SHORT I
+ 0x043a: 0xda, # CYRILLIC SMALL LETTER KA
+ 0x043b: 0xdb, # CYRILLIC SMALL LETTER EL
+ 0x043c: 0xdc, # CYRILLIC SMALL LETTER EM
+ 0x043d: 0xdd, # CYRILLIC SMALL LETTER EN
+ 0x043e: 0xde, # CYRILLIC SMALL LETTER O
+ 0x043f: 0xdf, # CYRILLIC SMALL LETTER PE
+ 0x0440: 0xe0, # CYRILLIC SMALL LETTER ER
+ 0x0441: 0xe1, # CYRILLIC SMALL LETTER ES
+ 0x0442: 0xe2, # CYRILLIC SMALL LETTER TE
+ 0x0443: 0xe3, # CYRILLIC SMALL LETTER U
+ 0x0444: 0xe4, # CYRILLIC SMALL LETTER EF
+ 0x0445: 0xe5, # CYRILLIC SMALL LETTER HA
+ 0x0446: 0xe6, # CYRILLIC SMALL LETTER TSE
+ 0x0447: 0xe7, # CYRILLIC SMALL LETTER CHE
+ 0x0448: 0xe8, # CYRILLIC SMALL LETTER SHA
+ 0x0449: 0xe9, # CYRILLIC SMALL LETTER SHCHA
+ 0x044a: 0xea, # CYRILLIC SMALL LETTER HARD SIGN
+ 0x044b: 0xeb, # CYRILLIC SMALL LETTER YERU
+ 0x044c: 0xec, # CYRILLIC SMALL LETTER SOFT SIGN
+ 0x044d: 0xed, # CYRILLIC SMALL LETTER E
+ 0x044e: 0xee, # CYRILLIC SMALL LETTER YU
+ 0x044f: 0xef, # CYRILLIC SMALL LETTER YA
+ 0x0451: 0xf1, # CYRILLIC SMALL LETTER IO
+ 0x0452: 0xf2, # CYRILLIC SMALL LETTER DJE
+ 0x0453: 0xf3, # CYRILLIC SMALL LETTER GJE
+ 0x0454: 0xf4, # CYRILLIC SMALL LETTER UKRAINIAN IE
+ 0x0455: 0xf5, # CYRILLIC SMALL LETTER DZE
+ 0x0456: 0xf6, # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
+ 0x0457: 0xf7, # CYRILLIC SMALL LETTER YI
+ 0x0458: 0xf8, # CYRILLIC SMALL LETTER JE
+ 0x0459: 0xf9, # CYRILLIC SMALL LETTER LJE
+ 0x045a: 0xfa, # CYRILLIC SMALL LETTER NJE
+ 0x045b: 0xfb, # CYRILLIC SMALL LETTER TSHE
+ 0x045c: 0xfc, # CYRILLIC SMALL LETTER KJE
+ 0x045e: 0xfe, # CYRILLIC SMALL LETTER SHORT U
+ 0x045f: 0xff, # CYRILLIC SMALL LETTER DZHE
+ 0x2116: 0xf0, # NUMERO SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_6.py b/Lib/encodings/iso8859_6.py
index 254dea31ff4..1e99b1ad256 100644
--- a/Lib/encodings/iso8859_6.py
+++ b/Lib/encodings/iso8859_6.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-6.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-6.TXT' with gencodec.py.
"""#"
@@ -28,282 +28,184 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: None,
- 0x00a2: None,
- 0x00a3: None,
- 0x00a5: None,
- 0x00a6: None,
- 0x00a7: None,
- 0x00a8: None,
- 0x00a9: None,
- 0x00aa: None,
- 0x00ab: None,
- 0x00ac: 0x060c, # ARABIC COMMA
- 0x00ae: None,
- 0x00af: None,
- 0x00b0: None,
- 0x00b1: None,
- 0x00b2: None,
- 0x00b3: None,
- 0x00b4: None,
- 0x00b5: None,
- 0x00b6: None,
- 0x00b7: None,
- 0x00b8: None,
- 0x00b9: None,
- 0x00ba: None,
- 0x00bb: 0x061b, # ARABIC SEMICOLON
- 0x00bc: None,
- 0x00bd: None,
- 0x00be: None,
- 0x00bf: 0x061f, # ARABIC QUESTION MARK
- 0x00c0: None,
- 0x00c1: 0x0621, # ARABIC LETTER HAMZA
- 0x00c2: 0x0622, # ARABIC LETTER ALEF WITH MADDA ABOVE
- 0x00c3: 0x0623, # ARABIC LETTER ALEF WITH HAMZA ABOVE
- 0x00c4: 0x0624, # ARABIC LETTER WAW WITH HAMZA ABOVE
- 0x00c5: 0x0625, # ARABIC LETTER ALEF WITH HAMZA BELOW
- 0x00c6: 0x0626, # ARABIC LETTER YEH WITH HAMZA ABOVE
- 0x00c7: 0x0627, # ARABIC LETTER ALEF
- 0x00c8: 0x0628, # ARABIC LETTER BEH
- 0x00c9: 0x0629, # ARABIC LETTER TEH MARBUTA
- 0x00ca: 0x062a, # ARABIC LETTER TEH
- 0x00cb: 0x062b, # ARABIC LETTER THEH
- 0x00cc: 0x062c, # ARABIC LETTER JEEM
- 0x00cd: 0x062d, # ARABIC LETTER HAH
- 0x00ce: 0x062e, # ARABIC LETTER KHAH
- 0x00cf: 0x062f, # ARABIC LETTER DAL
- 0x00d0: 0x0630, # ARABIC LETTER THAL
- 0x00d1: 0x0631, # ARABIC LETTER REH
- 0x00d2: 0x0632, # ARABIC LETTER ZAIN
- 0x00d3: 0x0633, # ARABIC LETTER SEEN
- 0x00d4: 0x0634, # ARABIC LETTER SHEEN
- 0x00d5: 0x0635, # ARABIC LETTER SAD
- 0x00d6: 0x0636, # ARABIC LETTER DAD
- 0x00d7: 0x0637, # ARABIC LETTER TAH
- 0x00d8: 0x0638, # ARABIC LETTER ZAH
- 0x00d9: 0x0639, # ARABIC LETTER AIN
- 0x00da: 0x063a, # ARABIC LETTER GHAIN
- 0x00db: None,
- 0x00dc: None,
- 0x00dd: None,
- 0x00de: None,
- 0x00df: None,
- 0x00e0: 0x0640, # ARABIC TATWEEL
- 0x00e1: 0x0641, # ARABIC LETTER FEH
- 0x00e2: 0x0642, # ARABIC LETTER QAF
- 0x00e3: 0x0643, # ARABIC LETTER KAF
- 0x00e4: 0x0644, # ARABIC LETTER LAM
- 0x00e5: 0x0645, # ARABIC LETTER MEEM
- 0x00e6: 0x0646, # ARABIC LETTER NOON
- 0x00e7: 0x0647, # ARABIC LETTER HEH
- 0x00e8: 0x0648, # ARABIC LETTER WAW
- 0x00e9: 0x0649, # ARABIC LETTER ALEF MAKSURA
- 0x00ea: 0x064a, # ARABIC LETTER YEH
- 0x00eb: 0x064b, # ARABIC FATHATAN
- 0x00ec: 0x064c, # ARABIC DAMMATAN
- 0x00ed: 0x064d, # ARABIC KASRATAN
- 0x00ee: 0x064e, # ARABIC FATHA
- 0x00ef: 0x064f, # ARABIC DAMMA
- 0x00f0: 0x0650, # ARABIC KASRA
- 0x00f1: 0x0651, # ARABIC SHADDA
- 0x00f2: 0x0652, # ARABIC SUKUN
- 0x00f3: None,
- 0x00f4: None,
- 0x00f5: None,
- 0x00f6: None,
- 0x00f7: None,
- 0x00f8: None,
- 0x00f9: None,
- 0x00fa: None,
- 0x00fb: None,
- 0x00fc: None,
- 0x00fd: None,
- 0x00fe: None,
- 0x00ff: None,
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\u060c' # 0x00ac -> ARABIC COMMA
- u'\xad' # 0x00ad -> SOFT HYPHEN
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\u060c' # 0xac -> ARABIC COMMA
+ u'\xad' # 0xad -> SOFT HYPHEN
u'\ufffe'
u'\ufffe'
u'\ufffe'
@@ -317,62 +219,62 @@ decoding_table = (
u'\ufffe'
u'\ufffe'
u'\ufffe'
- u'\u061b' # 0x00bb -> ARABIC SEMICOLON
+ u'\u061b' # 0xbb -> ARABIC SEMICOLON
u'\ufffe'
u'\ufffe'
u'\ufffe'
- u'\u061f' # 0x00bf -> ARABIC QUESTION MARK
+ u'\u061f' # 0xbf -> ARABIC QUESTION MARK
u'\ufffe'
- u'\u0621' # 0x00c1 -> ARABIC LETTER HAMZA
- u'\u0622' # 0x00c2 -> ARABIC LETTER ALEF WITH MADDA ABOVE
- u'\u0623' # 0x00c3 -> ARABIC LETTER ALEF WITH HAMZA ABOVE
- u'\u0624' # 0x00c4 -> ARABIC LETTER WAW WITH HAMZA ABOVE
- u'\u0625' # 0x00c5 -> ARABIC LETTER ALEF WITH HAMZA BELOW
- u'\u0626' # 0x00c6 -> ARABIC LETTER YEH WITH HAMZA ABOVE
- u'\u0627' # 0x00c7 -> ARABIC LETTER ALEF
- u'\u0628' # 0x00c8 -> ARABIC LETTER BEH
- u'\u0629' # 0x00c9 -> ARABIC LETTER TEH MARBUTA
- u'\u062a' # 0x00ca -> ARABIC LETTER TEH
- u'\u062b' # 0x00cb -> ARABIC LETTER THEH
- u'\u062c' # 0x00cc -> ARABIC LETTER JEEM
- u'\u062d' # 0x00cd -> ARABIC LETTER HAH
- u'\u062e' # 0x00ce -> ARABIC LETTER KHAH
- u'\u062f' # 0x00cf -> ARABIC LETTER DAL
- u'\u0630' # 0x00d0 -> ARABIC LETTER THAL
- u'\u0631' # 0x00d1 -> ARABIC LETTER REH
- u'\u0632' # 0x00d2 -> ARABIC LETTER ZAIN
- u'\u0633' # 0x00d3 -> ARABIC LETTER SEEN
- u'\u0634' # 0x00d4 -> ARABIC LETTER SHEEN
- u'\u0635' # 0x00d5 -> ARABIC LETTER SAD
- u'\u0636' # 0x00d6 -> ARABIC LETTER DAD
- u'\u0637' # 0x00d7 -> ARABIC LETTER TAH
- u'\u0638' # 0x00d8 -> ARABIC LETTER ZAH
- u'\u0639' # 0x00d9 -> ARABIC LETTER AIN
- u'\u063a' # 0x00da -> ARABIC LETTER GHAIN
+ u'\u0621' # 0xc1 -> ARABIC LETTER HAMZA
+ u'\u0622' # 0xc2 -> ARABIC LETTER ALEF WITH MADDA ABOVE
+ u'\u0623' # 0xc3 -> ARABIC LETTER ALEF WITH HAMZA ABOVE
+ u'\u0624' # 0xc4 -> ARABIC LETTER WAW WITH HAMZA ABOVE
+ u'\u0625' # 0xc5 -> ARABIC LETTER ALEF WITH HAMZA BELOW
+ u'\u0626' # 0xc6 -> ARABIC LETTER YEH WITH HAMZA ABOVE
+ u'\u0627' # 0xc7 -> ARABIC LETTER ALEF
+ u'\u0628' # 0xc8 -> ARABIC LETTER BEH
+ u'\u0629' # 0xc9 -> ARABIC LETTER TEH MARBUTA
+ u'\u062a' # 0xca -> ARABIC LETTER TEH
+ u'\u062b' # 0xcb -> ARABIC LETTER THEH
+ u'\u062c' # 0xcc -> ARABIC LETTER JEEM
+ u'\u062d' # 0xcd -> ARABIC LETTER HAH
+ u'\u062e' # 0xce -> ARABIC LETTER KHAH
+ u'\u062f' # 0xcf -> ARABIC LETTER DAL
+ u'\u0630' # 0xd0 -> ARABIC LETTER THAL
+ u'\u0631' # 0xd1 -> ARABIC LETTER REH
+ u'\u0632' # 0xd2 -> ARABIC LETTER ZAIN
+ u'\u0633' # 0xd3 -> ARABIC LETTER SEEN
+ u'\u0634' # 0xd4 -> ARABIC LETTER SHEEN
+ u'\u0635' # 0xd5 -> ARABIC LETTER SAD
+ u'\u0636' # 0xd6 -> ARABIC LETTER DAD
+ u'\u0637' # 0xd7 -> ARABIC LETTER TAH
+ u'\u0638' # 0xd8 -> ARABIC LETTER ZAH
+ u'\u0639' # 0xd9 -> ARABIC LETTER AIN
+ u'\u063a' # 0xda -> ARABIC LETTER GHAIN
u'\ufffe'
u'\ufffe'
u'\ufffe'
u'\ufffe'
u'\ufffe'
- u'\u0640' # 0x00e0 -> ARABIC TATWEEL
- u'\u0641' # 0x00e1 -> ARABIC LETTER FEH
- u'\u0642' # 0x00e2 -> ARABIC LETTER QAF
- u'\u0643' # 0x00e3 -> ARABIC LETTER KAF
- u'\u0644' # 0x00e4 -> ARABIC LETTER LAM
- u'\u0645' # 0x00e5 -> ARABIC LETTER MEEM
- u'\u0646' # 0x00e6 -> ARABIC LETTER NOON
- u'\u0647' # 0x00e7 -> ARABIC LETTER HEH
- u'\u0648' # 0x00e8 -> ARABIC LETTER WAW
- u'\u0649' # 0x00e9 -> ARABIC LETTER ALEF MAKSURA
- u'\u064a' # 0x00ea -> ARABIC LETTER YEH
- u'\u064b' # 0x00eb -> ARABIC FATHATAN
- u'\u064c' # 0x00ec -> ARABIC DAMMATAN
- u'\u064d' # 0x00ed -> ARABIC KASRATAN
- u'\u064e' # 0x00ee -> ARABIC FATHA
- u'\u064f' # 0x00ef -> ARABIC DAMMA
- u'\u0650' # 0x00f0 -> ARABIC KASRA
- u'\u0651' # 0x00f1 -> ARABIC SHADDA
- u'\u0652' # 0x00f2 -> ARABIC SUKUN
+ u'\u0640' # 0xe0 -> ARABIC TATWEEL
+ u'\u0641' # 0xe1 -> ARABIC LETTER FEH
+ u'\u0642' # 0xe2 -> ARABIC LETTER QAF
+ u'\u0643' # 0xe3 -> ARABIC LETTER KAF
+ u'\u0644' # 0xe4 -> ARABIC LETTER LAM
+ u'\u0645' # 0xe5 -> ARABIC LETTER MEEM
+ u'\u0646' # 0xe6 -> ARABIC LETTER NOON
+ u'\u0647' # 0xe7 -> ARABIC LETTER HEH
+ u'\u0648' # 0xe8 -> ARABIC LETTER WAW
+ u'\u0649' # 0xe9 -> ARABIC LETTER ALEF MAKSURA
+ u'\u064a' # 0xea -> ARABIC LETTER YEH
+ u'\u064b' # 0xeb -> ARABIC FATHATAN
+ u'\u064c' # 0xec -> ARABIC DAMMATAN
+ u'\u064d' # 0xed -> ARABIC KASRATAN
+ u'\u064e' # 0xee -> ARABIC FATHA
+ u'\u064f' # 0xef -> ARABIC DAMMA
+ u'\u0650' # 0xf0 -> ARABIC KASRA
+ u'\u0651' # 0xf1 -> ARABIC SHADDA
+ u'\u0652' # 0xf2 -> ARABIC SUKUN
u'\ufffe'
u'\ufffe'
u'\ufffe'
@@ -391,215 +293,215 @@ decoding_table = (
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x060c: 0x00ac, # ARABIC COMMA
- 0x061b: 0x00bb, # ARABIC SEMICOLON
- 0x061f: 0x00bf, # ARABIC QUESTION MARK
- 0x0621: 0x00c1, # ARABIC LETTER HAMZA
- 0x0622: 0x00c2, # ARABIC LETTER ALEF WITH MADDA ABOVE
- 0x0623: 0x00c3, # ARABIC LETTER ALEF WITH HAMZA ABOVE
- 0x0624: 0x00c4, # ARABIC LETTER WAW WITH HAMZA ABOVE
- 0x0625: 0x00c5, # ARABIC LETTER ALEF WITH HAMZA BELOW
- 0x0626: 0x00c6, # ARABIC LETTER YEH WITH HAMZA ABOVE
- 0x0627: 0x00c7, # ARABIC LETTER ALEF
- 0x0628: 0x00c8, # ARABIC LETTER BEH
- 0x0629: 0x00c9, # ARABIC LETTER TEH MARBUTA
- 0x062a: 0x00ca, # ARABIC LETTER TEH
- 0x062b: 0x00cb, # ARABIC LETTER THEH
- 0x062c: 0x00cc, # ARABIC LETTER JEEM
- 0x062d: 0x00cd, # ARABIC LETTER HAH
- 0x062e: 0x00ce, # ARABIC LETTER KHAH
- 0x062f: 0x00cf, # ARABIC LETTER DAL
- 0x0630: 0x00d0, # ARABIC LETTER THAL
- 0x0631: 0x00d1, # ARABIC LETTER REH
- 0x0632: 0x00d2, # ARABIC LETTER ZAIN
- 0x0633: 0x00d3, # ARABIC LETTER SEEN
- 0x0634: 0x00d4, # ARABIC LETTER SHEEN
- 0x0635: 0x00d5, # ARABIC LETTER SAD
- 0x0636: 0x00d6, # ARABIC LETTER DAD
- 0x0637: 0x00d7, # ARABIC LETTER TAH
- 0x0638: 0x00d8, # ARABIC LETTER ZAH
- 0x0639: 0x00d9, # ARABIC LETTER AIN
- 0x063a: 0x00da, # ARABIC LETTER GHAIN
- 0x0640: 0x00e0, # ARABIC TATWEEL
- 0x0641: 0x00e1, # ARABIC LETTER FEH
- 0x0642: 0x00e2, # ARABIC LETTER QAF
- 0x0643: 0x00e3, # ARABIC LETTER KAF
- 0x0644: 0x00e4, # ARABIC LETTER LAM
- 0x0645: 0x00e5, # ARABIC LETTER MEEM
- 0x0646: 0x00e6, # ARABIC LETTER NOON
- 0x0647: 0x00e7, # ARABIC LETTER HEH
- 0x0648: 0x00e8, # ARABIC LETTER WAW
- 0x0649: 0x00e9, # ARABIC LETTER ALEF MAKSURA
- 0x064a: 0x00ea, # ARABIC LETTER YEH
- 0x064b: 0x00eb, # ARABIC FATHATAN
- 0x064c: 0x00ec, # ARABIC DAMMATAN
- 0x064d: 0x00ed, # ARABIC KASRATAN
- 0x064e: 0x00ee, # ARABIC FATHA
- 0x064f: 0x00ef, # ARABIC DAMMA
- 0x0650: 0x00f0, # ARABIC KASRA
- 0x0651: 0x00f1, # ARABIC SHADDA
- 0x0652: 0x00f2, # ARABIC SUKUN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x060c: 0xac, # ARABIC COMMA
+ 0x061b: 0xbb, # ARABIC SEMICOLON
+ 0x061f: 0xbf, # ARABIC QUESTION MARK
+ 0x0621: 0xc1, # ARABIC LETTER HAMZA
+ 0x0622: 0xc2, # ARABIC LETTER ALEF WITH MADDA ABOVE
+ 0x0623: 0xc3, # ARABIC LETTER ALEF WITH HAMZA ABOVE
+ 0x0624: 0xc4, # ARABIC LETTER WAW WITH HAMZA ABOVE
+ 0x0625: 0xc5, # ARABIC LETTER ALEF WITH HAMZA BELOW
+ 0x0626: 0xc6, # ARABIC LETTER YEH WITH HAMZA ABOVE
+ 0x0627: 0xc7, # ARABIC LETTER ALEF
+ 0x0628: 0xc8, # ARABIC LETTER BEH
+ 0x0629: 0xc9, # ARABIC LETTER TEH MARBUTA
+ 0x062a: 0xca, # ARABIC LETTER TEH
+ 0x062b: 0xcb, # ARABIC LETTER THEH
+ 0x062c: 0xcc, # ARABIC LETTER JEEM
+ 0x062d: 0xcd, # ARABIC LETTER HAH
+ 0x062e: 0xce, # ARABIC LETTER KHAH
+ 0x062f: 0xcf, # ARABIC LETTER DAL
+ 0x0630: 0xd0, # ARABIC LETTER THAL
+ 0x0631: 0xd1, # ARABIC LETTER REH
+ 0x0632: 0xd2, # ARABIC LETTER ZAIN
+ 0x0633: 0xd3, # ARABIC LETTER SEEN
+ 0x0634: 0xd4, # ARABIC LETTER SHEEN
+ 0x0635: 0xd5, # ARABIC LETTER SAD
+ 0x0636: 0xd6, # ARABIC LETTER DAD
+ 0x0637: 0xd7, # ARABIC LETTER TAH
+ 0x0638: 0xd8, # ARABIC LETTER ZAH
+ 0x0639: 0xd9, # ARABIC LETTER AIN
+ 0x063a: 0xda, # ARABIC LETTER GHAIN
+ 0x0640: 0xe0, # ARABIC TATWEEL
+ 0x0641: 0xe1, # ARABIC LETTER FEH
+ 0x0642: 0xe2, # ARABIC LETTER QAF
+ 0x0643: 0xe3, # ARABIC LETTER KAF
+ 0x0644: 0xe4, # ARABIC LETTER LAM
+ 0x0645: 0xe5, # ARABIC LETTER MEEM
+ 0x0646: 0xe6, # ARABIC LETTER NOON
+ 0x0647: 0xe7, # ARABIC LETTER HEH
+ 0x0648: 0xe8, # ARABIC LETTER WAW
+ 0x0649: 0xe9, # ARABIC LETTER ALEF MAKSURA
+ 0x064a: 0xea, # ARABIC LETTER YEH
+ 0x064b: 0xeb, # ARABIC FATHATAN
+ 0x064c: 0xec, # ARABIC DAMMATAN
+ 0x064d: 0xed, # ARABIC KASRATAN
+ 0x064e: 0xee, # ARABIC FATHA
+ 0x064f: 0xef, # ARABIC DAMMA
+ 0x0650: 0xf0, # ARABIC KASRA
+ 0x0651: 0xf1, # ARABIC SHADDA
+ 0x0652: 0xf2, # ARABIC SUKUN
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_7.py b/Lib/encodings/iso8859_7.py
index 7d14c3eff1f..5ef3ece8308 100644
--- a/Lib/encodings/iso8859_7.py
+++ b/Lib/encodings/iso8859_7.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-7.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-7.TXT' with gencodec.py.
"""#"
@@ -28,607 +28,522 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x00a2: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x00a4: 0x20ac, # EURO SIGN
- 0x00a5: 0x20af, # DRACHMA SIGN
- 0x00aa: 0x037a, # GREEK YPOGEGRAMMENI
- 0x00ae: None,
- 0x00af: 0x2015, # HORIZONTAL BAR
- 0x00b4: 0x0384, # GREEK TONOS
- 0x00b5: 0x0385, # GREEK DIALYTIKA TONOS
- 0x00b6: 0x0386, # GREEK CAPITAL LETTER ALPHA WITH TONOS
- 0x00b8: 0x0388, # GREEK CAPITAL LETTER EPSILON WITH TONOS
- 0x00b9: 0x0389, # GREEK CAPITAL LETTER ETA WITH TONOS
- 0x00ba: 0x038a, # GREEK CAPITAL LETTER IOTA WITH TONOS
- 0x00bc: 0x038c, # GREEK CAPITAL LETTER OMICRON WITH TONOS
- 0x00be: 0x038e, # GREEK CAPITAL LETTER UPSILON WITH TONOS
- 0x00bf: 0x038f, # GREEK CAPITAL LETTER OMEGA WITH TONOS
- 0x00c0: 0x0390, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
- 0x00c1: 0x0391, # GREEK CAPITAL LETTER ALPHA
- 0x00c2: 0x0392, # GREEK CAPITAL LETTER BETA
- 0x00c3: 0x0393, # GREEK CAPITAL LETTER GAMMA
- 0x00c4: 0x0394, # GREEK CAPITAL LETTER DELTA
- 0x00c5: 0x0395, # GREEK CAPITAL LETTER EPSILON
- 0x00c6: 0x0396, # GREEK CAPITAL LETTER ZETA
- 0x00c7: 0x0397, # GREEK CAPITAL LETTER ETA
- 0x00c8: 0x0398, # GREEK CAPITAL LETTER THETA
- 0x00c9: 0x0399, # GREEK CAPITAL LETTER IOTA
- 0x00ca: 0x039a, # GREEK CAPITAL LETTER KAPPA
- 0x00cb: 0x039b, # GREEK CAPITAL LETTER LAMDA
- 0x00cc: 0x039c, # GREEK CAPITAL LETTER MU
- 0x00cd: 0x039d, # GREEK CAPITAL LETTER NU
- 0x00ce: 0x039e, # GREEK CAPITAL LETTER XI
- 0x00cf: 0x039f, # GREEK CAPITAL LETTER OMICRON
- 0x00d0: 0x03a0, # GREEK CAPITAL LETTER PI
- 0x00d1: 0x03a1, # GREEK CAPITAL LETTER RHO
- 0x00d2: None,
- 0x00d3: 0x03a3, # GREEK CAPITAL LETTER SIGMA
- 0x00d4: 0x03a4, # GREEK CAPITAL LETTER TAU
- 0x00d5: 0x03a5, # GREEK CAPITAL LETTER UPSILON
- 0x00d6: 0x03a6, # GREEK CAPITAL LETTER PHI
- 0x00d7: 0x03a7, # GREEK CAPITAL LETTER CHI
- 0x00d8: 0x03a8, # GREEK CAPITAL LETTER PSI
- 0x00d9: 0x03a9, # GREEK CAPITAL LETTER OMEGA
- 0x00da: 0x03aa, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- 0x00db: 0x03ab, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
- 0x00dc: 0x03ac, # GREEK SMALL LETTER ALPHA WITH TONOS
- 0x00dd: 0x03ad, # GREEK SMALL LETTER EPSILON WITH TONOS
- 0x00de: 0x03ae, # GREEK SMALL LETTER ETA WITH TONOS
- 0x00df: 0x03af, # GREEK SMALL LETTER IOTA WITH TONOS
- 0x00e0: 0x03b0, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
- 0x00e1: 0x03b1, # GREEK SMALL LETTER ALPHA
- 0x00e2: 0x03b2, # GREEK SMALL LETTER BETA
- 0x00e3: 0x03b3, # GREEK SMALL LETTER GAMMA
- 0x00e4: 0x03b4, # GREEK SMALL LETTER DELTA
- 0x00e5: 0x03b5, # GREEK SMALL LETTER EPSILON
- 0x00e6: 0x03b6, # GREEK SMALL LETTER ZETA
- 0x00e7: 0x03b7, # GREEK SMALL LETTER ETA
- 0x00e8: 0x03b8, # GREEK SMALL LETTER THETA
- 0x00e9: 0x03b9, # GREEK SMALL LETTER IOTA
- 0x00ea: 0x03ba, # GREEK SMALL LETTER KAPPA
- 0x00eb: 0x03bb, # GREEK SMALL LETTER LAMDA
- 0x00ec: 0x03bc, # GREEK SMALL LETTER MU
- 0x00ed: 0x03bd, # GREEK SMALL LETTER NU
- 0x00ee: 0x03be, # GREEK SMALL LETTER XI
- 0x00ef: 0x03bf, # GREEK SMALL LETTER OMICRON
- 0x00f0: 0x03c0, # GREEK SMALL LETTER PI
- 0x00f1: 0x03c1, # GREEK SMALL LETTER RHO
- 0x00f2: 0x03c2, # GREEK SMALL LETTER FINAL SIGMA
- 0x00f3: 0x03c3, # GREEK SMALL LETTER SIGMA
- 0x00f4: 0x03c4, # GREEK SMALL LETTER TAU
- 0x00f5: 0x03c5, # GREEK SMALL LETTER UPSILON
- 0x00f6: 0x03c6, # GREEK SMALL LETTER PHI
- 0x00f7: 0x03c7, # GREEK SMALL LETTER CHI
- 0x00f8: 0x03c8, # GREEK SMALL LETTER PSI
- 0x00f9: 0x03c9, # GREEK SMALL LETTER OMEGA
- 0x00fa: 0x03ca, # GREEK SMALL LETTER IOTA WITH DIALYTIKA
- 0x00fb: 0x03cb, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- 0x00fc: 0x03cc, # GREEK SMALL LETTER OMICRON WITH TONOS
- 0x00fd: 0x03cd, # GREEK SMALL LETTER UPSILON WITH TONOS
- 0x00fe: 0x03ce, # GREEK SMALL LETTER OMEGA WITH TONOS
- 0x00ff: None,
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\u2018' # 0x00a1 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x00a2 -> RIGHT SINGLE QUOTATION MARK
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\u20ac' # 0x00a4 -> EURO SIGN
- u'\u20af' # 0x00a5 -> DRACHMA SIGN
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u037a' # 0x00aa -> GREEK YPOGEGRAMMENI
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\u2018' # 0xa1 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0xa2 -> RIGHT SINGLE QUOTATION MARK
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\u20ac' # 0xa4 -> EURO SIGN
+ u'\u20af' # 0xa5 -> DRACHMA SIGN
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u037a' # 0xaa -> GREEK YPOGEGRAMMENI
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
u'\ufffe'
- u'\u2015' # 0x00af -> HORIZONTAL BAR
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\u0384' # 0x00b4 -> GREEK TONOS
- u'\u0385' # 0x00b5 -> GREEK DIALYTIKA TONOS
- u'\u0386' # 0x00b6 -> GREEK CAPITAL LETTER ALPHA WITH TONOS
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\u0388' # 0x00b8 -> GREEK CAPITAL LETTER EPSILON WITH TONOS
- u'\u0389' # 0x00b9 -> GREEK CAPITAL LETTER ETA WITH TONOS
- u'\u038a' # 0x00ba -> GREEK CAPITAL LETTER IOTA WITH TONOS
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u038c' # 0x00bc -> GREEK CAPITAL LETTER OMICRON WITH TONOS
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
- u'\u038e' # 0x00be -> GREEK CAPITAL LETTER UPSILON WITH TONOS
- u'\u038f' # 0x00bf -> GREEK CAPITAL LETTER OMEGA WITH TONOS
- u'\u0390' # 0x00c0 -> GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
- u'\u0391' # 0x00c1 -> GREEK CAPITAL LETTER ALPHA
- u'\u0392' # 0x00c2 -> GREEK CAPITAL LETTER BETA
- u'\u0393' # 0x00c3 -> GREEK CAPITAL LETTER GAMMA
- u'\u0394' # 0x00c4 -> GREEK CAPITAL LETTER DELTA
- u'\u0395' # 0x00c5 -> GREEK CAPITAL LETTER EPSILON
- u'\u0396' # 0x00c6 -> GREEK CAPITAL LETTER ZETA
- u'\u0397' # 0x00c7 -> GREEK CAPITAL LETTER ETA
- u'\u0398' # 0x00c8 -> GREEK CAPITAL LETTER THETA
- u'\u0399' # 0x00c9 -> GREEK CAPITAL LETTER IOTA
- u'\u039a' # 0x00ca -> GREEK CAPITAL LETTER KAPPA
- u'\u039b' # 0x00cb -> GREEK CAPITAL LETTER LAMDA
- u'\u039c' # 0x00cc -> GREEK CAPITAL LETTER MU
- u'\u039d' # 0x00cd -> GREEK CAPITAL LETTER NU
- u'\u039e' # 0x00ce -> GREEK CAPITAL LETTER XI
- u'\u039f' # 0x00cf -> GREEK CAPITAL LETTER OMICRON
- u'\u03a0' # 0x00d0 -> GREEK CAPITAL LETTER PI
- u'\u03a1' # 0x00d1 -> GREEK CAPITAL LETTER RHO
+ u'\u2015' # 0xaf -> HORIZONTAL BAR
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\u0384' # 0xb4 -> GREEK TONOS
+ u'\u0385' # 0xb5 -> GREEK DIALYTIKA TONOS
+ u'\u0386' # 0xb6 -> GREEK CAPITAL LETTER ALPHA WITH TONOS
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\u0388' # 0xb8 -> GREEK CAPITAL LETTER EPSILON WITH TONOS
+ u'\u0389' # 0xb9 -> GREEK CAPITAL LETTER ETA WITH TONOS
+ u'\u038a' # 0xba -> GREEK CAPITAL LETTER IOTA WITH TONOS
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u038c' # 0xbc -> GREEK CAPITAL LETTER OMICRON WITH TONOS
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
+ u'\u038e' # 0xbe -> GREEK CAPITAL LETTER UPSILON WITH TONOS
+ u'\u038f' # 0xbf -> GREEK CAPITAL LETTER OMEGA WITH TONOS
+ u'\u0390' # 0xc0 -> GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
+ u'\u0391' # 0xc1 -> GREEK CAPITAL LETTER ALPHA
+ u'\u0392' # 0xc2 -> GREEK CAPITAL LETTER BETA
+ u'\u0393' # 0xc3 -> GREEK CAPITAL LETTER GAMMA
+ u'\u0394' # 0xc4 -> GREEK CAPITAL LETTER DELTA
+ u'\u0395' # 0xc5 -> GREEK CAPITAL LETTER EPSILON
+ u'\u0396' # 0xc6 -> GREEK CAPITAL LETTER ZETA
+ u'\u0397' # 0xc7 -> GREEK CAPITAL LETTER ETA
+ u'\u0398' # 0xc8 -> GREEK CAPITAL LETTER THETA
+ u'\u0399' # 0xc9 -> GREEK CAPITAL LETTER IOTA
+ u'\u039a' # 0xca -> GREEK CAPITAL LETTER KAPPA
+ u'\u039b' # 0xcb -> GREEK CAPITAL LETTER LAMDA
+ u'\u039c' # 0xcc -> GREEK CAPITAL LETTER MU
+ u'\u039d' # 0xcd -> GREEK CAPITAL LETTER NU
+ u'\u039e' # 0xce -> GREEK CAPITAL LETTER XI
+ u'\u039f' # 0xcf -> GREEK CAPITAL LETTER OMICRON
+ u'\u03a0' # 0xd0 -> GREEK CAPITAL LETTER PI
+ u'\u03a1' # 0xd1 -> GREEK CAPITAL LETTER RHO
u'\ufffe'
- u'\u03a3' # 0x00d3 -> GREEK CAPITAL LETTER SIGMA
- u'\u03a4' # 0x00d4 -> GREEK CAPITAL LETTER TAU
- u'\u03a5' # 0x00d5 -> GREEK CAPITAL LETTER UPSILON
- u'\u03a6' # 0x00d6 -> GREEK CAPITAL LETTER PHI
- u'\u03a7' # 0x00d7 -> GREEK CAPITAL LETTER CHI
- u'\u03a8' # 0x00d8 -> GREEK CAPITAL LETTER PSI
- u'\u03a9' # 0x00d9 -> GREEK CAPITAL LETTER OMEGA
- u'\u03aa' # 0x00da -> GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- u'\u03ab' # 0x00db -> GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
- u'\u03ac' # 0x00dc -> GREEK SMALL LETTER ALPHA WITH TONOS
- u'\u03ad' # 0x00dd -> GREEK SMALL LETTER EPSILON WITH TONOS
- u'\u03ae' # 0x00de -> GREEK SMALL LETTER ETA WITH TONOS
- u'\u03af' # 0x00df -> GREEK SMALL LETTER IOTA WITH TONOS
- u'\u03b0' # 0x00e0 -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
- u'\u03b1' # 0x00e1 -> GREEK SMALL LETTER ALPHA
- u'\u03b2' # 0x00e2 -> GREEK SMALL LETTER BETA
- u'\u03b3' # 0x00e3 -> GREEK SMALL LETTER GAMMA
- u'\u03b4' # 0x00e4 -> GREEK SMALL LETTER DELTA
- u'\u03b5' # 0x00e5 -> GREEK SMALL LETTER EPSILON
- u'\u03b6' # 0x00e6 -> GREEK SMALL LETTER ZETA
- u'\u03b7' # 0x00e7 -> GREEK SMALL LETTER ETA
- u'\u03b8' # 0x00e8 -> GREEK SMALL LETTER THETA
- u'\u03b9' # 0x00e9 -> GREEK SMALL LETTER IOTA
- u'\u03ba' # 0x00ea -> GREEK SMALL LETTER KAPPA
- u'\u03bb' # 0x00eb -> GREEK SMALL LETTER LAMDA
- u'\u03bc' # 0x00ec -> GREEK SMALL LETTER MU
- u'\u03bd' # 0x00ed -> GREEK SMALL LETTER NU
- u'\u03be' # 0x00ee -> GREEK SMALL LETTER XI
- u'\u03bf' # 0x00ef -> GREEK SMALL LETTER OMICRON
- u'\u03c0' # 0x00f0 -> GREEK SMALL LETTER PI
- u'\u03c1' # 0x00f1 -> GREEK SMALL LETTER RHO
- u'\u03c2' # 0x00f2 -> GREEK SMALL LETTER FINAL SIGMA
- u'\u03c3' # 0x00f3 -> GREEK SMALL LETTER SIGMA
- u'\u03c4' # 0x00f4 -> GREEK SMALL LETTER TAU
- u'\u03c5' # 0x00f5 -> GREEK SMALL LETTER UPSILON
- u'\u03c6' # 0x00f6 -> GREEK SMALL LETTER PHI
- u'\u03c7' # 0x00f7 -> GREEK SMALL LETTER CHI
- u'\u03c8' # 0x00f8 -> GREEK SMALL LETTER PSI
- u'\u03c9' # 0x00f9 -> GREEK SMALL LETTER OMEGA
- u'\u03ca' # 0x00fa -> GREEK SMALL LETTER IOTA WITH DIALYTIKA
- u'\u03cb' # 0x00fb -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- u'\u03cc' # 0x00fc -> GREEK SMALL LETTER OMICRON WITH TONOS
- u'\u03cd' # 0x00fd -> GREEK SMALL LETTER UPSILON WITH TONOS
- u'\u03ce' # 0x00fe -> GREEK SMALL LETTER OMEGA WITH TONOS
+ u'\u03a3' # 0xd3 -> GREEK CAPITAL LETTER SIGMA
+ u'\u03a4' # 0xd4 -> GREEK CAPITAL LETTER TAU
+ u'\u03a5' # 0xd5 -> GREEK CAPITAL LETTER UPSILON
+ u'\u03a6' # 0xd6 -> GREEK CAPITAL LETTER PHI
+ u'\u03a7' # 0xd7 -> GREEK CAPITAL LETTER CHI
+ u'\u03a8' # 0xd8 -> GREEK CAPITAL LETTER PSI
+ u'\u03a9' # 0xd9 -> GREEK CAPITAL LETTER OMEGA
+ u'\u03aa' # 0xda -> GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
+ u'\u03ab' # 0xdb -> GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
+ u'\u03ac' # 0xdc -> GREEK SMALL LETTER ALPHA WITH TONOS
+ u'\u03ad' # 0xdd -> GREEK SMALL LETTER EPSILON WITH TONOS
+ u'\u03ae' # 0xde -> GREEK SMALL LETTER ETA WITH TONOS
+ u'\u03af' # 0xdf -> GREEK SMALL LETTER IOTA WITH TONOS
+ u'\u03b0' # 0xe0 -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
+ u'\u03b1' # 0xe1 -> GREEK SMALL LETTER ALPHA
+ u'\u03b2' # 0xe2 -> GREEK SMALL LETTER BETA
+ u'\u03b3' # 0xe3 -> GREEK SMALL LETTER GAMMA
+ u'\u03b4' # 0xe4 -> GREEK SMALL LETTER DELTA
+ u'\u03b5' # 0xe5 -> GREEK SMALL LETTER EPSILON
+ u'\u03b6' # 0xe6 -> GREEK SMALL LETTER ZETA
+ u'\u03b7' # 0xe7 -> GREEK SMALL LETTER ETA
+ u'\u03b8' # 0xe8 -> GREEK SMALL LETTER THETA
+ u'\u03b9' # 0xe9 -> GREEK SMALL LETTER IOTA
+ u'\u03ba' # 0xea -> GREEK SMALL LETTER KAPPA
+ u'\u03bb' # 0xeb -> GREEK SMALL LETTER LAMDA
+ u'\u03bc' # 0xec -> GREEK SMALL LETTER MU
+ u'\u03bd' # 0xed -> GREEK SMALL LETTER NU
+ u'\u03be' # 0xee -> GREEK SMALL LETTER XI
+ u'\u03bf' # 0xef -> GREEK SMALL LETTER OMICRON
+ u'\u03c0' # 0xf0 -> GREEK SMALL LETTER PI
+ u'\u03c1' # 0xf1 -> GREEK SMALL LETTER RHO
+ u'\u03c2' # 0xf2 -> GREEK SMALL LETTER FINAL SIGMA
+ u'\u03c3' # 0xf3 -> GREEK SMALL LETTER SIGMA
+ u'\u03c4' # 0xf4 -> GREEK SMALL LETTER TAU
+ u'\u03c5' # 0xf5 -> GREEK SMALL LETTER UPSILON
+ u'\u03c6' # 0xf6 -> GREEK SMALL LETTER PHI
+ u'\u03c7' # 0xf7 -> GREEK SMALL LETTER CHI
+ u'\u03c8' # 0xf8 -> GREEK SMALL LETTER PSI
+ u'\u03c9' # 0xf9 -> GREEK SMALL LETTER OMEGA
+ u'\u03ca' # 0xfa -> GREEK SMALL LETTER IOTA WITH DIALYTIKA
+ u'\u03cb' # 0xfb -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA
+ u'\u03cc' # 0xfc -> GREEK SMALL LETTER OMICRON WITH TONOS
+ u'\u03cd' # 0xfd -> GREEK SMALL LETTER UPSILON WITH TONOS
+ u'\u03ce' # 0xfe -> GREEK SMALL LETTER OMEGA WITH TONOS
u'\ufffe'
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x037a: 0x00aa, # GREEK YPOGEGRAMMENI
- 0x0384: 0x00b4, # GREEK TONOS
- 0x0385: 0x00b5, # GREEK DIALYTIKA TONOS
- 0x0386: 0x00b6, # GREEK CAPITAL LETTER ALPHA WITH TONOS
- 0x0388: 0x00b8, # GREEK CAPITAL LETTER EPSILON WITH TONOS
- 0x0389: 0x00b9, # GREEK CAPITAL LETTER ETA WITH TONOS
- 0x038a: 0x00ba, # GREEK CAPITAL LETTER IOTA WITH TONOS
- 0x038c: 0x00bc, # GREEK CAPITAL LETTER OMICRON WITH TONOS
- 0x038e: 0x00be, # GREEK CAPITAL LETTER UPSILON WITH TONOS
- 0x038f: 0x00bf, # GREEK CAPITAL LETTER OMEGA WITH TONOS
- 0x0390: 0x00c0, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
- 0x0391: 0x00c1, # GREEK CAPITAL LETTER ALPHA
- 0x0392: 0x00c2, # GREEK CAPITAL LETTER BETA
- 0x0393: 0x00c3, # GREEK CAPITAL LETTER GAMMA
- 0x0394: 0x00c4, # GREEK CAPITAL LETTER DELTA
- 0x0395: 0x00c5, # GREEK CAPITAL LETTER EPSILON
- 0x0396: 0x00c6, # GREEK CAPITAL LETTER ZETA
- 0x0397: 0x00c7, # GREEK CAPITAL LETTER ETA
- 0x0398: 0x00c8, # GREEK CAPITAL LETTER THETA
- 0x0399: 0x00c9, # GREEK CAPITAL LETTER IOTA
- 0x039a: 0x00ca, # GREEK CAPITAL LETTER KAPPA
- 0x039b: 0x00cb, # GREEK CAPITAL LETTER LAMDA
- 0x039c: 0x00cc, # GREEK CAPITAL LETTER MU
- 0x039d: 0x00cd, # GREEK CAPITAL LETTER NU
- 0x039e: 0x00ce, # GREEK CAPITAL LETTER XI
- 0x039f: 0x00cf, # GREEK CAPITAL LETTER OMICRON
- 0x03a0: 0x00d0, # GREEK CAPITAL LETTER PI
- 0x03a1: 0x00d1, # GREEK CAPITAL LETTER RHO
- 0x03a3: 0x00d3, # GREEK CAPITAL LETTER SIGMA
- 0x03a4: 0x00d4, # GREEK CAPITAL LETTER TAU
- 0x03a5: 0x00d5, # GREEK CAPITAL LETTER UPSILON
- 0x03a6: 0x00d6, # GREEK CAPITAL LETTER PHI
- 0x03a7: 0x00d7, # GREEK CAPITAL LETTER CHI
- 0x03a8: 0x00d8, # GREEK CAPITAL LETTER PSI
- 0x03a9: 0x00d9, # GREEK CAPITAL LETTER OMEGA
- 0x03aa: 0x00da, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- 0x03ab: 0x00db, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
- 0x03ac: 0x00dc, # GREEK SMALL LETTER ALPHA WITH TONOS
- 0x03ad: 0x00dd, # GREEK SMALL LETTER EPSILON WITH TONOS
- 0x03ae: 0x00de, # GREEK SMALL LETTER ETA WITH TONOS
- 0x03af: 0x00df, # GREEK SMALL LETTER IOTA WITH TONOS
- 0x03b0: 0x00e0, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
- 0x03b1: 0x00e1, # GREEK SMALL LETTER ALPHA
- 0x03b2: 0x00e2, # GREEK SMALL LETTER BETA
- 0x03b3: 0x00e3, # GREEK SMALL LETTER GAMMA
- 0x03b4: 0x00e4, # GREEK SMALL LETTER DELTA
- 0x03b5: 0x00e5, # GREEK SMALL LETTER EPSILON
- 0x03b6: 0x00e6, # GREEK SMALL LETTER ZETA
- 0x03b7: 0x00e7, # GREEK SMALL LETTER ETA
- 0x03b8: 0x00e8, # GREEK SMALL LETTER THETA
- 0x03b9: 0x00e9, # GREEK SMALL LETTER IOTA
- 0x03ba: 0x00ea, # GREEK SMALL LETTER KAPPA
- 0x03bb: 0x00eb, # GREEK SMALL LETTER LAMDA
- 0x03bc: 0x00ec, # GREEK SMALL LETTER MU
- 0x03bd: 0x00ed, # GREEK SMALL LETTER NU
- 0x03be: 0x00ee, # GREEK SMALL LETTER XI
- 0x03bf: 0x00ef, # GREEK SMALL LETTER OMICRON
- 0x03c0: 0x00f0, # GREEK SMALL LETTER PI
- 0x03c1: 0x00f1, # GREEK SMALL LETTER RHO
- 0x03c2: 0x00f2, # GREEK SMALL LETTER FINAL SIGMA
- 0x03c3: 0x00f3, # GREEK SMALL LETTER SIGMA
- 0x03c4: 0x00f4, # GREEK SMALL LETTER TAU
- 0x03c5: 0x00f5, # GREEK SMALL LETTER UPSILON
- 0x03c6: 0x00f6, # GREEK SMALL LETTER PHI
- 0x03c7: 0x00f7, # GREEK SMALL LETTER CHI
- 0x03c8: 0x00f8, # GREEK SMALL LETTER PSI
- 0x03c9: 0x00f9, # GREEK SMALL LETTER OMEGA
- 0x03ca: 0x00fa, # GREEK SMALL LETTER IOTA WITH DIALYTIKA
- 0x03cb: 0x00fb, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- 0x03cc: 0x00fc, # GREEK SMALL LETTER OMICRON WITH TONOS
- 0x03cd: 0x00fd, # GREEK SMALL LETTER UPSILON WITH TONOS
- 0x03ce: 0x00fe, # GREEK SMALL LETTER OMEGA WITH TONOS
- 0x2015: 0x00af, # HORIZONTAL BAR
- 0x2018: 0x00a1, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x00a2, # RIGHT SINGLE QUOTATION MARK
- 0x20ac: 0x00a4, # EURO SIGN
- 0x20af: 0x00a5, # DRACHMA SIGN
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x037a: 0xaa, # GREEK YPOGEGRAMMENI
+ 0x0384: 0xb4, # GREEK TONOS
+ 0x0385: 0xb5, # GREEK DIALYTIKA TONOS
+ 0x0386: 0xb6, # GREEK CAPITAL LETTER ALPHA WITH TONOS
+ 0x0388: 0xb8, # GREEK CAPITAL LETTER EPSILON WITH TONOS
+ 0x0389: 0xb9, # GREEK CAPITAL LETTER ETA WITH TONOS
+ 0x038a: 0xba, # GREEK CAPITAL LETTER IOTA WITH TONOS
+ 0x038c: 0xbc, # GREEK CAPITAL LETTER OMICRON WITH TONOS
+ 0x038e: 0xbe, # GREEK CAPITAL LETTER UPSILON WITH TONOS
+ 0x038f: 0xbf, # GREEK CAPITAL LETTER OMEGA WITH TONOS
+ 0x0390: 0xc0, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
+ 0x0391: 0xc1, # GREEK CAPITAL LETTER ALPHA
+ 0x0392: 0xc2, # GREEK CAPITAL LETTER BETA
+ 0x0393: 0xc3, # GREEK CAPITAL LETTER GAMMA
+ 0x0394: 0xc4, # GREEK CAPITAL LETTER DELTA
+ 0x0395: 0xc5, # GREEK CAPITAL LETTER EPSILON
+ 0x0396: 0xc6, # GREEK CAPITAL LETTER ZETA
+ 0x0397: 0xc7, # GREEK CAPITAL LETTER ETA
+ 0x0398: 0xc8, # GREEK CAPITAL LETTER THETA
+ 0x0399: 0xc9, # GREEK CAPITAL LETTER IOTA
+ 0x039a: 0xca, # GREEK CAPITAL LETTER KAPPA
+ 0x039b: 0xcb, # GREEK CAPITAL LETTER LAMDA
+ 0x039c: 0xcc, # GREEK CAPITAL LETTER MU
+ 0x039d: 0xcd, # GREEK CAPITAL LETTER NU
+ 0x039e: 0xce, # GREEK CAPITAL LETTER XI
+ 0x039f: 0xcf, # GREEK CAPITAL LETTER OMICRON
+ 0x03a0: 0xd0, # GREEK CAPITAL LETTER PI
+ 0x03a1: 0xd1, # GREEK CAPITAL LETTER RHO
+ 0x03a3: 0xd3, # GREEK CAPITAL LETTER SIGMA
+ 0x03a4: 0xd4, # GREEK CAPITAL LETTER TAU
+ 0x03a5: 0xd5, # GREEK CAPITAL LETTER UPSILON
+ 0x03a6: 0xd6, # GREEK CAPITAL LETTER PHI
+ 0x03a7: 0xd7, # GREEK CAPITAL LETTER CHI
+ 0x03a8: 0xd8, # GREEK CAPITAL LETTER PSI
+ 0x03a9: 0xd9, # GREEK CAPITAL LETTER OMEGA
+ 0x03aa: 0xda, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
+ 0x03ab: 0xdb, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
+ 0x03ac: 0xdc, # GREEK SMALL LETTER ALPHA WITH TONOS
+ 0x03ad: 0xdd, # GREEK SMALL LETTER EPSILON WITH TONOS
+ 0x03ae: 0xde, # GREEK SMALL LETTER ETA WITH TONOS
+ 0x03af: 0xdf, # GREEK SMALL LETTER IOTA WITH TONOS
+ 0x03b0: 0xe0, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
+ 0x03b1: 0xe1, # GREEK SMALL LETTER ALPHA
+ 0x03b2: 0xe2, # GREEK SMALL LETTER BETA
+ 0x03b3: 0xe3, # GREEK SMALL LETTER GAMMA
+ 0x03b4: 0xe4, # GREEK SMALL LETTER DELTA
+ 0x03b5: 0xe5, # GREEK SMALL LETTER EPSILON
+ 0x03b6: 0xe6, # GREEK SMALL LETTER ZETA
+ 0x03b7: 0xe7, # GREEK SMALL LETTER ETA
+ 0x03b8: 0xe8, # GREEK SMALL LETTER THETA
+ 0x03b9: 0xe9, # GREEK SMALL LETTER IOTA
+ 0x03ba: 0xea, # GREEK SMALL LETTER KAPPA
+ 0x03bb: 0xeb, # GREEK SMALL LETTER LAMDA
+ 0x03bc: 0xec, # GREEK SMALL LETTER MU
+ 0x03bd: 0xed, # GREEK SMALL LETTER NU
+ 0x03be: 0xee, # GREEK SMALL LETTER XI
+ 0x03bf: 0xef, # GREEK SMALL LETTER OMICRON
+ 0x03c0: 0xf0, # GREEK SMALL LETTER PI
+ 0x03c1: 0xf1, # GREEK SMALL LETTER RHO
+ 0x03c2: 0xf2, # GREEK SMALL LETTER FINAL SIGMA
+ 0x03c3: 0xf3, # GREEK SMALL LETTER SIGMA
+ 0x03c4: 0xf4, # GREEK SMALL LETTER TAU
+ 0x03c5: 0xf5, # GREEK SMALL LETTER UPSILON
+ 0x03c6: 0xf6, # GREEK SMALL LETTER PHI
+ 0x03c7: 0xf7, # GREEK SMALL LETTER CHI
+ 0x03c8: 0xf8, # GREEK SMALL LETTER PSI
+ 0x03c9: 0xf9, # GREEK SMALL LETTER OMEGA
+ 0x03ca: 0xfa, # GREEK SMALL LETTER IOTA WITH DIALYTIKA
+ 0x03cb: 0xfb, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA
+ 0x03cc: 0xfc, # GREEK SMALL LETTER OMICRON WITH TONOS
+ 0x03cd: 0xfd, # GREEK SMALL LETTER UPSILON WITH TONOS
+ 0x03ce: 0xfe, # GREEK SMALL LETTER OMEGA WITH TONOS
+ 0x2015: 0xaf, # HORIZONTAL BAR
+ 0x2018: 0xa1, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0xa2, # RIGHT SINGLE QUOTATION MARK
+ 0x20ac: 0xa4, # EURO SIGN
+ 0x20af: 0xa5, # DRACHMA SIGN
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_8.py b/Lib/encodings/iso8859_8.py
index 2d01db0e901..118872c396e 100644
--- a/Lib/encodings/iso8859_8.py
+++ b/Lib/encodings/iso8859_8.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-8.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-8.TXT' with gencodec.py.
"""#"
@@ -28,292 +28,219 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00a1: None,
- 0x00aa: 0x00d7, # MULTIPLICATION SIGN
- 0x00ba: 0x00f7, # DIVISION SIGN
- 0x00bf: None,
- 0x00c0: None,
- 0x00c1: None,
- 0x00c2: None,
- 0x00c3: None,
- 0x00c4: None,
- 0x00c5: None,
- 0x00c6: None,
- 0x00c7: None,
- 0x00c8: None,
- 0x00c9: None,
- 0x00ca: None,
- 0x00cb: None,
- 0x00cc: None,
- 0x00cd: None,
- 0x00ce: None,
- 0x00cf: None,
- 0x00d0: None,
- 0x00d1: None,
- 0x00d2: None,
- 0x00d3: None,
- 0x00d4: None,
- 0x00d5: None,
- 0x00d6: None,
- 0x00d7: None,
- 0x00d8: None,
- 0x00d9: None,
- 0x00da: None,
- 0x00db: None,
- 0x00dc: None,
- 0x00dd: None,
- 0x00de: None,
- 0x00df: 0x2017, # DOUBLE LOW LINE
- 0x00e0: 0x05d0, # HEBREW LETTER ALEF
- 0x00e1: 0x05d1, # HEBREW LETTER BET
- 0x00e2: 0x05d2, # HEBREW LETTER GIMEL
- 0x00e3: 0x05d3, # HEBREW LETTER DALET
- 0x00e4: 0x05d4, # HEBREW LETTER HE
- 0x00e5: 0x05d5, # HEBREW LETTER VAV
- 0x00e6: 0x05d6, # HEBREW LETTER ZAYIN
- 0x00e7: 0x05d7, # HEBREW LETTER HET
- 0x00e8: 0x05d8, # HEBREW LETTER TET
- 0x00e9: 0x05d9, # HEBREW LETTER YOD
- 0x00ea: 0x05da, # HEBREW LETTER FINAL KAF
- 0x00eb: 0x05db, # HEBREW LETTER KAF
- 0x00ec: 0x05dc, # HEBREW LETTER LAMED
- 0x00ed: 0x05dd, # HEBREW LETTER FINAL MEM
- 0x00ee: 0x05de, # HEBREW LETTER MEM
- 0x00ef: 0x05df, # HEBREW LETTER FINAL NUN
- 0x00f0: 0x05e0, # HEBREW LETTER NUN
- 0x00f1: 0x05e1, # HEBREW LETTER SAMEKH
- 0x00f2: 0x05e2, # HEBREW LETTER AYIN
- 0x00f3: 0x05e3, # HEBREW LETTER FINAL PE
- 0x00f4: 0x05e4, # HEBREW LETTER PE
- 0x00f5: 0x05e5, # HEBREW LETTER FINAL TSADI
- 0x00f6: 0x05e6, # HEBREW LETTER TSADI
- 0x00f7: 0x05e7, # HEBREW LETTER QOF
- 0x00f8: 0x05e8, # HEBREW LETTER RESH
- 0x00f9: 0x05e9, # HEBREW LETTER SHIN
- 0x00fa: 0x05ea, # HEBREW LETTER TAV
- 0x00fb: None,
- 0x00fc: None,
- 0x00fd: 0x200e, # LEFT-TO-RIGHT MARK
- 0x00fe: 0x200f, # RIGHT-TO-LEFT MARK
- 0x00ff: None,
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\ufffe'
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\xa5' # 0x00a5 -> YEN SIGN
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\xd7' # 0x00aa -> MULTIPLICATION SIGN
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\xaf' # 0x00af -> MACRON
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\xb8' # 0x00b8 -> CEDILLA
- u'\xb9' # 0x00b9 -> SUPERSCRIPT ONE
- u'\xf7' # 0x00ba -> DIVISION SIGN
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbc' # 0x00bc -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00be -> VULGAR FRACTION THREE QUARTERS
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
- u'\ufffe'
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\ufffe'
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\xa5' # 0xa5 -> YEN SIGN
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\xd7' # 0xaa -> MULTIPLICATION SIGN
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\xaf' # 0xaf -> MACRON
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\xb8' # 0xb8 -> CEDILLA
+ u'\xb9' # 0xb9 -> SUPERSCRIPT ONE
+ u'\xf7' # 0xba -> DIVISION SIGN
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbc' # 0xbc -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xbe -> VULGAR FRACTION THREE QUARTERS
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
u'\ufffe'
u'\ufffe'
u'\ufffe'
@@ -328,262 +255,262 @@ decoding_table = (
u'\ufffe'
u'\ufffe'
u'\ufffe'
- u'\u2017' # 0x00df -> DOUBLE LOW LINE
- u'\u05d0' # 0x00e0 -> HEBREW LETTER ALEF
- u'\u05d1' # 0x00e1 -> HEBREW LETTER BET
- u'\u05d2' # 0x00e2 -> HEBREW LETTER GIMEL
- u'\u05d3' # 0x00e3 -> HEBREW LETTER DALET
- u'\u05d4' # 0x00e4 -> HEBREW LETTER HE
- u'\u05d5' # 0x00e5 -> HEBREW LETTER VAV
- u'\u05d6' # 0x00e6 -> HEBREW LETTER ZAYIN
- u'\u05d7' # 0x00e7 -> HEBREW LETTER HET
- u'\u05d8' # 0x00e8 -> HEBREW LETTER TET
- u'\u05d9' # 0x00e9 -> HEBREW LETTER YOD
- u'\u05da' # 0x00ea -> HEBREW LETTER FINAL KAF
- u'\u05db' # 0x00eb -> HEBREW LETTER KAF
- u'\u05dc' # 0x00ec -> HEBREW LETTER LAMED
- u'\u05dd' # 0x00ed -> HEBREW LETTER FINAL MEM
- u'\u05de' # 0x00ee -> HEBREW LETTER MEM
- u'\u05df' # 0x00ef -> HEBREW LETTER FINAL NUN
- u'\u05e0' # 0x00f0 -> HEBREW LETTER NUN
- u'\u05e1' # 0x00f1 -> HEBREW LETTER SAMEKH
- u'\u05e2' # 0x00f2 -> HEBREW LETTER AYIN
- u'\u05e3' # 0x00f3 -> HEBREW LETTER FINAL PE
- u'\u05e4' # 0x00f4 -> HEBREW LETTER PE
- u'\u05e5' # 0x00f5 -> HEBREW LETTER FINAL TSADI
- u'\u05e6' # 0x00f6 -> HEBREW LETTER TSADI
- u'\u05e7' # 0x00f7 -> HEBREW LETTER QOF
- u'\u05e8' # 0x00f8 -> HEBREW LETTER RESH
- u'\u05e9' # 0x00f9 -> HEBREW LETTER SHIN
- u'\u05ea' # 0x00fa -> HEBREW LETTER TAV
+ u'\u2017' # 0xdf -> DOUBLE LOW LINE
+ u'\u05d0' # 0xe0 -> HEBREW LETTER ALEF
+ u'\u05d1' # 0xe1 -> HEBREW LETTER BET
+ u'\u05d2' # 0xe2 -> HEBREW LETTER GIMEL
+ u'\u05d3' # 0xe3 -> HEBREW LETTER DALET
+ u'\u05d4' # 0xe4 -> HEBREW LETTER HE
+ u'\u05d5' # 0xe5 -> HEBREW LETTER VAV
+ u'\u05d6' # 0xe6 -> HEBREW LETTER ZAYIN
+ u'\u05d7' # 0xe7 -> HEBREW LETTER HET
+ u'\u05d8' # 0xe8 -> HEBREW LETTER TET
+ u'\u05d9' # 0xe9 -> HEBREW LETTER YOD
+ u'\u05da' # 0xea -> HEBREW LETTER FINAL KAF
+ u'\u05db' # 0xeb -> HEBREW LETTER KAF
+ u'\u05dc' # 0xec -> HEBREW LETTER LAMED
+ u'\u05dd' # 0xed -> HEBREW LETTER FINAL MEM
+ u'\u05de' # 0xee -> HEBREW LETTER MEM
+ u'\u05df' # 0xef -> HEBREW LETTER FINAL NUN
+ u'\u05e0' # 0xf0 -> HEBREW LETTER NUN
+ u'\u05e1' # 0xf1 -> HEBREW LETTER SAMEKH
+ u'\u05e2' # 0xf2 -> HEBREW LETTER AYIN
+ u'\u05e3' # 0xf3 -> HEBREW LETTER FINAL PE
+ u'\u05e4' # 0xf4 -> HEBREW LETTER PE
+ u'\u05e5' # 0xf5 -> HEBREW LETTER FINAL TSADI
+ u'\u05e6' # 0xf6 -> HEBREW LETTER TSADI
+ u'\u05e7' # 0xf7 -> HEBREW LETTER QOF
+ u'\u05e8' # 0xf8 -> HEBREW LETTER RESH
+ u'\u05e9' # 0xf9 -> HEBREW LETTER SHIN
+ u'\u05ea' # 0xfa -> HEBREW LETTER TAV
u'\ufffe'
u'\ufffe'
- u'\u200e' # 0x00fd -> LEFT-TO-RIGHT MARK
- u'\u200f' # 0x00fe -> RIGHT-TO-LEFT MARK
+ u'\u200e' # 0xfd -> LEFT-TO-RIGHT MARK
+ u'\u200f' # 0xfe -> RIGHT-TO-LEFT MARK
u'\ufffe'
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a5: 0x00a5, # YEN SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00af: 0x00af, # MACRON
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b8: 0x00b8, # CEDILLA
- 0x00b9: 0x00b9, # SUPERSCRIPT ONE
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00d7: 0x00aa, # MULTIPLICATION SIGN
- 0x00f7: 0x00ba, # DIVISION SIGN
- 0x05d0: 0x00e0, # HEBREW LETTER ALEF
- 0x05d1: 0x00e1, # HEBREW LETTER BET
- 0x05d2: 0x00e2, # HEBREW LETTER GIMEL
- 0x05d3: 0x00e3, # HEBREW LETTER DALET
- 0x05d4: 0x00e4, # HEBREW LETTER HE
- 0x05d5: 0x00e5, # HEBREW LETTER VAV
- 0x05d6: 0x00e6, # HEBREW LETTER ZAYIN
- 0x05d7: 0x00e7, # HEBREW LETTER HET
- 0x05d8: 0x00e8, # HEBREW LETTER TET
- 0x05d9: 0x00e9, # HEBREW LETTER YOD
- 0x05da: 0x00ea, # HEBREW LETTER FINAL KAF
- 0x05db: 0x00eb, # HEBREW LETTER KAF
- 0x05dc: 0x00ec, # HEBREW LETTER LAMED
- 0x05dd: 0x00ed, # HEBREW LETTER FINAL MEM
- 0x05de: 0x00ee, # HEBREW LETTER MEM
- 0x05df: 0x00ef, # HEBREW LETTER FINAL NUN
- 0x05e0: 0x00f0, # HEBREW LETTER NUN
- 0x05e1: 0x00f1, # HEBREW LETTER SAMEKH
- 0x05e2: 0x00f2, # HEBREW LETTER AYIN
- 0x05e3: 0x00f3, # HEBREW LETTER FINAL PE
- 0x05e4: 0x00f4, # HEBREW LETTER PE
- 0x05e5: 0x00f5, # HEBREW LETTER FINAL TSADI
- 0x05e6: 0x00f6, # HEBREW LETTER TSADI
- 0x05e7: 0x00f7, # HEBREW LETTER QOF
- 0x05e8: 0x00f8, # HEBREW LETTER RESH
- 0x05e9: 0x00f9, # HEBREW LETTER SHIN
- 0x05ea: 0x00fa, # HEBREW LETTER TAV
- 0x200e: 0x00fd, # LEFT-TO-RIGHT MARK
- 0x200f: 0x00fe, # RIGHT-TO-LEFT MARK
- 0x2017: 0x00df, # DOUBLE LOW LINE
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a5: 0xa5, # YEN SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00af: 0xaf, # MACRON
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b8: 0xb8, # CEDILLA
+ 0x00b9: 0xb9, # SUPERSCRIPT ONE
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xbc, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xbe, # VULGAR FRACTION THREE QUARTERS
+ 0x00d7: 0xaa, # MULTIPLICATION SIGN
+ 0x00f7: 0xba, # DIVISION SIGN
+ 0x05d0: 0xe0, # HEBREW LETTER ALEF
+ 0x05d1: 0xe1, # HEBREW LETTER BET
+ 0x05d2: 0xe2, # HEBREW LETTER GIMEL
+ 0x05d3: 0xe3, # HEBREW LETTER DALET
+ 0x05d4: 0xe4, # HEBREW LETTER HE
+ 0x05d5: 0xe5, # HEBREW LETTER VAV
+ 0x05d6: 0xe6, # HEBREW LETTER ZAYIN
+ 0x05d7: 0xe7, # HEBREW LETTER HET
+ 0x05d8: 0xe8, # HEBREW LETTER TET
+ 0x05d9: 0xe9, # HEBREW LETTER YOD
+ 0x05da: 0xea, # HEBREW LETTER FINAL KAF
+ 0x05db: 0xeb, # HEBREW LETTER KAF
+ 0x05dc: 0xec, # HEBREW LETTER LAMED
+ 0x05dd: 0xed, # HEBREW LETTER FINAL MEM
+ 0x05de: 0xee, # HEBREW LETTER MEM
+ 0x05df: 0xef, # HEBREW LETTER FINAL NUN
+ 0x05e0: 0xf0, # HEBREW LETTER NUN
+ 0x05e1: 0xf1, # HEBREW LETTER SAMEKH
+ 0x05e2: 0xf2, # HEBREW LETTER AYIN
+ 0x05e3: 0xf3, # HEBREW LETTER FINAL PE
+ 0x05e4: 0xf4, # HEBREW LETTER PE
+ 0x05e5: 0xf5, # HEBREW LETTER FINAL TSADI
+ 0x05e6: 0xf6, # HEBREW LETTER TSADI
+ 0x05e7: 0xf7, # HEBREW LETTER QOF
+ 0x05e8: 0xf8, # HEBREW LETTER RESH
+ 0x05e9: 0xf9, # HEBREW LETTER SHIN
+ 0x05ea: 0xfa, # HEBREW LETTER TAV
+ 0x200e: 0xfd, # LEFT-TO-RIGHT MARK
+ 0x200f: 0xfe, # RIGHT-TO-LEFT MARK
+ 0x2017: 0xdf, # DOUBLE LOW LINE
} \ No newline at end of file
diff --git a/Lib/encodings/iso8859_9.py b/Lib/encodings/iso8859_9.py
index 37fc7f86147..b9152d14acb 100644
--- a/Lib/encodings/iso8859_9.py
+++ b/Lib/encodings/iso8859_9.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'ISO8859/8859-9.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/ISO8859/8859-9.TXT' with gencodec.py.
"""#"
@@ -28,536 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x00d0: 0x011e, # LATIN CAPITAL LETTER G WITH BREVE
- 0x00dd: 0x0130, # LATIN CAPITAL LETTER I WITH DOT ABOVE
- 0x00de: 0x015e, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x00f0: 0x011f, # LATIN SMALL LETTER G WITH BREVE
- 0x00fd: 0x0131, # LATIN SMALL LETTER DOTLESS I
- 0x00fe: 0x015f, # LATIN SMALL LETTER S WITH CEDILLA
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\x80' # 0x0080 -> <control>
- u'\x81' # 0x0081 -> <control>
- u'\x82' # 0x0082 -> <control>
- u'\x83' # 0x0083 -> <control>
- u'\x84' # 0x0084 -> <control>
- u'\x85' # 0x0085 -> <control>
- u'\x86' # 0x0086 -> <control>
- u'\x87' # 0x0087 -> <control>
- u'\x88' # 0x0088 -> <control>
- u'\x89' # 0x0089 -> <control>
- u'\x8a' # 0x008a -> <control>
- u'\x8b' # 0x008b -> <control>
- u'\x8c' # 0x008c -> <control>
- u'\x8d' # 0x008d -> <control>
- u'\x8e' # 0x008e -> <control>
- u'\x8f' # 0x008f -> <control>
- u'\x90' # 0x0090 -> <control>
- u'\x91' # 0x0091 -> <control>
- u'\x92' # 0x0092 -> <control>
- u'\x93' # 0x0093 -> <control>
- u'\x94' # 0x0094 -> <control>
- u'\x95' # 0x0095 -> <control>
- u'\x96' # 0x0096 -> <control>
- u'\x97' # 0x0097 -> <control>
- u'\x98' # 0x0098 -> <control>
- u'\x99' # 0x0099 -> <control>
- u'\x9a' # 0x009a -> <control>
- u'\x9b' # 0x009b -> <control>
- u'\x9c' # 0x009c -> <control>
- u'\x9d' # 0x009d -> <control>
- u'\x9e' # 0x009e -> <control>
- u'\x9f' # 0x009f -> <control>
- u'\xa0' # 0x00a0 -> NO-BREAK SPACE
- u'\xa1' # 0x00a1 -> INVERTED EXCLAMATION MARK
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa4' # 0x00a4 -> CURRENCY SIGN
- u'\xa5' # 0x00a5 -> YEN SIGN
- u'\xa6' # 0x00a6 -> BROKEN BAR
- u'\xa7' # 0x00a7 -> SECTION SIGN
- u'\xa8' # 0x00a8 -> DIAERESIS
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\xaa' # 0x00aa -> FEMININE ORDINAL INDICATOR
- u'\xab' # 0x00ab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xac' # 0x00ac -> NOT SIGN
- u'\xad' # 0x00ad -> SOFT HYPHEN
- u'\xae' # 0x00ae -> REGISTERED SIGN
- u'\xaf' # 0x00af -> MACRON
- u'\xb0' # 0x00b0 -> DEGREE SIGN
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\xb2' # 0x00b2 -> SUPERSCRIPT TWO
- u'\xb3' # 0x00b3 -> SUPERSCRIPT THREE
- u'\xb4' # 0x00b4 -> ACUTE ACCENT
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\xb6' # 0x00b6 -> PILCROW SIGN
- u'\xb7' # 0x00b7 -> MIDDLE DOT
- u'\xb8' # 0x00b8 -> CEDILLA
- u'\xb9' # 0x00b9 -> SUPERSCRIPT ONE
- u'\xba' # 0x00ba -> MASCULINE ORDINAL INDICATOR
- u'\xbb' # 0x00bb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbc' # 0x00bc -> VULGAR FRACTION ONE QUARTER
- u'\xbd' # 0x00bd -> VULGAR FRACTION ONE HALF
- u'\xbe' # 0x00be -> VULGAR FRACTION THREE QUARTERS
- u'\xbf' # 0x00bf -> INVERTED QUESTION MARK
- u'\xc0' # 0x00c0 -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc1' # 0x00c1 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xc2' # 0x00c2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xc3' # 0x00c3 -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xc4' # 0x00c4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x00c5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc6' # 0x00c6 -> LATIN CAPITAL LETTER AE
- u'\xc7' # 0x00c7 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc8' # 0x00c8 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xc9' # 0x00c9 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xca' # 0x00ca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xcb' # 0x00cb -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xcc' # 0x00cc -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xcd' # 0x00cd -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00ce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00cf -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\u011e' # 0x00d0 -> LATIN CAPITAL LETTER G WITH BREVE
- u'\xd1' # 0x00d1 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd2' # 0x00d2 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xd3' # 0x00d3 -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00d4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\xd5' # 0x00d5 -> LATIN CAPITAL LETTER O WITH TILDE
- u'\xd6' # 0x00d6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xd7' # 0x00d7 -> MULTIPLICATION SIGN
- u'\xd8' # 0x00d8 -> LATIN CAPITAL LETTER O WITH STROKE
- u'\xd9' # 0x00d9 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\xda' # 0x00da -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00db -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xdc' # 0x00dc -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\u0130' # 0x00dd -> LATIN CAPITAL LETTER I WITH DOT ABOVE
- u'\u015e' # 0x00de -> LATIN CAPITAL LETTER S WITH CEDILLA
- u'\xdf' # 0x00df -> LATIN SMALL LETTER SHARP S
- u'\xe0' # 0x00e0 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe1' # 0x00e1 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe2' # 0x00e2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe3' # 0x00e3 -> LATIN SMALL LETTER A WITH TILDE
- u'\xe4' # 0x00e4 -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe5' # 0x00e5 -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe6' # 0x00e6 -> LATIN SMALL LETTER AE
- u'\xe7' # 0x00e7 -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe8' # 0x00e8 -> LATIN SMALL LETTER E WITH GRAVE
- u'\xe9' # 0x00e9 -> LATIN SMALL LETTER E WITH ACUTE
- u'\xea' # 0x00ea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x00eb -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xec' # 0x00ec -> LATIN SMALL LETTER I WITH GRAVE
- u'\xed' # 0x00ed -> LATIN SMALL LETTER I WITH ACUTE
- u'\xee' # 0x00ee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x00ef -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\u011f' # 0x00f0 -> LATIN SMALL LETTER G WITH BREVE
- u'\xf1' # 0x00f1 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf2' # 0x00f2 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf3' # 0x00f3 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf4' # 0x00f4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf5' # 0x00f5 -> LATIN SMALL LETTER O WITH TILDE
- u'\xf6' # 0x00f6 -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x00f7 -> DIVISION SIGN
- u'\xf8' # 0x00f8 -> LATIN SMALL LETTER O WITH STROKE
- u'\xf9' # 0x00f9 -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfa' # 0x00fa -> LATIN SMALL LETTER U WITH ACUTE
- u'\xfb' # 0x00fb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x00fc -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u0131' # 0x00fd -> LATIN SMALL LETTER DOTLESS I
- u'\u015f' # 0x00fe -> LATIN SMALL LETTER S WITH CEDILLA
- u'\xff' # 0x00ff -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\xa0' # 0xa0 -> NO-BREAK SPACE
+ u'\xa1' # 0xa1 -> INVERTED EXCLAMATION MARK
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa4' # 0xa4 -> CURRENCY SIGN
+ u'\xa5' # 0xa5 -> YEN SIGN
+ u'\xa6' # 0xa6 -> BROKEN BAR
+ u'\xa7' # 0xa7 -> SECTION SIGN
+ u'\xa8' # 0xa8 -> DIAERESIS
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\xaa' # 0xaa -> FEMININE ORDINAL INDICATOR
+ u'\xab' # 0xab -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xac' # 0xac -> NOT SIGN
+ u'\xad' # 0xad -> SOFT HYPHEN
+ u'\xae' # 0xae -> REGISTERED SIGN
+ u'\xaf' # 0xaf -> MACRON
+ u'\xb0' # 0xb0 -> DEGREE SIGN
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\xb2' # 0xb2 -> SUPERSCRIPT TWO
+ u'\xb3' # 0xb3 -> SUPERSCRIPT THREE
+ u'\xb4' # 0xb4 -> ACUTE ACCENT
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\xb6' # 0xb6 -> PILCROW SIGN
+ u'\xb7' # 0xb7 -> MIDDLE DOT
+ u'\xb8' # 0xb8 -> CEDILLA
+ u'\xb9' # 0xb9 -> SUPERSCRIPT ONE
+ u'\xba' # 0xba -> MASCULINE ORDINAL INDICATOR
+ u'\xbb' # 0xbb -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbc' # 0xbc -> VULGAR FRACTION ONE QUARTER
+ u'\xbd' # 0xbd -> VULGAR FRACTION ONE HALF
+ u'\xbe' # 0xbe -> VULGAR FRACTION THREE QUARTERS
+ u'\xbf' # 0xbf -> INVERTED QUESTION MARK
+ u'\xc0' # 0xc0 -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc1' # 0xc1 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xc2' # 0xc2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xc3' # 0xc3 -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xc4' # 0xc4 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0xc5 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc6' # 0xc6 -> LATIN CAPITAL LETTER AE
+ u'\xc7' # 0xc7 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc8' # 0xc8 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xc9' # 0xc9 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xca' # 0xca -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xcb' # 0xcb -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xcc' # 0xcc -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xcd' # 0xcd -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xce -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xcf -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\u011e' # 0xd0 -> LATIN CAPITAL LETTER G WITH BREVE
+ u'\xd1' # 0xd1 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd2' # 0xd2 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xd3' # 0xd3 -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xd4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\xd5' # 0xd5 -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\xd6' # 0xd6 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xd7' # 0xd7 -> MULTIPLICATION SIGN
+ u'\xd8' # 0xd8 -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\xd9' # 0xd9 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\xda' # 0xda -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xdb -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xdc' # 0xdc -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\u0130' # 0xdd -> LATIN CAPITAL LETTER I WITH DOT ABOVE
+ u'\u015e' # 0xde -> LATIN CAPITAL LETTER S WITH CEDILLA
+ u'\xdf' # 0xdf -> LATIN SMALL LETTER SHARP S
+ u'\xe0' # 0xe0 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe1' # 0xe1 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe2' # 0xe2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe3' # 0xe3 -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe4' # 0xe4 -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe5' # 0xe5 -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe6' # 0xe6 -> LATIN SMALL LETTER AE
+ u'\xe7' # 0xe7 -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe8' # 0xe8 -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xe9' # 0xe9 -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xea' # 0xea -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0xeb -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xec' # 0xec -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xed' # 0xed -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xee' # 0xee -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0xef -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\u011f' # 0xf0 -> LATIN SMALL LETTER G WITH BREVE
+ u'\xf1' # 0xf1 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf2' # 0xf2 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf3' # 0xf3 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf4' # 0xf4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf5' # 0xf5 -> LATIN SMALL LETTER O WITH TILDE
+ u'\xf6' # 0xf6 -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0xf7 -> DIVISION SIGN
+ u'\xf8' # 0xf8 -> LATIN SMALL LETTER O WITH STROKE
+ u'\xf9' # 0xf9 -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfa' # 0xfa -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xfb' # 0xfb -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0xfc -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u0131' # 0xfd -> LATIN SMALL LETTER DOTLESS I
+ u'\u015f' # 0xfe -> LATIN SMALL LETTER S WITH CEDILLA
+ u'\xff' # 0xff -> LATIN SMALL LETTER Y WITH DIAERESIS
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x0080: 0x0080, # <control>
- 0x0081: 0x0081, # <control>
- 0x0082: 0x0082, # <control>
- 0x0083: 0x0083, # <control>
- 0x0084: 0x0084, # <control>
- 0x0085: 0x0085, # <control>
- 0x0086: 0x0086, # <control>
- 0x0087: 0x0087, # <control>
- 0x0088: 0x0088, # <control>
- 0x0089: 0x0089, # <control>
- 0x008a: 0x008a, # <control>
- 0x008b: 0x008b, # <control>
- 0x008c: 0x008c, # <control>
- 0x008d: 0x008d, # <control>
- 0x008e: 0x008e, # <control>
- 0x008f: 0x008f, # <control>
- 0x0090: 0x0090, # <control>
- 0x0091: 0x0091, # <control>
- 0x0092: 0x0092, # <control>
- 0x0093: 0x0093, # <control>
- 0x0094: 0x0094, # <control>
- 0x0095: 0x0095, # <control>
- 0x0096: 0x0096, # <control>
- 0x0097: 0x0097, # <control>
- 0x0098: 0x0098, # <control>
- 0x0099: 0x0099, # <control>
- 0x009a: 0x009a, # <control>
- 0x009b: 0x009b, # <control>
- 0x009c: 0x009c, # <control>
- 0x009d: 0x009d, # <control>
- 0x009e: 0x009e, # <control>
- 0x009f: 0x009f, # <control>
- 0x00a0: 0x00a0, # NO-BREAK SPACE
- 0x00a1: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a4: 0x00a4, # CURRENCY SIGN
- 0x00a5: 0x00a5, # YEN SIGN
- 0x00a6: 0x00a6, # BROKEN BAR
- 0x00a7: 0x00a7, # SECTION SIGN
- 0x00a8: 0x00a8, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00aa: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00ac, # NOT SIGN
- 0x00ad: 0x00ad, # SOFT HYPHEN
- 0x00ae: 0x00ae, # REGISTERED SIGN
- 0x00af: 0x00af, # MACRON
- 0x00b0: 0x00b0, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x00b2, # SUPERSCRIPT TWO
- 0x00b3: 0x00b3, # SUPERSCRIPT THREE
- 0x00b4: 0x00b4, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00b6, # PILCROW SIGN
- 0x00b7: 0x00b7, # MIDDLE DOT
- 0x00b8: 0x00b8, # CEDILLA
- 0x00b9: 0x00b9, # SUPERSCRIPT ONE
- 0x00ba: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bc: 0x00bc, # VULGAR FRACTION ONE QUARTER
- 0x00bd: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x00be: 0x00be, # VULGAR FRACTION THREE QUARTERS
- 0x00bf: 0x00bf, # INVERTED QUESTION MARK
- 0x00c0: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00c7: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d1: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d7: 0x00d7, # MULTIPLICATION SIGN
- 0x00d8: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00e6, # LATIN SMALL LETTER AE
- 0x00e7: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f1: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00f7, # DIVISION SIGN
- 0x00f8: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00ff: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x011e: 0x00d0, # LATIN CAPITAL LETTER G WITH BREVE
- 0x011f: 0x00f0, # LATIN SMALL LETTER G WITH BREVE
- 0x0130: 0x00dd, # LATIN CAPITAL LETTER I WITH DOT ABOVE
- 0x0131: 0x00fd, # LATIN SMALL LETTER DOTLESS I
- 0x015e: 0x00de, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x015f: 0x00fe, # LATIN SMALL LETTER S WITH CEDILLA
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x00a0: 0xa0, # NO-BREAK SPACE
+ 0x00a1: 0xa1, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a4: 0xa4, # CURRENCY SIGN
+ 0x00a5: 0xa5, # YEN SIGN
+ 0x00a6: 0xa6, # BROKEN BAR
+ 0x00a7: 0xa7, # SECTION SIGN
+ 0x00a8: 0xa8, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00aa: 0xaa, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0xab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xac, # NOT SIGN
+ 0x00ad: 0xad, # SOFT HYPHEN
+ 0x00ae: 0xae, # REGISTERED SIGN
+ 0x00af: 0xaf, # MACRON
+ 0x00b0: 0xb0, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0xb2, # SUPERSCRIPT TWO
+ 0x00b3: 0xb3, # SUPERSCRIPT THREE
+ 0x00b4: 0xb4, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xb6, # PILCROW SIGN
+ 0x00b7: 0xb7, # MIDDLE DOT
+ 0x00b8: 0xb8, # CEDILLA
+ 0x00b9: 0xb9, # SUPERSCRIPT ONE
+ 0x00ba: 0xba, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0xbb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bc: 0xbc, # VULGAR FRACTION ONE QUARTER
+ 0x00bd: 0xbd, # VULGAR FRACTION ONE HALF
+ 0x00be: 0xbe, # VULGAR FRACTION THREE QUARTERS
+ 0x00bf: 0xbf, # INVERTED QUESTION MARK
+ 0x00c0: 0xc0, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xc1, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xc2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xc3, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0xc4, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0xc5, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xc6, # LATIN CAPITAL LETTER AE
+ 0x00c7: 0xc7, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xc8, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0xc9, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xcb, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xcc, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xcd, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xcf, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d1: 0xd1, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xd2, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xd3, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xd4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xd5, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0xd6, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d7: 0xd7, # MULTIPLICATION SIGN
+ 0x00d8: 0xd8, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xd9, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xda, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xdb, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0xdc, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xdf, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0xe0, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0xe1, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0xe2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0xe3, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0xe4, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0xe5, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xe6, # LATIN SMALL LETTER AE
+ 0x00e7: 0xe7, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0xe8, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0xe9, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0xea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0xeb, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0xec, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0xed, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0xee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0xef, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f1: 0xf1, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0xf2, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0xf3, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0xf4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0xf5, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0xf6, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xf7, # DIVISION SIGN
+ 0x00f8: 0xf8, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0xf9, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0xfa, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0xfb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0xfc, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00ff: 0xff, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x011e: 0xd0, # LATIN CAPITAL LETTER G WITH BREVE
+ 0x011f: 0xf0, # LATIN SMALL LETTER G WITH BREVE
+ 0x0130: 0xdd, # LATIN CAPITAL LETTER I WITH DOT ABOVE
+ 0x0131: 0xfd, # LATIN SMALL LETTER DOTLESS I
+ 0x015e: 0xde, # LATIN CAPITAL LETTER S WITH CEDILLA
+ 0x015f: 0xfe, # LATIN SMALL LETTER S WITH CEDILLA
} \ No newline at end of file
diff --git a/Lib/encodings/koi8_r.py b/Lib/encodings/koi8_r.py
index f1dc3ec26c6..fffc471a54f 100644
--- a/Lib/encodings/koi8_r.py
+++ b/Lib/encodings/koi8_r.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/MISC/KOI8-R.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/MISC/KOI8-R.TXT' with gencodec.py.
"""#"
@@ -28,658 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x2500, # BOX DRAWINGS LIGHT HORIZONTAL
- 0x0081: 0x2502, # BOX DRAWINGS LIGHT VERTICAL
- 0x0082: 0x250c, # BOX DRAWINGS LIGHT DOWN AND RIGHT
- 0x0083: 0x2510, # BOX DRAWINGS LIGHT DOWN AND LEFT
- 0x0084: 0x2514, # BOX DRAWINGS LIGHT UP AND RIGHT
- 0x0085: 0x2518, # BOX DRAWINGS LIGHT UP AND LEFT
- 0x0086: 0x251c, # BOX DRAWINGS LIGHT VERTICAL AND RIGHT
- 0x0087: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
- 0x0088: 0x252c, # BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
- 0x0089: 0x2534, # BOX DRAWINGS LIGHT UP AND HORIZONTAL
- 0x008a: 0x253c, # BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
- 0x008b: 0x2580, # UPPER HALF BLOCK
- 0x008c: 0x2584, # LOWER HALF BLOCK
- 0x008d: 0x2588, # FULL BLOCK
- 0x008e: 0x258c, # LEFT HALF BLOCK
- 0x008f: 0x2590, # RIGHT HALF BLOCK
- 0x0090: 0x2591, # LIGHT SHADE
- 0x0091: 0x2592, # MEDIUM SHADE
- 0x0092: 0x2593, # DARK SHADE
- 0x0093: 0x2320, # TOP HALF INTEGRAL
- 0x0094: 0x25a0, # BLACK SQUARE
- 0x0095: 0x2219, # BULLET OPERATOR
- 0x0096: 0x221a, # SQUARE ROOT
- 0x0097: 0x2248, # ALMOST EQUAL TO
- 0x0098: 0x2264, # LESS-THAN OR EQUAL TO
- 0x0099: 0x2265, # GREATER-THAN OR EQUAL TO
- 0x009a: 0x00a0, # NO-BREAK SPACE
- 0x009b: 0x2321, # BOTTOM HALF INTEGRAL
- 0x009c: 0x00b0, # DEGREE SIGN
- 0x009d: 0x00b2, # SUPERSCRIPT TWO
- 0x009e: 0x00b7, # MIDDLE DOT
- 0x009f: 0x00f7, # DIVISION SIGN
- 0x00a0: 0x2550, # BOX DRAWINGS DOUBLE HORIZONTAL
- 0x00a1: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL
- 0x00a2: 0x2552, # BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
- 0x00a3: 0x0451, # CYRILLIC SMALL LETTER IO
- 0x00a4: 0x2553, # BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
- 0x00a5: 0x2554, # BOX DRAWINGS DOUBLE DOWN AND RIGHT
- 0x00a6: 0x2555, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
- 0x00a7: 0x2556, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
- 0x00a8: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT
- 0x00a9: 0x2558, # BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
- 0x00aa: 0x2559, # BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
- 0x00ab: 0x255a, # BOX DRAWINGS DOUBLE UP AND RIGHT
- 0x00ac: 0x255b, # BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
- 0x00ad: 0x255c, # BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
- 0x00ae: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT
- 0x00af: 0x255e, # BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
- 0x00b0: 0x255f, # BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
- 0x00b1: 0x2560, # BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
- 0x00b2: 0x2561, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
- 0x00b3: 0x0401, # CYRILLIC CAPITAL LETTER IO
- 0x00b4: 0x2562, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
- 0x00b5: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
- 0x00b6: 0x2564, # BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
- 0x00b7: 0x2565, # BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
- 0x00b8: 0x2566, # BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
- 0x00b9: 0x2567, # BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
- 0x00ba: 0x2568, # BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
- 0x00bb: 0x2569, # BOX DRAWINGS DOUBLE UP AND HORIZONTAL
- 0x00bc: 0x256a, # BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
- 0x00bd: 0x256b, # BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
- 0x00be: 0x256c, # BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
- 0x00bf: 0x00a9, # COPYRIGHT SIGN
- 0x00c0: 0x044e, # CYRILLIC SMALL LETTER YU
- 0x00c1: 0x0430, # CYRILLIC SMALL LETTER A
- 0x00c2: 0x0431, # CYRILLIC SMALL LETTER BE
- 0x00c3: 0x0446, # CYRILLIC SMALL LETTER TSE
- 0x00c4: 0x0434, # CYRILLIC SMALL LETTER DE
- 0x00c5: 0x0435, # CYRILLIC SMALL LETTER IE
- 0x00c6: 0x0444, # CYRILLIC SMALL LETTER EF
- 0x00c7: 0x0433, # CYRILLIC SMALL LETTER GHE
- 0x00c8: 0x0445, # CYRILLIC SMALL LETTER HA
- 0x00c9: 0x0438, # CYRILLIC SMALL LETTER I
- 0x00ca: 0x0439, # CYRILLIC SMALL LETTER SHORT I
- 0x00cb: 0x043a, # CYRILLIC SMALL LETTER KA
- 0x00cc: 0x043b, # CYRILLIC SMALL LETTER EL
- 0x00cd: 0x043c, # CYRILLIC SMALL LETTER EM
- 0x00ce: 0x043d, # CYRILLIC SMALL LETTER EN
- 0x00cf: 0x043e, # CYRILLIC SMALL LETTER O
- 0x00d0: 0x043f, # CYRILLIC SMALL LETTER PE
- 0x00d1: 0x044f, # CYRILLIC SMALL LETTER YA
- 0x00d2: 0x0440, # CYRILLIC SMALL LETTER ER
- 0x00d3: 0x0441, # CYRILLIC SMALL LETTER ES
- 0x00d4: 0x0442, # CYRILLIC SMALL LETTER TE
- 0x00d5: 0x0443, # CYRILLIC SMALL LETTER U
- 0x00d6: 0x0436, # CYRILLIC SMALL LETTER ZHE
- 0x00d7: 0x0432, # CYRILLIC SMALL LETTER VE
- 0x00d8: 0x044c, # CYRILLIC SMALL LETTER SOFT SIGN
- 0x00d9: 0x044b, # CYRILLIC SMALL LETTER YERU
- 0x00da: 0x0437, # CYRILLIC SMALL LETTER ZE
- 0x00db: 0x0448, # CYRILLIC SMALL LETTER SHA
- 0x00dc: 0x044d, # CYRILLIC SMALL LETTER E
- 0x00dd: 0x0449, # CYRILLIC SMALL LETTER SHCHA
- 0x00de: 0x0447, # CYRILLIC SMALL LETTER CHE
- 0x00df: 0x044a, # CYRILLIC SMALL LETTER HARD SIGN
- 0x00e0: 0x042e, # CYRILLIC CAPITAL LETTER YU
- 0x00e1: 0x0410, # CYRILLIC CAPITAL LETTER A
- 0x00e2: 0x0411, # CYRILLIC CAPITAL LETTER BE
- 0x00e3: 0x0426, # CYRILLIC CAPITAL LETTER TSE
- 0x00e4: 0x0414, # CYRILLIC CAPITAL LETTER DE
- 0x00e5: 0x0415, # CYRILLIC CAPITAL LETTER IE
- 0x00e6: 0x0424, # CYRILLIC CAPITAL LETTER EF
- 0x00e7: 0x0413, # CYRILLIC CAPITAL LETTER GHE
- 0x00e8: 0x0425, # CYRILLIC CAPITAL LETTER HA
- 0x00e9: 0x0418, # CYRILLIC CAPITAL LETTER I
- 0x00ea: 0x0419, # CYRILLIC CAPITAL LETTER SHORT I
- 0x00eb: 0x041a, # CYRILLIC CAPITAL LETTER KA
- 0x00ec: 0x041b, # CYRILLIC CAPITAL LETTER EL
- 0x00ed: 0x041c, # CYRILLIC CAPITAL LETTER EM
- 0x00ee: 0x041d, # CYRILLIC CAPITAL LETTER EN
- 0x00ef: 0x041e, # CYRILLIC CAPITAL LETTER O
- 0x00f0: 0x041f, # CYRILLIC CAPITAL LETTER PE
- 0x00f1: 0x042f, # CYRILLIC CAPITAL LETTER YA
- 0x00f2: 0x0420, # CYRILLIC CAPITAL LETTER ER
- 0x00f3: 0x0421, # CYRILLIC CAPITAL LETTER ES
- 0x00f4: 0x0422, # CYRILLIC CAPITAL LETTER TE
- 0x00f5: 0x0423, # CYRILLIC CAPITAL LETTER U
- 0x00f6: 0x0416, # CYRILLIC CAPITAL LETTER ZHE
- 0x00f7: 0x0412, # CYRILLIC CAPITAL LETTER VE
- 0x00f8: 0x042c, # CYRILLIC CAPITAL LETTER SOFT SIGN
- 0x00f9: 0x042b, # CYRILLIC CAPITAL LETTER YERU
- 0x00fa: 0x0417, # CYRILLIC CAPITAL LETTER ZE
- 0x00fb: 0x0428, # CYRILLIC CAPITAL LETTER SHA
- 0x00fc: 0x042d, # CYRILLIC CAPITAL LETTER E
- 0x00fd: 0x0429, # CYRILLIC CAPITAL LETTER SHCHA
- 0x00fe: 0x0427, # CYRILLIC CAPITAL LETTER CHE
- 0x00ff: 0x042a, # CYRILLIC CAPITAL LETTER HARD SIGN
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> NULL
- u'\x01' # 0x0001 -> START OF HEADING
- u'\x02' # 0x0002 -> START OF TEXT
- u'\x03' # 0x0003 -> END OF TEXT
- u'\x04' # 0x0004 -> END OF TRANSMISSION
- u'\x05' # 0x0005 -> ENQUIRY
- u'\x06' # 0x0006 -> ACKNOWLEDGE
- u'\x07' # 0x0007 -> BELL
- u'\x08' # 0x0008 -> BACKSPACE
- u'\t' # 0x0009 -> HORIZONTAL TABULATION
- u'\n' # 0x000a -> LINE FEED
- u'\x0b' # 0x000b -> VERTICAL TABULATION
- u'\x0c' # 0x000c -> FORM FEED
- u'\r' # 0x000d -> CARRIAGE RETURN
- u'\x0e' # 0x000e -> SHIFT OUT
- u'\x0f' # 0x000f -> SHIFT IN
- u'\x10' # 0x0010 -> DATA LINK ESCAPE
- u'\x11' # 0x0011 -> DEVICE CONTROL ONE
- u'\x12' # 0x0012 -> DEVICE CONTROL TWO
- u'\x13' # 0x0013 -> DEVICE CONTROL THREE
- u'\x14' # 0x0014 -> DEVICE CONTROL FOUR
- u'\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE
- u'\x16' # 0x0016 -> SYNCHRONOUS IDLE
- u'\x17' # 0x0017 -> END OF TRANSMISSION BLOCK
- u'\x18' # 0x0018 -> CANCEL
- u'\x19' # 0x0019 -> END OF MEDIUM
- u'\x1a' # 0x001a -> SUBSTITUTE
- u'\x1b' # 0x001b -> ESCAPE
- u'\x1c' # 0x001c -> FILE SEPARATOR
- u'\x1d' # 0x001d -> GROUP SEPARATOR
- u'\x1e' # 0x001e -> RECORD SEPARATOR
- u'\x1f' # 0x001f -> UNIT SEPARATOR
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> DELETE
- u'\u2500' # 0x0080 -> BOX DRAWINGS LIGHT HORIZONTAL
- u'\u2502' # 0x0081 -> BOX DRAWINGS LIGHT VERTICAL
- u'\u250c' # 0x0082 -> BOX DRAWINGS LIGHT DOWN AND RIGHT
- u'\u2510' # 0x0083 -> BOX DRAWINGS LIGHT DOWN AND LEFT
- u'\u2514' # 0x0084 -> BOX DRAWINGS LIGHT UP AND RIGHT
- u'\u2518' # 0x0085 -> BOX DRAWINGS LIGHT UP AND LEFT
- u'\u251c' # 0x0086 -> BOX DRAWINGS LIGHT VERTICAL AND RIGHT
- u'\u2524' # 0x0087 -> BOX DRAWINGS LIGHT VERTICAL AND LEFT
- u'\u252c' # 0x0088 -> BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
- u'\u2534' # 0x0089 -> BOX DRAWINGS LIGHT UP AND HORIZONTAL
- u'\u253c' # 0x008a -> BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
- u'\u2580' # 0x008b -> UPPER HALF BLOCK
- u'\u2584' # 0x008c -> LOWER HALF BLOCK
- u'\u2588' # 0x008d -> FULL BLOCK
- u'\u258c' # 0x008e -> LEFT HALF BLOCK
- u'\u2590' # 0x008f -> RIGHT HALF BLOCK
- u'\u2591' # 0x0090 -> LIGHT SHADE
- u'\u2592' # 0x0091 -> MEDIUM SHADE
- u'\u2593' # 0x0092 -> DARK SHADE
- u'\u2320' # 0x0093 -> TOP HALF INTEGRAL
- u'\u25a0' # 0x0094 -> BLACK SQUARE
- u'\u2219' # 0x0095 -> BULLET OPERATOR
- u'\u221a' # 0x0096 -> SQUARE ROOT
- u'\u2248' # 0x0097 -> ALMOST EQUAL TO
- u'\u2264' # 0x0098 -> LESS-THAN OR EQUAL TO
- u'\u2265' # 0x0099 -> GREATER-THAN OR EQUAL TO
- u'\xa0' # 0x009a -> NO-BREAK SPACE
- u'\u2321' # 0x009b -> BOTTOM HALF INTEGRAL
- u'\xb0' # 0x009c -> DEGREE SIGN
- u'\xb2' # 0x009d -> SUPERSCRIPT TWO
- u'\xb7' # 0x009e -> MIDDLE DOT
- u'\xf7' # 0x009f -> DIVISION SIGN
- u'\u2550' # 0x00a0 -> BOX DRAWINGS DOUBLE HORIZONTAL
- u'\u2551' # 0x00a1 -> BOX DRAWINGS DOUBLE VERTICAL
- u'\u2552' # 0x00a2 -> BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
- u'\u0451' # 0x00a3 -> CYRILLIC SMALL LETTER IO
- u'\u2553' # 0x00a4 -> BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
- u'\u2554' # 0x00a5 -> BOX DRAWINGS DOUBLE DOWN AND RIGHT
- u'\u2555' # 0x00a6 -> BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
- u'\u2556' # 0x00a7 -> BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
- u'\u2557' # 0x00a8 -> BOX DRAWINGS DOUBLE DOWN AND LEFT
- u'\u2558' # 0x00a9 -> BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
- u'\u2559' # 0x00aa -> BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
- u'\u255a' # 0x00ab -> BOX DRAWINGS DOUBLE UP AND RIGHT
- u'\u255b' # 0x00ac -> BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
- u'\u255c' # 0x00ad -> BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
- u'\u255d' # 0x00ae -> BOX DRAWINGS DOUBLE UP AND LEFT
- u'\u255e' # 0x00af -> BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
- u'\u255f' # 0x00b0 -> BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
- u'\u2560' # 0x00b1 -> BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
- u'\u2561' # 0x00b2 -> BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
- u'\u0401' # 0x00b3 -> CYRILLIC CAPITAL LETTER IO
- u'\u2562' # 0x00b4 -> BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
- u'\u2563' # 0x00b5 -> BOX DRAWINGS DOUBLE VERTICAL AND LEFT
- u'\u2564' # 0x00b6 -> BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
- u'\u2565' # 0x00b7 -> BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
- u'\u2566' # 0x00b8 -> BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
- u'\u2567' # 0x00b9 -> BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
- u'\u2568' # 0x00ba -> BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
- u'\u2569' # 0x00bb -> BOX DRAWINGS DOUBLE UP AND HORIZONTAL
- u'\u256a' # 0x00bc -> BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
- u'\u256b' # 0x00bd -> BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
- u'\u256c' # 0x00be -> BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
- u'\xa9' # 0x00bf -> COPYRIGHT SIGN
- u'\u044e' # 0x00c0 -> CYRILLIC SMALL LETTER YU
- u'\u0430' # 0x00c1 -> CYRILLIC SMALL LETTER A
- u'\u0431' # 0x00c2 -> CYRILLIC SMALL LETTER BE
- u'\u0446' # 0x00c3 -> CYRILLIC SMALL LETTER TSE
- u'\u0434' # 0x00c4 -> CYRILLIC SMALL LETTER DE
- u'\u0435' # 0x00c5 -> CYRILLIC SMALL LETTER IE
- u'\u0444' # 0x00c6 -> CYRILLIC SMALL LETTER EF
- u'\u0433' # 0x00c7 -> CYRILLIC SMALL LETTER GHE
- u'\u0445' # 0x00c8 -> CYRILLIC SMALL LETTER HA
- u'\u0438' # 0x00c9 -> CYRILLIC SMALL LETTER I
- u'\u0439' # 0x00ca -> CYRILLIC SMALL LETTER SHORT I
- u'\u043a' # 0x00cb -> CYRILLIC SMALL LETTER KA
- u'\u043b' # 0x00cc -> CYRILLIC SMALL LETTER EL
- u'\u043c' # 0x00cd -> CYRILLIC SMALL LETTER EM
- u'\u043d' # 0x00ce -> CYRILLIC SMALL LETTER EN
- u'\u043e' # 0x00cf -> CYRILLIC SMALL LETTER O
- u'\u043f' # 0x00d0 -> CYRILLIC SMALL LETTER PE
- u'\u044f' # 0x00d1 -> CYRILLIC SMALL LETTER YA
- u'\u0440' # 0x00d2 -> CYRILLIC SMALL LETTER ER
- u'\u0441' # 0x00d3 -> CYRILLIC SMALL LETTER ES
- u'\u0442' # 0x00d4 -> CYRILLIC SMALL LETTER TE
- u'\u0443' # 0x00d5 -> CYRILLIC SMALL LETTER U
- u'\u0436' # 0x00d6 -> CYRILLIC SMALL LETTER ZHE
- u'\u0432' # 0x00d7 -> CYRILLIC SMALL LETTER VE
- u'\u044c' # 0x00d8 -> CYRILLIC SMALL LETTER SOFT SIGN
- u'\u044b' # 0x00d9 -> CYRILLIC SMALL LETTER YERU
- u'\u0437' # 0x00da -> CYRILLIC SMALL LETTER ZE
- u'\u0448' # 0x00db -> CYRILLIC SMALL LETTER SHA
- u'\u044d' # 0x00dc -> CYRILLIC SMALL LETTER E
- u'\u0449' # 0x00dd -> CYRILLIC SMALL LETTER SHCHA
- u'\u0447' # 0x00de -> CYRILLIC SMALL LETTER CHE
- u'\u044a' # 0x00df -> CYRILLIC SMALL LETTER HARD SIGN
- u'\u042e' # 0x00e0 -> CYRILLIC CAPITAL LETTER YU
- u'\u0410' # 0x00e1 -> CYRILLIC CAPITAL LETTER A
- u'\u0411' # 0x00e2 -> CYRILLIC CAPITAL LETTER BE
- u'\u0426' # 0x00e3 -> CYRILLIC CAPITAL LETTER TSE
- u'\u0414' # 0x00e4 -> CYRILLIC CAPITAL LETTER DE
- u'\u0415' # 0x00e5 -> CYRILLIC CAPITAL LETTER IE
- u'\u0424' # 0x00e6 -> CYRILLIC CAPITAL LETTER EF
- u'\u0413' # 0x00e7 -> CYRILLIC CAPITAL LETTER GHE
- u'\u0425' # 0x00e8 -> CYRILLIC CAPITAL LETTER HA
- u'\u0418' # 0x00e9 -> CYRILLIC CAPITAL LETTER I
- u'\u0419' # 0x00ea -> CYRILLIC CAPITAL LETTER SHORT I
- u'\u041a' # 0x00eb -> CYRILLIC CAPITAL LETTER KA
- u'\u041b' # 0x00ec -> CYRILLIC CAPITAL LETTER EL
- u'\u041c' # 0x00ed -> CYRILLIC CAPITAL LETTER EM
- u'\u041d' # 0x00ee -> CYRILLIC CAPITAL LETTER EN
- u'\u041e' # 0x00ef -> CYRILLIC CAPITAL LETTER O
- u'\u041f' # 0x00f0 -> CYRILLIC CAPITAL LETTER PE
- u'\u042f' # 0x00f1 -> CYRILLIC CAPITAL LETTER YA
- u'\u0420' # 0x00f2 -> CYRILLIC CAPITAL LETTER ER
- u'\u0421' # 0x00f3 -> CYRILLIC CAPITAL LETTER ES
- u'\u0422' # 0x00f4 -> CYRILLIC CAPITAL LETTER TE
- u'\u0423' # 0x00f5 -> CYRILLIC CAPITAL LETTER U
- u'\u0416' # 0x00f6 -> CYRILLIC CAPITAL LETTER ZHE
- u'\u0412' # 0x00f7 -> CYRILLIC CAPITAL LETTER VE
- u'\u042c' # 0x00f8 -> CYRILLIC CAPITAL LETTER SOFT SIGN
- u'\u042b' # 0x00f9 -> CYRILLIC CAPITAL LETTER YERU
- u'\u0417' # 0x00fa -> CYRILLIC CAPITAL LETTER ZE
- u'\u0428' # 0x00fb -> CYRILLIC CAPITAL LETTER SHA
- u'\u042d' # 0x00fc -> CYRILLIC CAPITAL LETTER E
- u'\u0429' # 0x00fd -> CYRILLIC CAPITAL LETTER SHCHA
- u'\u0427' # 0x00fe -> CYRILLIC CAPITAL LETTER CHE
- u'\u042a' # 0x00ff -> CYRILLIC CAPITAL LETTER HARD SIGN
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u2500' # 0x80 -> BOX DRAWINGS LIGHT HORIZONTAL
+ u'\u2502' # 0x81 -> BOX DRAWINGS LIGHT VERTICAL
+ u'\u250c' # 0x82 -> BOX DRAWINGS LIGHT DOWN AND RIGHT
+ u'\u2510' # 0x83 -> BOX DRAWINGS LIGHT DOWN AND LEFT
+ u'\u2514' # 0x84 -> BOX DRAWINGS LIGHT UP AND RIGHT
+ u'\u2518' # 0x85 -> BOX DRAWINGS LIGHT UP AND LEFT
+ u'\u251c' # 0x86 -> BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+ u'\u2524' # 0x87 -> BOX DRAWINGS LIGHT VERTICAL AND LEFT
+ u'\u252c' # 0x88 -> BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+ u'\u2534' # 0x89 -> BOX DRAWINGS LIGHT UP AND HORIZONTAL
+ u'\u253c' # 0x8a -> BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+ u'\u2580' # 0x8b -> UPPER HALF BLOCK
+ u'\u2584' # 0x8c -> LOWER HALF BLOCK
+ u'\u2588' # 0x8d -> FULL BLOCK
+ u'\u258c' # 0x8e -> LEFT HALF BLOCK
+ u'\u2590' # 0x8f -> RIGHT HALF BLOCK
+ u'\u2591' # 0x90 -> LIGHT SHADE
+ u'\u2592' # 0x91 -> MEDIUM SHADE
+ u'\u2593' # 0x92 -> DARK SHADE
+ u'\u2320' # 0x93 -> TOP HALF INTEGRAL
+ u'\u25a0' # 0x94 -> BLACK SQUARE
+ u'\u2219' # 0x95 -> BULLET OPERATOR
+ u'\u221a' # 0x96 -> SQUARE ROOT
+ u'\u2248' # 0x97 -> ALMOST EQUAL TO
+ u'\u2264' # 0x98 -> LESS-THAN OR EQUAL TO
+ u'\u2265' # 0x99 -> GREATER-THAN OR EQUAL TO
+ u'\xa0' # 0x9a -> NO-BREAK SPACE
+ u'\u2321' # 0x9b -> BOTTOM HALF INTEGRAL
+ u'\xb0' # 0x9c -> DEGREE SIGN
+ u'\xb2' # 0x9d -> SUPERSCRIPT TWO
+ u'\xb7' # 0x9e -> MIDDLE DOT
+ u'\xf7' # 0x9f -> DIVISION SIGN
+ u'\u2550' # 0xa0 -> BOX DRAWINGS DOUBLE HORIZONTAL
+ u'\u2551' # 0xa1 -> BOX DRAWINGS DOUBLE VERTICAL
+ u'\u2552' # 0xa2 -> BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
+ u'\u0451' # 0xa3 -> CYRILLIC SMALL LETTER IO
+ u'\u2553' # 0xa4 -> BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
+ u'\u2554' # 0xa5 -> BOX DRAWINGS DOUBLE DOWN AND RIGHT
+ u'\u2555' # 0xa6 -> BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
+ u'\u2556' # 0xa7 -> BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
+ u'\u2557' # 0xa8 -> BOX DRAWINGS DOUBLE DOWN AND LEFT
+ u'\u2558' # 0xa9 -> BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
+ u'\u2559' # 0xaa -> BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
+ u'\u255a' # 0xab -> BOX DRAWINGS DOUBLE UP AND RIGHT
+ u'\u255b' # 0xac -> BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
+ u'\u255c' # 0xad -> BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
+ u'\u255d' # 0xae -> BOX DRAWINGS DOUBLE UP AND LEFT
+ u'\u255e' # 0xaf -> BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
+ u'\u255f' # 0xb0 -> BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
+ u'\u2560' # 0xb1 -> BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+ u'\u2561' # 0xb2 -> BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
+ u'\u0401' # 0xb3 -> CYRILLIC CAPITAL LETTER IO
+ u'\u2562' # 0xb4 -> BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
+ u'\u2563' # 0xb5 -> BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+ u'\u2564' # 0xb6 -> BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
+ u'\u2565' # 0xb7 -> BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
+ u'\u2566' # 0xb8 -> BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+ u'\u2567' # 0xb9 -> BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
+ u'\u2568' # 0xba -> BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
+ u'\u2569' # 0xbb -> BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+ u'\u256a' # 0xbc -> BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
+ u'\u256b' # 0xbd -> BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
+ u'\u256c' # 0xbe -> BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+ u'\xa9' # 0xbf -> COPYRIGHT SIGN
+ u'\u044e' # 0xc0 -> CYRILLIC SMALL LETTER YU
+ u'\u0430' # 0xc1 -> CYRILLIC SMALL LETTER A
+ u'\u0431' # 0xc2 -> CYRILLIC SMALL LETTER BE
+ u'\u0446' # 0xc3 -> CYRILLIC SMALL LETTER TSE
+ u'\u0434' # 0xc4 -> CYRILLIC SMALL LETTER DE
+ u'\u0435' # 0xc5 -> CYRILLIC SMALL LETTER IE
+ u'\u0444' # 0xc6 -> CYRILLIC SMALL LETTER EF
+ u'\u0433' # 0xc7 -> CYRILLIC SMALL LETTER GHE
+ u'\u0445' # 0xc8 -> CYRILLIC SMALL LETTER HA
+ u'\u0438' # 0xc9 -> CYRILLIC SMALL LETTER I
+ u'\u0439' # 0xca -> CYRILLIC SMALL LETTER SHORT I
+ u'\u043a' # 0xcb -> CYRILLIC SMALL LETTER KA
+ u'\u043b' # 0xcc -> CYRILLIC SMALL LETTER EL
+ u'\u043c' # 0xcd -> CYRILLIC SMALL LETTER EM
+ u'\u043d' # 0xce -> CYRILLIC SMALL LETTER EN
+ u'\u043e' # 0xcf -> CYRILLIC SMALL LETTER O
+ u'\u043f' # 0xd0 -> CYRILLIC SMALL LETTER PE
+ u'\u044f' # 0xd1 -> CYRILLIC SMALL LETTER YA
+ u'\u0440' # 0xd2 -> CYRILLIC SMALL LETTER ER
+ u'\u0441' # 0xd3 -> CYRILLIC SMALL LETTER ES
+ u'\u0442' # 0xd4 -> CYRILLIC SMALL LETTER TE
+ u'\u0443' # 0xd5 -> CYRILLIC SMALL LETTER U
+ u'\u0436' # 0xd6 -> CYRILLIC SMALL LETTER ZHE
+ u'\u0432' # 0xd7 -> CYRILLIC SMALL LETTER VE
+ u'\u044c' # 0xd8 -> CYRILLIC SMALL LETTER SOFT SIGN
+ u'\u044b' # 0xd9 -> CYRILLIC SMALL LETTER YERU
+ u'\u0437' # 0xda -> CYRILLIC SMALL LETTER ZE
+ u'\u0448' # 0xdb -> CYRILLIC SMALL LETTER SHA
+ u'\u044d' # 0xdc -> CYRILLIC SMALL LETTER E
+ u'\u0449' # 0xdd -> CYRILLIC SMALL LETTER SHCHA
+ u'\u0447' # 0xde -> CYRILLIC SMALL LETTER CHE
+ u'\u044a' # 0xdf -> CYRILLIC SMALL LETTER HARD SIGN
+ u'\u042e' # 0xe0 -> CYRILLIC CAPITAL LETTER YU
+ u'\u0410' # 0xe1 -> CYRILLIC CAPITAL LETTER A
+ u'\u0411' # 0xe2 -> CYRILLIC CAPITAL LETTER BE
+ u'\u0426' # 0xe3 -> CYRILLIC CAPITAL LETTER TSE
+ u'\u0414' # 0xe4 -> CYRILLIC CAPITAL LETTER DE
+ u'\u0415' # 0xe5 -> CYRILLIC CAPITAL LETTER IE
+ u'\u0424' # 0xe6 -> CYRILLIC CAPITAL LETTER EF
+ u'\u0413' # 0xe7 -> CYRILLIC CAPITAL LETTER GHE
+ u'\u0425' # 0xe8 -> CYRILLIC CAPITAL LETTER HA
+ u'\u0418' # 0xe9 -> CYRILLIC CAPITAL LETTER I
+ u'\u0419' # 0xea -> CYRILLIC CAPITAL LETTER SHORT I
+ u'\u041a' # 0xeb -> CYRILLIC CAPITAL LETTER KA
+ u'\u041b' # 0xec -> CYRILLIC CAPITAL LETTER EL
+ u'\u041c' # 0xed -> CYRILLIC CAPITAL LETTER EM
+ u'\u041d' # 0xee -> CYRILLIC CAPITAL LETTER EN
+ u'\u041e' # 0xef -> CYRILLIC CAPITAL LETTER O
+ u'\u041f' # 0xf0 -> CYRILLIC CAPITAL LETTER PE
+ u'\u042f' # 0xf1 -> CYRILLIC CAPITAL LETTER YA
+ u'\u0420' # 0xf2 -> CYRILLIC CAPITAL LETTER ER
+ u'\u0421' # 0xf3 -> CYRILLIC CAPITAL LETTER ES
+ u'\u0422' # 0xf4 -> CYRILLIC CAPITAL LETTER TE
+ u'\u0423' # 0xf5 -> CYRILLIC CAPITAL LETTER U
+ u'\u0416' # 0xf6 -> CYRILLIC CAPITAL LETTER ZHE
+ u'\u0412' # 0xf7 -> CYRILLIC CAPITAL LETTER VE
+ u'\u042c' # 0xf8 -> CYRILLIC CAPITAL LETTER SOFT SIGN
+ u'\u042b' # 0xf9 -> CYRILLIC CAPITAL LETTER YERU
+ u'\u0417' # 0xfa -> CYRILLIC CAPITAL LETTER ZE
+ u'\u0428' # 0xfb -> CYRILLIC CAPITAL LETTER SHA
+ u'\u042d' # 0xfc -> CYRILLIC CAPITAL LETTER E
+ u'\u0429' # 0xfd -> CYRILLIC CAPITAL LETTER SHCHA
+ u'\u0427' # 0xfe -> CYRILLIC CAPITAL LETTER CHE
+ u'\u042a' # 0xff -> CYRILLIC CAPITAL LETTER HARD SIGN
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # NULL
- 0x0001: 0x0001, # START OF HEADING
- 0x0002: 0x0002, # START OF TEXT
- 0x0003: 0x0003, # END OF TEXT
- 0x0004: 0x0004, # END OF TRANSMISSION
- 0x0005: 0x0005, # ENQUIRY
- 0x0006: 0x0006, # ACKNOWLEDGE
- 0x0007: 0x0007, # BELL
- 0x0008: 0x0008, # BACKSPACE
- 0x0009: 0x0009, # HORIZONTAL TABULATION
- 0x000a: 0x000a, # LINE FEED
- 0x000b: 0x000b, # VERTICAL TABULATION
- 0x000c: 0x000c, # FORM FEED
- 0x000d: 0x000d, # CARRIAGE RETURN
- 0x000e: 0x000e, # SHIFT OUT
- 0x000f: 0x000f, # SHIFT IN
- 0x0010: 0x0010, # DATA LINK ESCAPE
- 0x0011: 0x0011, # DEVICE CONTROL ONE
- 0x0012: 0x0012, # DEVICE CONTROL TWO
- 0x0013: 0x0013, # DEVICE CONTROL THREE
- 0x0014: 0x0014, # DEVICE CONTROL FOUR
- 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE
- 0x0016: 0x0016, # SYNCHRONOUS IDLE
- 0x0017: 0x0017, # END OF TRANSMISSION BLOCK
- 0x0018: 0x0018, # CANCEL
- 0x0019: 0x0019, # END OF MEDIUM
- 0x001a: 0x001a, # SUBSTITUTE
- 0x001b: 0x001b, # ESCAPE
- 0x001c: 0x001c, # FILE SEPARATOR
- 0x001d: 0x001d, # GROUP SEPARATOR
- 0x001e: 0x001e, # RECORD SEPARATOR
- 0x001f: 0x001f, # UNIT SEPARATOR
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # DELETE
- 0x00a0: 0x009a, # NO-BREAK SPACE
- 0x00a9: 0x00bf, # COPYRIGHT SIGN
- 0x00b0: 0x009c, # DEGREE SIGN
- 0x00b2: 0x009d, # SUPERSCRIPT TWO
- 0x00b7: 0x009e, # MIDDLE DOT
- 0x00f7: 0x009f, # DIVISION SIGN
- 0x0401: 0x00b3, # CYRILLIC CAPITAL LETTER IO
- 0x0410: 0x00e1, # CYRILLIC CAPITAL LETTER A
- 0x0411: 0x00e2, # CYRILLIC CAPITAL LETTER BE
- 0x0412: 0x00f7, # CYRILLIC CAPITAL LETTER VE
- 0x0413: 0x00e7, # CYRILLIC CAPITAL LETTER GHE
- 0x0414: 0x00e4, # CYRILLIC CAPITAL LETTER DE
- 0x0415: 0x00e5, # CYRILLIC CAPITAL LETTER IE
- 0x0416: 0x00f6, # CYRILLIC CAPITAL LETTER ZHE
- 0x0417: 0x00fa, # CYRILLIC CAPITAL LETTER ZE
- 0x0418: 0x00e9, # CYRILLIC CAPITAL LETTER I
- 0x0419: 0x00ea, # CYRILLIC CAPITAL LETTER SHORT I
- 0x041a: 0x00eb, # CYRILLIC CAPITAL LETTER KA
- 0x041b: 0x00ec, # CYRILLIC CAPITAL LETTER EL
- 0x041c: 0x00ed, # CYRILLIC CAPITAL LETTER EM
- 0x041d: 0x00ee, # CYRILLIC CAPITAL LETTER EN
- 0x041e: 0x00ef, # CYRILLIC CAPITAL LETTER O
- 0x041f: 0x00f0, # CYRILLIC CAPITAL LETTER PE
- 0x0420: 0x00f2, # CYRILLIC CAPITAL LETTER ER
- 0x0421: 0x00f3, # CYRILLIC CAPITAL LETTER ES
- 0x0422: 0x00f4, # CYRILLIC CAPITAL LETTER TE
- 0x0423: 0x00f5, # CYRILLIC CAPITAL LETTER U
- 0x0424: 0x00e6, # CYRILLIC CAPITAL LETTER EF
- 0x0425: 0x00e8, # CYRILLIC CAPITAL LETTER HA
- 0x0426: 0x00e3, # CYRILLIC CAPITAL LETTER TSE
- 0x0427: 0x00fe, # CYRILLIC CAPITAL LETTER CHE
- 0x0428: 0x00fb, # CYRILLIC CAPITAL LETTER SHA
- 0x0429: 0x00fd, # CYRILLIC CAPITAL LETTER SHCHA
- 0x042a: 0x00ff, # CYRILLIC CAPITAL LETTER HARD SIGN
- 0x042b: 0x00f9, # CYRILLIC CAPITAL LETTER YERU
- 0x042c: 0x00f8, # CYRILLIC CAPITAL LETTER SOFT SIGN
- 0x042d: 0x00fc, # CYRILLIC CAPITAL LETTER E
- 0x042e: 0x00e0, # CYRILLIC CAPITAL LETTER YU
- 0x042f: 0x00f1, # CYRILLIC CAPITAL LETTER YA
- 0x0430: 0x00c1, # CYRILLIC SMALL LETTER A
- 0x0431: 0x00c2, # CYRILLIC SMALL LETTER BE
- 0x0432: 0x00d7, # CYRILLIC SMALL LETTER VE
- 0x0433: 0x00c7, # CYRILLIC SMALL LETTER GHE
- 0x0434: 0x00c4, # CYRILLIC SMALL LETTER DE
- 0x0435: 0x00c5, # CYRILLIC SMALL LETTER IE
- 0x0436: 0x00d6, # CYRILLIC SMALL LETTER ZHE
- 0x0437: 0x00da, # CYRILLIC SMALL LETTER ZE
- 0x0438: 0x00c9, # CYRILLIC SMALL LETTER I
- 0x0439: 0x00ca, # CYRILLIC SMALL LETTER SHORT I
- 0x043a: 0x00cb, # CYRILLIC SMALL LETTER KA
- 0x043b: 0x00cc, # CYRILLIC SMALL LETTER EL
- 0x043c: 0x00cd, # CYRILLIC SMALL LETTER EM
- 0x043d: 0x00ce, # CYRILLIC SMALL LETTER EN
- 0x043e: 0x00cf, # CYRILLIC SMALL LETTER O
- 0x043f: 0x00d0, # CYRILLIC SMALL LETTER PE
- 0x0440: 0x00d2, # CYRILLIC SMALL LETTER ER
- 0x0441: 0x00d3, # CYRILLIC SMALL LETTER ES
- 0x0442: 0x00d4, # CYRILLIC SMALL LETTER TE
- 0x0443: 0x00d5, # CYRILLIC SMALL LETTER U
- 0x0444: 0x00c6, # CYRILLIC SMALL LETTER EF
- 0x0445: 0x00c8, # CYRILLIC SMALL LETTER HA
- 0x0446: 0x00c3, # CYRILLIC SMALL LETTER TSE
- 0x0447: 0x00de, # CYRILLIC SMALL LETTER CHE
- 0x0448: 0x00db, # CYRILLIC SMALL LETTER SHA
- 0x0449: 0x00dd, # CYRILLIC SMALL LETTER SHCHA
- 0x044a: 0x00df, # CYRILLIC SMALL LETTER HARD SIGN
- 0x044b: 0x00d9, # CYRILLIC SMALL LETTER YERU
- 0x044c: 0x00d8, # CYRILLIC SMALL LETTER SOFT SIGN
- 0x044d: 0x00dc, # CYRILLIC SMALL LETTER E
- 0x044e: 0x00c0, # CYRILLIC SMALL LETTER YU
- 0x044f: 0x00d1, # CYRILLIC SMALL LETTER YA
- 0x0451: 0x00a3, # CYRILLIC SMALL LETTER IO
- 0x2219: 0x0095, # BULLET OPERATOR
- 0x221a: 0x0096, # SQUARE ROOT
- 0x2248: 0x0097, # ALMOST EQUAL TO
- 0x2264: 0x0098, # LESS-THAN OR EQUAL TO
- 0x2265: 0x0099, # GREATER-THAN OR EQUAL TO
- 0x2320: 0x0093, # TOP HALF INTEGRAL
- 0x2321: 0x009b, # BOTTOM HALF INTEGRAL
- 0x2500: 0x0080, # BOX DRAWINGS LIGHT HORIZONTAL
- 0x2502: 0x0081, # BOX DRAWINGS LIGHT VERTICAL
- 0x250c: 0x0082, # BOX DRAWINGS LIGHT DOWN AND RIGHT
- 0x2510: 0x0083, # BOX DRAWINGS LIGHT DOWN AND LEFT
- 0x2514: 0x0084, # BOX DRAWINGS LIGHT UP AND RIGHT
- 0x2518: 0x0085, # BOX DRAWINGS LIGHT UP AND LEFT
- 0x251c: 0x0086, # BOX DRAWINGS LIGHT VERTICAL AND RIGHT
- 0x2524: 0x0087, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
- 0x252c: 0x0088, # BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
- 0x2534: 0x0089, # BOX DRAWINGS LIGHT UP AND HORIZONTAL
- 0x253c: 0x008a, # BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
- 0x2550: 0x00a0, # BOX DRAWINGS DOUBLE HORIZONTAL
- 0x2551: 0x00a1, # BOX DRAWINGS DOUBLE VERTICAL
- 0x2552: 0x00a2, # BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
- 0x2553: 0x00a4, # BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
- 0x2554: 0x00a5, # BOX DRAWINGS DOUBLE DOWN AND RIGHT
- 0x2555: 0x00a6, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
- 0x2556: 0x00a7, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
- 0x2557: 0x00a8, # BOX DRAWINGS DOUBLE DOWN AND LEFT
- 0x2558: 0x00a9, # BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
- 0x2559: 0x00aa, # BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
- 0x255a: 0x00ab, # BOX DRAWINGS DOUBLE UP AND RIGHT
- 0x255b: 0x00ac, # BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
- 0x255c: 0x00ad, # BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
- 0x255d: 0x00ae, # BOX DRAWINGS DOUBLE UP AND LEFT
- 0x255e: 0x00af, # BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
- 0x255f: 0x00b0, # BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
- 0x2560: 0x00b1, # BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
- 0x2561: 0x00b2, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
- 0x2562: 0x00b4, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
- 0x2563: 0x00b5, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
- 0x2564: 0x00b6, # BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
- 0x2565: 0x00b7, # BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
- 0x2566: 0x00b8, # BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
- 0x2567: 0x00b9, # BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
- 0x2568: 0x00ba, # BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
- 0x2569: 0x00bb, # BOX DRAWINGS DOUBLE UP AND HORIZONTAL
- 0x256a: 0x00bc, # BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
- 0x256b: 0x00bd, # BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
- 0x256c: 0x00be, # BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
- 0x2580: 0x008b, # UPPER HALF BLOCK
- 0x2584: 0x008c, # LOWER HALF BLOCK
- 0x2588: 0x008d, # FULL BLOCK
- 0x258c: 0x008e, # LEFT HALF BLOCK
- 0x2590: 0x008f, # RIGHT HALF BLOCK
- 0x2591: 0x0090, # LIGHT SHADE
- 0x2592: 0x0091, # MEDIUM SHADE
- 0x2593: 0x0092, # DARK SHADE
- 0x25a0: 0x0094, # BLACK SQUARE
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0x9a, # NO-BREAK SPACE
+ 0x00a9: 0xbf, # COPYRIGHT SIGN
+ 0x00b0: 0x9c, # DEGREE SIGN
+ 0x00b2: 0x9d, # SUPERSCRIPT TWO
+ 0x00b7: 0x9e, # MIDDLE DOT
+ 0x00f7: 0x9f, # DIVISION SIGN
+ 0x0401: 0xb3, # CYRILLIC CAPITAL LETTER IO
+ 0x0410: 0xe1, # CYRILLIC CAPITAL LETTER A
+ 0x0411: 0xe2, # CYRILLIC CAPITAL LETTER BE
+ 0x0412: 0xf7, # CYRILLIC CAPITAL LETTER VE
+ 0x0413: 0xe7, # CYRILLIC CAPITAL LETTER GHE
+ 0x0414: 0xe4, # CYRILLIC CAPITAL LETTER DE
+ 0x0415: 0xe5, # CYRILLIC CAPITAL LETTER IE
+ 0x0416: 0xf6, # CYRILLIC CAPITAL LETTER ZHE
+ 0x0417: 0xfa, # CYRILLIC CAPITAL LETTER ZE
+ 0x0418: 0xe9, # CYRILLIC CAPITAL LETTER I
+ 0x0419: 0xea, # CYRILLIC CAPITAL LETTER SHORT I
+ 0x041a: 0xeb, # CYRILLIC CAPITAL LETTER KA
+ 0x041b: 0xec, # CYRILLIC CAPITAL LETTER EL
+ 0x041c: 0xed, # CYRILLIC CAPITAL LETTER EM
+ 0x041d: 0xee, # CYRILLIC CAPITAL LETTER EN
+ 0x041e: 0xef, # CYRILLIC CAPITAL LETTER O
+ 0x041f: 0xf0, # CYRILLIC CAPITAL LETTER PE
+ 0x0420: 0xf2, # CYRILLIC CAPITAL LETTER ER
+ 0x0421: 0xf3, # CYRILLIC CAPITAL LETTER ES
+ 0x0422: 0xf4, # CYRILLIC CAPITAL LETTER TE
+ 0x0423: 0xf5, # CYRILLIC CAPITAL LETTER U
+ 0x0424: 0xe6, # CYRILLIC CAPITAL LETTER EF
+ 0x0425: 0xe8, # CYRILLIC CAPITAL LETTER HA
+ 0x0426: 0xe3, # CYRILLIC CAPITAL LETTER TSE
+ 0x0427: 0xfe, # CYRILLIC CAPITAL LETTER CHE
+ 0x0428: 0xfb, # CYRILLIC CAPITAL LETTER SHA
+ 0x0429: 0xfd, # CYRILLIC CAPITAL LETTER SHCHA
+ 0x042a: 0xff, # CYRILLIC CAPITAL LETTER HARD SIGN
+ 0x042b: 0xf9, # CYRILLIC CAPITAL LETTER YERU
+ 0x042c: 0xf8, # CYRILLIC CAPITAL LETTER SOFT SIGN
+ 0x042d: 0xfc, # CYRILLIC CAPITAL LETTER E
+ 0x042e: 0xe0, # CYRILLIC CAPITAL LETTER YU
+ 0x042f: 0xf1, # CYRILLIC CAPITAL LETTER YA
+ 0x0430: 0xc1, # CYRILLIC SMALL LETTER A
+ 0x0431: 0xc2, # CYRILLIC SMALL LETTER BE
+ 0x0432: 0xd7, # CYRILLIC SMALL LETTER VE
+ 0x0433: 0xc7, # CYRILLIC SMALL LETTER GHE
+ 0x0434: 0xc4, # CYRILLIC SMALL LETTER DE
+ 0x0435: 0xc5, # CYRILLIC SMALL LETTER IE
+ 0x0436: 0xd6, # CYRILLIC SMALL LETTER ZHE
+ 0x0437: 0xda, # CYRILLIC SMALL LETTER ZE
+ 0x0438: 0xc9, # CYRILLIC SMALL LETTER I
+ 0x0439: 0xca, # CYRILLIC SMALL LETTER SHORT I
+ 0x043a: 0xcb, # CYRILLIC SMALL LETTER KA
+ 0x043b: 0xcc, # CYRILLIC SMALL LETTER EL
+ 0x043c: 0xcd, # CYRILLIC SMALL LETTER EM
+ 0x043d: 0xce, # CYRILLIC SMALL LETTER EN
+ 0x043e: 0xcf, # CYRILLIC SMALL LETTER O
+ 0x043f: 0xd0, # CYRILLIC SMALL LETTER PE
+ 0x0440: 0xd2, # CYRILLIC SMALL LETTER ER
+ 0x0441: 0xd3, # CYRILLIC SMALL LETTER ES
+ 0x0442: 0xd4, # CYRILLIC SMALL LETTER TE
+ 0x0443: 0xd5, # CYRILLIC SMALL LETTER U
+ 0x0444: 0xc6, # CYRILLIC SMALL LETTER EF
+ 0x0445: 0xc8, # CYRILLIC SMALL LETTER HA
+ 0x0446: 0xc3, # CYRILLIC SMALL LETTER TSE
+ 0x0447: 0xde, # CYRILLIC SMALL LETTER CHE
+ 0x0448: 0xdb, # CYRILLIC SMALL LETTER SHA
+ 0x0449: 0xdd, # CYRILLIC SMALL LETTER SHCHA
+ 0x044a: 0xdf, # CYRILLIC SMALL LETTER HARD SIGN
+ 0x044b: 0xd9, # CYRILLIC SMALL LETTER YERU
+ 0x044c: 0xd8, # CYRILLIC SMALL LETTER SOFT SIGN
+ 0x044d: 0xdc, # CYRILLIC SMALL LETTER E
+ 0x044e: 0xc0, # CYRILLIC SMALL LETTER YU
+ 0x044f: 0xd1, # CYRILLIC SMALL LETTER YA
+ 0x0451: 0xa3, # CYRILLIC SMALL LETTER IO
+ 0x2219: 0x95, # BULLET OPERATOR
+ 0x221a: 0x96, # SQUARE ROOT
+ 0x2248: 0x97, # ALMOST EQUAL TO
+ 0x2264: 0x98, # LESS-THAN OR EQUAL TO
+ 0x2265: 0x99, # GREATER-THAN OR EQUAL TO
+ 0x2320: 0x93, # TOP HALF INTEGRAL
+ 0x2321: 0x9b, # BOTTOM HALF INTEGRAL
+ 0x2500: 0x80, # BOX DRAWINGS LIGHT HORIZONTAL
+ 0x2502: 0x81, # BOX DRAWINGS LIGHT VERTICAL
+ 0x250c: 0x82, # BOX DRAWINGS LIGHT DOWN AND RIGHT
+ 0x2510: 0x83, # BOX DRAWINGS LIGHT DOWN AND LEFT
+ 0x2514: 0x84, # BOX DRAWINGS LIGHT UP AND RIGHT
+ 0x2518: 0x85, # BOX DRAWINGS LIGHT UP AND LEFT
+ 0x251c: 0x86, # BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+ 0x2524: 0x87, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
+ 0x252c: 0x88, # BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+ 0x2534: 0x89, # BOX DRAWINGS LIGHT UP AND HORIZONTAL
+ 0x253c: 0x8a, # BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+ 0x2550: 0xa0, # BOX DRAWINGS DOUBLE HORIZONTAL
+ 0x2551: 0xa1, # BOX DRAWINGS DOUBLE VERTICAL
+ 0x2552: 0xa2, # BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
+ 0x2553: 0xa4, # BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
+ 0x2554: 0xa5, # BOX DRAWINGS DOUBLE DOWN AND RIGHT
+ 0x2555: 0xa6, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
+ 0x2556: 0xa7, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
+ 0x2557: 0xa8, # BOX DRAWINGS DOUBLE DOWN AND LEFT
+ 0x2558: 0xa9, # BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
+ 0x2559: 0xaa, # BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
+ 0x255a: 0xab, # BOX DRAWINGS DOUBLE UP AND RIGHT
+ 0x255b: 0xac, # BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
+ 0x255c: 0xad, # BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
+ 0x255d: 0xae, # BOX DRAWINGS DOUBLE UP AND LEFT
+ 0x255e: 0xaf, # BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
+ 0x255f: 0xb0, # BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
+ 0x2560: 0xb1, # BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+ 0x2561: 0xb2, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
+ 0x2562: 0xb4, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
+ 0x2563: 0xb5, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+ 0x2564: 0xb6, # BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
+ 0x2565: 0xb7, # BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
+ 0x2566: 0xb8, # BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+ 0x2567: 0xb9, # BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
+ 0x2568: 0xba, # BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
+ 0x2569: 0xbb, # BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+ 0x256a: 0xbc, # BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
+ 0x256b: 0xbd, # BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
+ 0x256c: 0xbe, # BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+ 0x2580: 0x8b, # UPPER HALF BLOCK
+ 0x2584: 0x8c, # LOWER HALF BLOCK
+ 0x2588: 0x8d, # FULL BLOCK
+ 0x258c: 0x8e, # LEFT HALF BLOCK
+ 0x2590: 0x8f, # RIGHT HALF BLOCK
+ 0x2591: 0x90, # LIGHT SHADE
+ 0x2592: 0x91, # MEDIUM SHADE
+ 0x2593: 0x92, # DARK SHADE
+ 0x25a0: 0x94, # BLACK SQUARE
} \ No newline at end of file
diff --git a/Lib/encodings/koi8_u.py b/Lib/encodings/koi8_u.py
index 59020e76142..c5180d02338 100644
--- a/Lib/encodings/koi8_u.py
+++ b/Lib/encodings/koi8_u.py
@@ -1,15 +1,8 @@
-""" Python Character Mapping Codec for KOI8U.
-
- This character scheme is compliant to RFC2319
-
-Written by Marc-Andre Lemburg (mal@lemburg.com).
-Modified by Maxim Dzumanenko <mvd@mylinux.com.ua>.
-
-(c) Copyright 2002, Python Software Foundation.
+""" Python Character Mapping Codec generated from 'python-mappings/KOI8-U.TXT' with gencodec.py.
"""#"
-import codecs, koi8_r
+import codecs
### Codec APIs
@@ -21,8 +14,8 @@ class Codec(codecs.Codec):
def decode(self,input,errors='strict'):
- return codecs.charmap_decode(input,errors,decoding_map)
-
+ return codecs.charmap_decode(input,errors,decoding_table)
+
class StreamWriter(Codec,codecs.StreamWriter):
pass
@@ -35,20 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-decoding_map = koi8_r.decoding_map.copy()
-decoding_map.update({
- 0x00a4: 0x0454, # CYRILLIC SMALL LETTER UKRAINIAN IE
- 0x00a6: 0x0456, # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x00a7: 0x0457, # CYRILLIC SMALL LETTER YI (UKRAINIAN)
- 0x00ad: 0x0491, # CYRILLIC SMALL LETTER UKRAINIAN GHE WITH UPTURN
- 0x00b4: 0x0404, # CYRILLIC CAPITAL LETTER UKRAINIAN IE
- 0x00b6: 0x0406, # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x00b7: 0x0407, # CYRILLIC CAPITAL LETTER YI (UKRAINIAN)
- 0x00bd: 0x0490, # CYRILLIC CAPITAL LETTER UKRAINIAN GHE WITH UPTURN
-})
+### Decoding Table
+
+decoding_table = (
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\u2500' # 0x80 -> BOX DRAWINGS LIGHT HORIZONTAL
+ u'\u2502' # 0x81 -> BOX DRAWINGS LIGHT VERTICAL
+ u'\u250c' # 0x82 -> BOX DRAWINGS LIGHT DOWN AND RIGHT
+ u'\u2510' # 0x83 -> BOX DRAWINGS LIGHT DOWN AND LEFT
+ u'\u2514' # 0x84 -> BOX DRAWINGS LIGHT UP AND RIGHT
+ u'\u2518' # 0x85 -> BOX DRAWINGS LIGHT UP AND LEFT
+ u'\u251c' # 0x86 -> BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+ u'\u2524' # 0x87 -> BOX DRAWINGS LIGHT VERTICAL AND LEFT
+ u'\u252c' # 0x88 -> BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+ u'\u2534' # 0x89 -> BOX DRAWINGS LIGHT UP AND HORIZONTAL
+ u'\u253c' # 0x8a -> BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+ u'\u2580' # 0x8b -> UPPER HALF BLOCK
+ u'\u2584' # 0x8c -> LOWER HALF BLOCK
+ u'\u2588' # 0x8d -> FULL BLOCK
+ u'\u258c' # 0x8e -> LEFT HALF BLOCK
+ u'\u2590' # 0x8f -> RIGHT HALF BLOCK
+ u'\u2591' # 0x90 -> LIGHT SHADE
+ u'\u2592' # 0x91 -> MEDIUM SHADE
+ u'\u2593' # 0x92 -> DARK SHADE
+ u'\u2320' # 0x93 -> TOP HALF INTEGRAL
+ u'\u25a0' # 0x94 -> BLACK SQUARE
+ u'\u2219' # 0x95 -> BULLET OPERATOR
+ u'\u221a' # 0x96 -> SQUARE ROOT
+ u'\u2248' # 0x97 -> ALMOST EQUAL TO
+ u'\u2264' # 0x98 -> LESS-THAN OR EQUAL TO
+ u'\u2265' # 0x99 -> GREATER-THAN OR EQUAL TO
+ u'\xa0' # 0x9a -> NO-BREAK SPACE
+ u'\u2321' # 0x9b -> BOTTOM HALF INTEGRAL
+ u'\xb0' # 0x9c -> DEGREE SIGN
+ u'\xb2' # 0x9d -> SUPERSCRIPT TWO
+ u'\xb7' # 0x9e -> MIDDLE DOT
+ u'\xf7' # 0x9f -> DIVISION SIGN
+ u'\u2550' # 0xa0 -> BOX DRAWINGS DOUBLE HORIZONTAL
+ u'\u2551' # 0xa1 -> BOX DRAWINGS DOUBLE VERTICAL
+ u'\u2552' # 0xa2 -> BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
+ u'\u0451' # 0xa3 -> CYRILLIC SMALL LETTER IO
+ u'\u0454' # 0xa4 -> CYRILLIC SMALL LETTER UKRAINIAN IE
+ u'\u2554' # 0xa5 -> BOX DRAWINGS DOUBLE DOWN AND RIGHT
+ u'\u0456' # 0xa6 -> CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
+ u'\u0457' # 0xa7 -> CYRILLIC SMALL LETTER YI (UKRAINIAN)
+ u'\u2557' # 0xa8 -> BOX DRAWINGS DOUBLE DOWN AND LEFT
+ u'\u2558' # 0xa9 -> BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
+ u'\u2559' # 0xaa -> BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
+ u'\u255a' # 0xab -> BOX DRAWINGS DOUBLE UP AND RIGHT
+ u'\u255b' # 0xac -> BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
+ u'\u0491' # 0xad -> CYRILLIC SMALL LETTER UKRAINIAN GHE WITH UPTURN
+ u'\u255d' # 0xae -> BOX DRAWINGS DOUBLE UP AND LEFT
+ u'\u255e' # 0xaf -> BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
+ u'\u255f' # 0xb0 -> BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
+ u'\u2560' # 0xb1 -> BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+ u'\u2561' # 0xb2 -> BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
+ u'\u0401' # 0xb3 -> CYRILLIC CAPITAL LETTER IO
+ u'\u0404' # 0xb4 -> CYRILLIC CAPITAL LETTER UKRAINIAN IE
+ u'\u2563' # 0xb5 -> BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+ u'\u0406' # 0xb6 -> CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
+ u'\u0407' # 0xb7 -> CYRILLIC CAPITAL LETTER YI (UKRAINIAN)
+ u'\u2566' # 0xb8 -> BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+ u'\u2567' # 0xb9 -> BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
+ u'\u2568' # 0xba -> BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
+ u'\u2569' # 0xbb -> BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+ u'\u256a' # 0xbc -> BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
+ u'\u0490' # 0xbd -> CYRILLIC CAPITAL LETTER UKRAINIAN GHE WITH UPTURN
+ u'\u256c' # 0xbe -> BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+ u'\xa9' # 0xbf -> COPYRIGHT SIGN
+ u'\u044e' # 0xc0 -> CYRILLIC SMALL LETTER YU
+ u'\u0430' # 0xc1 -> CYRILLIC SMALL LETTER A
+ u'\u0431' # 0xc2 -> CYRILLIC SMALL LETTER BE
+ u'\u0446' # 0xc3 -> CYRILLIC SMALL LETTER TSE
+ u'\u0434' # 0xc4 -> CYRILLIC SMALL LETTER DE
+ u'\u0435' # 0xc5 -> CYRILLIC SMALL LETTER IE
+ u'\u0444' # 0xc6 -> CYRILLIC SMALL LETTER EF
+ u'\u0433' # 0xc7 -> CYRILLIC SMALL LETTER GHE
+ u'\u0445' # 0xc8 -> CYRILLIC SMALL LETTER HA
+ u'\u0438' # 0xc9 -> CYRILLIC SMALL LETTER I
+ u'\u0439' # 0xca -> CYRILLIC SMALL LETTER SHORT I
+ u'\u043a' # 0xcb -> CYRILLIC SMALL LETTER KA
+ u'\u043b' # 0xcc -> CYRILLIC SMALL LETTER EL
+ u'\u043c' # 0xcd -> CYRILLIC SMALL LETTER EM
+ u'\u043d' # 0xce -> CYRILLIC SMALL LETTER EN
+ u'\u043e' # 0xcf -> CYRILLIC SMALL LETTER O
+ u'\u043f' # 0xd0 -> CYRILLIC SMALL LETTER PE
+ u'\u044f' # 0xd1 -> CYRILLIC SMALL LETTER YA
+ u'\u0440' # 0xd2 -> CYRILLIC SMALL LETTER ER
+ u'\u0441' # 0xd3 -> CYRILLIC SMALL LETTER ES
+ u'\u0442' # 0xd4 -> CYRILLIC SMALL LETTER TE
+ u'\u0443' # 0xd5 -> CYRILLIC SMALL LETTER U
+ u'\u0436' # 0xd6 -> CYRILLIC SMALL LETTER ZHE
+ u'\u0432' # 0xd7 -> CYRILLIC SMALL LETTER VE
+ u'\u044c' # 0xd8 -> CYRILLIC SMALL LETTER SOFT SIGN
+ u'\u044b' # 0xd9 -> CYRILLIC SMALL LETTER YERU
+ u'\u0437' # 0xda -> CYRILLIC SMALL LETTER ZE
+ u'\u0448' # 0xdb -> CYRILLIC SMALL LETTER SHA
+ u'\u044d' # 0xdc -> CYRILLIC SMALL LETTER E
+ u'\u0449' # 0xdd -> CYRILLIC SMALL LETTER SHCHA
+ u'\u0447' # 0xde -> CYRILLIC SMALL LETTER CHE
+ u'\u044a' # 0xdf -> CYRILLIC SMALL LETTER HARD SIGN
+ u'\u042e' # 0xe0 -> CYRILLIC CAPITAL LETTER YU
+ u'\u0410' # 0xe1 -> CYRILLIC CAPITAL LETTER A
+ u'\u0411' # 0xe2 -> CYRILLIC CAPITAL LETTER BE
+ u'\u0426' # 0xe3 -> CYRILLIC CAPITAL LETTER TSE
+ u'\u0414' # 0xe4 -> CYRILLIC CAPITAL LETTER DE
+ u'\u0415' # 0xe5 -> CYRILLIC CAPITAL LETTER IE
+ u'\u0424' # 0xe6 -> CYRILLIC CAPITAL LETTER EF
+ u'\u0413' # 0xe7 -> CYRILLIC CAPITAL LETTER GHE
+ u'\u0425' # 0xe8 -> CYRILLIC CAPITAL LETTER HA
+ u'\u0418' # 0xe9 -> CYRILLIC CAPITAL LETTER I
+ u'\u0419' # 0xea -> CYRILLIC CAPITAL LETTER SHORT I
+ u'\u041a' # 0xeb -> CYRILLIC CAPITAL LETTER KA
+ u'\u041b' # 0xec -> CYRILLIC CAPITAL LETTER EL
+ u'\u041c' # 0xed -> CYRILLIC CAPITAL LETTER EM
+ u'\u041d' # 0xee -> CYRILLIC CAPITAL LETTER EN
+ u'\u041e' # 0xef -> CYRILLIC CAPITAL LETTER O
+ u'\u041f' # 0xf0 -> CYRILLIC CAPITAL LETTER PE
+ u'\u042f' # 0xf1 -> CYRILLIC CAPITAL LETTER YA
+ u'\u0420' # 0xf2 -> CYRILLIC CAPITAL LETTER ER
+ u'\u0421' # 0xf3 -> CYRILLIC CAPITAL LETTER ES
+ u'\u0422' # 0xf4 -> CYRILLIC CAPITAL LETTER TE
+ u'\u0423' # 0xf5 -> CYRILLIC CAPITAL LETTER U
+ u'\u0416' # 0xf6 -> CYRILLIC CAPITAL LETTER ZHE
+ u'\u0412' # 0xf7 -> CYRILLIC CAPITAL LETTER VE
+ u'\u042c' # 0xf8 -> CYRILLIC CAPITAL LETTER SOFT SIGN
+ u'\u042b' # 0xf9 -> CYRILLIC CAPITAL LETTER YERU
+ u'\u0417' # 0xfa -> CYRILLIC CAPITAL LETTER ZE
+ u'\u0428' # 0xfb -> CYRILLIC CAPITAL LETTER SHA
+ u'\u042d' # 0xfc -> CYRILLIC CAPITAL LETTER E
+ u'\u0429' # 0xfd -> CYRILLIC CAPITAL LETTER SHCHA
+ u'\u0427' # 0xfe -> CYRILLIC CAPITAL LETTER CHE
+ u'\u042a' # 0xff -> CYRILLIC CAPITAL LETTER HARD SIGN
+)
### Encoding Map
-encoding_map = codecs.make_encoding_map(decoding_map)
+encoding_map = {
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x00a0: 0x9a, # NO-BREAK SPACE
+ 0x00a9: 0xbf, # COPYRIGHT SIGN
+ 0x00b0: 0x9c, # DEGREE SIGN
+ 0x00b2: 0x9d, # SUPERSCRIPT TWO
+ 0x00b7: 0x9e, # MIDDLE DOT
+ 0x00f7: 0x9f, # DIVISION SIGN
+ 0x0401: 0xb3, # CYRILLIC CAPITAL LETTER IO
+ 0x0404: 0xb4, # CYRILLIC CAPITAL LETTER UKRAINIAN IE
+ 0x0406: 0xb6, # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
+ 0x0407: 0xb7, # CYRILLIC CAPITAL LETTER YI (UKRAINIAN)
+ 0x0410: 0xe1, # CYRILLIC CAPITAL LETTER A
+ 0x0411: 0xe2, # CYRILLIC CAPITAL LETTER BE
+ 0x0412: 0xf7, # CYRILLIC CAPITAL LETTER VE
+ 0x0413: 0xe7, # CYRILLIC CAPITAL LETTER GHE
+ 0x0414: 0xe4, # CYRILLIC CAPITAL LETTER DE
+ 0x0415: 0xe5, # CYRILLIC CAPITAL LETTER IE
+ 0x0416: 0xf6, # CYRILLIC CAPITAL LETTER ZHE
+ 0x0417: 0xfa, # CYRILLIC CAPITAL LETTER ZE
+ 0x0418: 0xe9, # CYRILLIC CAPITAL LETTER I
+ 0x0419: 0xea, # CYRILLIC CAPITAL LETTER SHORT I
+ 0x041a: 0xeb, # CYRILLIC CAPITAL LETTER KA
+ 0x041b: 0xec, # CYRILLIC CAPITAL LETTER EL
+ 0x041c: 0xed, # CYRILLIC CAPITAL LETTER EM
+ 0x041d: 0xee, # CYRILLIC CAPITAL LETTER EN
+ 0x041e: 0xef, # CYRILLIC CAPITAL LETTER O
+ 0x041f: 0xf0, # CYRILLIC CAPITAL LETTER PE
+ 0x0420: 0xf2, # CYRILLIC CAPITAL LETTER ER
+ 0x0421: 0xf3, # CYRILLIC CAPITAL LETTER ES
+ 0x0422: 0xf4, # CYRILLIC CAPITAL LETTER TE
+ 0x0423: 0xf5, # CYRILLIC CAPITAL LETTER U
+ 0x0424: 0xe6, # CYRILLIC CAPITAL LETTER EF
+ 0x0425: 0xe8, # CYRILLIC CAPITAL LETTER HA
+ 0x0426: 0xe3, # CYRILLIC CAPITAL LETTER TSE
+ 0x0427: 0xfe, # CYRILLIC CAPITAL LETTER CHE
+ 0x0428: 0xfb, # CYRILLIC CAPITAL LETTER SHA
+ 0x0429: 0xfd, # CYRILLIC CAPITAL LETTER SHCHA
+ 0x042a: 0xff, # CYRILLIC CAPITAL LETTER HARD SIGN
+ 0x042b: 0xf9, # CYRILLIC CAPITAL LETTER YERU
+ 0x042c: 0xf8, # CYRILLIC CAPITAL LETTER SOFT SIGN
+ 0x042d: 0xfc, # CYRILLIC CAPITAL LETTER E
+ 0x042e: 0xe0, # CYRILLIC CAPITAL LETTER YU
+ 0x042f: 0xf1, # CYRILLIC CAPITAL LETTER YA
+ 0x0430: 0xc1, # CYRILLIC SMALL LETTER A
+ 0x0431: 0xc2, # CYRILLIC SMALL LETTER BE
+ 0x0432: 0xd7, # CYRILLIC SMALL LETTER VE
+ 0x0433: 0xc7, # CYRILLIC SMALL LETTER GHE
+ 0x0434: 0xc4, # CYRILLIC SMALL LETTER DE
+ 0x0435: 0xc5, # CYRILLIC SMALL LETTER IE
+ 0x0436: 0xd6, # CYRILLIC SMALL LETTER ZHE
+ 0x0437: 0xda, # CYRILLIC SMALL LETTER ZE
+ 0x0438: 0xc9, # CYRILLIC SMALL LETTER I
+ 0x0439: 0xca, # CYRILLIC SMALL LETTER SHORT I
+ 0x043a: 0xcb, # CYRILLIC SMALL LETTER KA
+ 0x043b: 0xcc, # CYRILLIC SMALL LETTER EL
+ 0x043c: 0xcd, # CYRILLIC SMALL LETTER EM
+ 0x043d: 0xce, # CYRILLIC SMALL LETTER EN
+ 0x043e: 0xcf, # CYRILLIC SMALL LETTER O
+ 0x043f: 0xd0, # CYRILLIC SMALL LETTER PE
+ 0x0440: 0xd2, # CYRILLIC SMALL LETTER ER
+ 0x0441: 0xd3, # CYRILLIC SMALL LETTER ES
+ 0x0442: 0xd4, # CYRILLIC SMALL LETTER TE
+ 0x0443: 0xd5, # CYRILLIC SMALL LETTER U
+ 0x0444: 0xc6, # CYRILLIC SMALL LETTER EF
+ 0x0445: 0xc8, # CYRILLIC SMALL LETTER HA
+ 0x0446: 0xc3, # CYRILLIC SMALL LETTER TSE
+ 0x0447: 0xde, # CYRILLIC SMALL LETTER CHE
+ 0x0448: 0xdb, # CYRILLIC SMALL LETTER SHA
+ 0x0449: 0xdd, # CYRILLIC SMALL LETTER SHCHA
+ 0x044a: 0xdf, # CYRILLIC SMALL LETTER HARD SIGN
+ 0x044b: 0xd9, # CYRILLIC SMALL LETTER YERU
+ 0x044c: 0xd8, # CYRILLIC SMALL LETTER SOFT SIGN
+ 0x044d: 0xdc, # CYRILLIC SMALL LETTER E
+ 0x044e: 0xc0, # CYRILLIC SMALL LETTER YU
+ 0x044f: 0xd1, # CYRILLIC SMALL LETTER YA
+ 0x0451: 0xa3, # CYRILLIC SMALL LETTER IO
+ 0x0454: 0xa4, # CYRILLIC SMALL LETTER UKRAINIAN IE
+ 0x0456: 0xa6, # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
+ 0x0457: 0xa7, # CYRILLIC SMALL LETTER YI (UKRAINIAN)
+ 0x0490: 0xbd, # CYRILLIC CAPITAL LETTER UKRAINIAN GHE WITH UPTURN
+ 0x0491: 0xad, # CYRILLIC SMALL LETTER UKRAINIAN GHE WITH UPTURN
+ 0x2219: 0x95, # BULLET OPERATOR
+ 0x221a: 0x96, # SQUARE ROOT
+ 0x2248: 0x97, # ALMOST EQUAL TO
+ 0x2264: 0x98, # LESS-THAN OR EQUAL TO
+ 0x2265: 0x99, # GREATER-THAN OR EQUAL TO
+ 0x2320: 0x93, # TOP HALF INTEGRAL
+ 0x2321: 0x9b, # BOTTOM HALF INTEGRAL
+ 0x2500: 0x80, # BOX DRAWINGS LIGHT HORIZONTAL
+ 0x2502: 0x81, # BOX DRAWINGS LIGHT VERTICAL
+ 0x250c: 0x82, # BOX DRAWINGS LIGHT DOWN AND RIGHT
+ 0x2510: 0x83, # BOX DRAWINGS LIGHT DOWN AND LEFT
+ 0x2514: 0x84, # BOX DRAWINGS LIGHT UP AND RIGHT
+ 0x2518: 0x85, # BOX DRAWINGS LIGHT UP AND LEFT
+ 0x251c: 0x86, # BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+ 0x2524: 0x87, # BOX DRAWINGS LIGHT VERTICAL AND LEFT
+ 0x252c: 0x88, # BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+ 0x2534: 0x89, # BOX DRAWINGS LIGHT UP AND HORIZONTAL
+ 0x253c: 0x8a, # BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+ 0x2550: 0xa0, # BOX DRAWINGS DOUBLE HORIZONTAL
+ 0x2551: 0xa1, # BOX DRAWINGS DOUBLE VERTICAL
+ 0x2552: 0xa2, # BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
+ 0x2554: 0xa5, # BOX DRAWINGS DOUBLE DOWN AND RIGHT
+ 0x2557: 0xa8, # BOX DRAWINGS DOUBLE DOWN AND LEFT
+ 0x2558: 0xa9, # BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
+ 0x2559: 0xaa, # BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
+ 0x255a: 0xab, # BOX DRAWINGS DOUBLE UP AND RIGHT
+ 0x255b: 0xac, # BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
+ 0x255d: 0xae, # BOX DRAWINGS DOUBLE UP AND LEFT
+ 0x255e: 0xaf, # BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
+ 0x255f: 0xb0, # BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
+ 0x2560: 0xb1, # BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+ 0x2561: 0xb2, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
+ 0x2563: 0xb5, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+ 0x2566: 0xb8, # BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+ 0x2567: 0xb9, # BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
+ 0x2568: 0xba, # BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
+ 0x2569: 0xbb, # BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+ 0x256a: 0xbc, # BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
+ 0x256c: 0xbe, # BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+ 0x2580: 0x8b, # UPPER HALF BLOCK
+ 0x2584: 0x8c, # LOWER HALF BLOCK
+ 0x2588: 0x8d, # FULL BLOCK
+ 0x258c: 0x8e, # LEFT HALF BLOCK
+ 0x2590: 0x8f, # RIGHT HALF BLOCK
+ 0x2591: 0x90, # LIGHT SHADE
+ 0x2592: 0x91, # MEDIUM SHADE
+ 0x2593: 0x92, # DARK SHADE
+ 0x25a0: 0x94, # BLACK SQUARE
+} \ No newline at end of file
diff --git a/Lib/encodings/mac_centeuro.py b/Lib/encodings/mac_centeuro.py
index 7ee2a71b4d9..08a21af9f5d 100644
--- a/Lib/encodings/mac_centeuro.py
+++ b/Lib/encodings/mac_centeuro.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/APPLE/CENTEURO.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/APPLE/CENTEURO.TXT' with gencodec.py.
"""#"
@@ -28,656 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x0081: 0x0100, # LATIN CAPITAL LETTER A WITH MACRON
- 0x0082: 0x0101, # LATIN SMALL LETTER A WITH MACRON
- 0x0083: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x0084: 0x0104, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x0085: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x0086: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x0087: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x0088: 0x0105, # LATIN SMALL LETTER A WITH OGONEK
- 0x0089: 0x010c, # LATIN CAPITAL LETTER C WITH CARON
- 0x008a: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x008b: 0x010d, # LATIN SMALL LETTER C WITH CARON
- 0x008c: 0x0106, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x008d: 0x0107, # LATIN SMALL LETTER C WITH ACUTE
- 0x008e: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x008f: 0x0179, # LATIN CAPITAL LETTER Z WITH ACUTE
- 0x0090: 0x017a, # LATIN SMALL LETTER Z WITH ACUTE
- 0x0091: 0x010e, # LATIN CAPITAL LETTER D WITH CARON
- 0x0092: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x0093: 0x010f, # LATIN SMALL LETTER D WITH CARON
- 0x0094: 0x0112, # LATIN CAPITAL LETTER E WITH MACRON
- 0x0095: 0x0113, # LATIN SMALL LETTER E WITH MACRON
- 0x0096: 0x0116, # LATIN CAPITAL LETTER E WITH DOT ABOVE
- 0x0097: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x0098: 0x0117, # LATIN SMALL LETTER E WITH DOT ABOVE
- 0x0099: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x009a: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x009b: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x009c: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x009d: 0x011a, # LATIN CAPITAL LETTER E WITH CARON
- 0x009e: 0x011b, # LATIN SMALL LETTER E WITH CARON
- 0x009f: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00a0: 0x2020, # DAGGER
- 0x00a1: 0x00b0, # DEGREE SIGN
- 0x00a2: 0x0118, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x00a4: 0x00a7, # SECTION SIGN
- 0x00a5: 0x2022, # BULLET
- 0x00a6: 0x00b6, # PILCROW SIGN
- 0x00a7: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00a8: 0x00ae, # REGISTERED SIGN
- 0x00aa: 0x2122, # TRADE MARK SIGN
- 0x00ab: 0x0119, # LATIN SMALL LETTER E WITH OGONEK
- 0x00ac: 0x00a8, # DIAERESIS
- 0x00ad: 0x2260, # NOT EQUAL TO
- 0x00ae: 0x0123, # LATIN SMALL LETTER G WITH CEDILLA
- 0x00af: 0x012e, # LATIN CAPITAL LETTER I WITH OGONEK
- 0x00b0: 0x012f, # LATIN SMALL LETTER I WITH OGONEK
- 0x00b1: 0x012a, # LATIN CAPITAL LETTER I WITH MACRON
- 0x00b2: 0x2264, # LESS-THAN OR EQUAL TO
- 0x00b3: 0x2265, # GREATER-THAN OR EQUAL TO
- 0x00b4: 0x012b, # LATIN SMALL LETTER I WITH MACRON
- 0x00b5: 0x0136, # LATIN CAPITAL LETTER K WITH CEDILLA
- 0x00b6: 0x2202, # PARTIAL DIFFERENTIAL
- 0x00b7: 0x2211, # N-ARY SUMMATION
- 0x00b8: 0x0142, # LATIN SMALL LETTER L WITH STROKE
- 0x00b9: 0x013b, # LATIN CAPITAL LETTER L WITH CEDILLA
- 0x00ba: 0x013c, # LATIN SMALL LETTER L WITH CEDILLA
- 0x00bb: 0x013d, # LATIN CAPITAL LETTER L WITH CARON
- 0x00bc: 0x013e, # LATIN SMALL LETTER L WITH CARON
- 0x00bd: 0x0139, # LATIN CAPITAL LETTER L WITH ACUTE
- 0x00be: 0x013a, # LATIN SMALL LETTER L WITH ACUTE
- 0x00bf: 0x0145, # LATIN CAPITAL LETTER N WITH CEDILLA
- 0x00c0: 0x0146, # LATIN SMALL LETTER N WITH CEDILLA
- 0x00c1: 0x0143, # LATIN CAPITAL LETTER N WITH ACUTE
- 0x00c2: 0x00ac, # NOT SIGN
- 0x00c3: 0x221a, # SQUARE ROOT
- 0x00c4: 0x0144, # LATIN SMALL LETTER N WITH ACUTE
- 0x00c5: 0x0147, # LATIN CAPITAL LETTER N WITH CARON
- 0x00c6: 0x2206, # INCREMENT
- 0x00c7: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c8: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c9: 0x2026, # HORIZONTAL ELLIPSIS
- 0x00ca: 0x00a0, # NO-BREAK SPACE
- 0x00cb: 0x0148, # LATIN SMALL LETTER N WITH CARON
- 0x00cc: 0x0150, # LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
- 0x00cd: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00ce: 0x0151, # LATIN SMALL LETTER O WITH DOUBLE ACUTE
- 0x00cf: 0x014c, # LATIN CAPITAL LETTER O WITH MACRON
- 0x00d0: 0x2013, # EN DASH
- 0x00d1: 0x2014, # EM DASH
- 0x00d2: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x00d3: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x00d4: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x00d5: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x00d6: 0x00f7, # DIVISION SIGN
- 0x00d7: 0x25ca, # LOZENGE
- 0x00d8: 0x014d, # LATIN SMALL LETTER O WITH MACRON
- 0x00d9: 0x0154, # LATIN CAPITAL LETTER R WITH ACUTE
- 0x00da: 0x0155, # LATIN SMALL LETTER R WITH ACUTE
- 0x00db: 0x0158, # LATIN CAPITAL LETTER R WITH CARON
- 0x00dc: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x00dd: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x00de: 0x0159, # LATIN SMALL LETTER R WITH CARON
- 0x00df: 0x0156, # LATIN CAPITAL LETTER R WITH CEDILLA
- 0x00e0: 0x0157, # LATIN SMALL LETTER R WITH CEDILLA
- 0x00e1: 0x0160, # LATIN CAPITAL LETTER S WITH CARON
- 0x00e2: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x00e3: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x00e4: 0x0161, # LATIN SMALL LETTER S WITH CARON
- 0x00e5: 0x015a, # LATIN CAPITAL LETTER S WITH ACUTE
- 0x00e6: 0x015b, # LATIN SMALL LETTER S WITH ACUTE
- 0x00e7: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00e8: 0x0164, # LATIN CAPITAL LETTER T WITH CARON
- 0x00e9: 0x0165, # LATIN SMALL LETTER T WITH CARON
- 0x00ea: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00eb: 0x017d, # LATIN CAPITAL LETTER Z WITH CARON
- 0x00ec: 0x017e, # LATIN SMALL LETTER Z WITH CARON
- 0x00ed: 0x016a, # LATIN CAPITAL LETTER U WITH MACRON
- 0x00ee: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00ef: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00f0: 0x016b, # LATIN SMALL LETTER U WITH MACRON
- 0x00f1: 0x016e, # LATIN CAPITAL LETTER U WITH RING ABOVE
- 0x00f2: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00f3: 0x016f, # LATIN SMALL LETTER U WITH RING ABOVE
- 0x00f4: 0x0170, # LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
- 0x00f5: 0x0171, # LATIN SMALL LETTER U WITH DOUBLE ACUTE
- 0x00f6: 0x0172, # LATIN CAPITAL LETTER U WITH OGONEK
- 0x00f7: 0x0173, # LATIN SMALL LETTER U WITH OGONEK
- 0x00f8: 0x00dd, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00f9: 0x00fd, # LATIN SMALL LETTER Y WITH ACUTE
- 0x00fa: 0x0137, # LATIN SMALL LETTER K WITH CEDILLA
- 0x00fb: 0x017b, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x00fc: 0x0141, # LATIN CAPITAL LETTER L WITH STROKE
- 0x00fd: 0x017c, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x00fe: 0x0122, # LATIN CAPITAL LETTER G WITH CEDILLA
- 0x00ff: 0x02c7, # CARON
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> CONTROL CHARACTER
- u'\x01' # 0x0001 -> CONTROL CHARACTER
- u'\x02' # 0x0002 -> CONTROL CHARACTER
- u'\x03' # 0x0003 -> CONTROL CHARACTER
- u'\x04' # 0x0004 -> CONTROL CHARACTER
- u'\x05' # 0x0005 -> CONTROL CHARACTER
- u'\x06' # 0x0006 -> CONTROL CHARACTER
- u'\x07' # 0x0007 -> CONTROL CHARACTER
- u'\x08' # 0x0008 -> CONTROL CHARACTER
- u'\t' # 0x0009 -> CONTROL CHARACTER
- u'\n' # 0x000a -> CONTROL CHARACTER
- u'\x0b' # 0x000b -> CONTROL CHARACTER
- u'\x0c' # 0x000c -> CONTROL CHARACTER
- u'\r' # 0x000d -> CONTROL CHARACTER
- u'\x0e' # 0x000e -> CONTROL CHARACTER
- u'\x0f' # 0x000f -> CONTROL CHARACTER
- u'\x10' # 0x0010 -> CONTROL CHARACTER
- u'\x11' # 0x0011 -> CONTROL CHARACTER
- u'\x12' # 0x0012 -> CONTROL CHARACTER
- u'\x13' # 0x0013 -> CONTROL CHARACTER
- u'\x14' # 0x0014 -> CONTROL CHARACTER
- u'\x15' # 0x0015 -> CONTROL CHARACTER
- u'\x16' # 0x0016 -> CONTROL CHARACTER
- u'\x17' # 0x0017 -> CONTROL CHARACTER
- u'\x18' # 0x0018 -> CONTROL CHARACTER
- u'\x19' # 0x0019 -> CONTROL CHARACTER
- u'\x1a' # 0x001a -> CONTROL CHARACTER
- u'\x1b' # 0x001b -> CONTROL CHARACTER
- u'\x1c' # 0x001c -> CONTROL CHARACTER
- u'\x1d' # 0x001d -> CONTROL CHARACTER
- u'\x1e' # 0x001e -> CONTROL CHARACTER
- u'\x1f' # 0x001f -> CONTROL CHARACTER
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> CONTROL CHARACTER
- u'\xc4' # 0x0080 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\u0100' # 0x0081 -> LATIN CAPITAL LETTER A WITH MACRON
- u'\u0101' # 0x0082 -> LATIN SMALL LETTER A WITH MACRON
- u'\xc9' # 0x0083 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\u0104' # 0x0084 -> LATIN CAPITAL LETTER A WITH OGONEK
- u'\xd6' # 0x0085 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xdc' # 0x0086 -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xe1' # 0x0087 -> LATIN SMALL LETTER A WITH ACUTE
- u'\u0105' # 0x0088 -> LATIN SMALL LETTER A WITH OGONEK
- u'\u010c' # 0x0089 -> LATIN CAPITAL LETTER C WITH CARON
- u'\xe4' # 0x008a -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\u010d' # 0x008b -> LATIN SMALL LETTER C WITH CARON
- u'\u0106' # 0x008c -> LATIN CAPITAL LETTER C WITH ACUTE
- u'\u0107' # 0x008d -> LATIN SMALL LETTER C WITH ACUTE
- u'\xe9' # 0x008e -> LATIN SMALL LETTER E WITH ACUTE
- u'\u0179' # 0x008f -> LATIN CAPITAL LETTER Z WITH ACUTE
- u'\u017a' # 0x0090 -> LATIN SMALL LETTER Z WITH ACUTE
- u'\u010e' # 0x0091 -> LATIN CAPITAL LETTER D WITH CARON
- u'\xed' # 0x0092 -> LATIN SMALL LETTER I WITH ACUTE
- u'\u010f' # 0x0093 -> LATIN SMALL LETTER D WITH CARON
- u'\u0112' # 0x0094 -> LATIN CAPITAL LETTER E WITH MACRON
- u'\u0113' # 0x0095 -> LATIN SMALL LETTER E WITH MACRON
- u'\u0116' # 0x0096 -> LATIN CAPITAL LETTER E WITH DOT ABOVE
- u'\xf3' # 0x0097 -> LATIN SMALL LETTER O WITH ACUTE
- u'\u0117' # 0x0098 -> LATIN SMALL LETTER E WITH DOT ABOVE
- u'\xf4' # 0x0099 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf6' # 0x009a -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf5' # 0x009b -> LATIN SMALL LETTER O WITH TILDE
- u'\xfa' # 0x009c -> LATIN SMALL LETTER U WITH ACUTE
- u'\u011a' # 0x009d -> LATIN CAPITAL LETTER E WITH CARON
- u'\u011b' # 0x009e -> LATIN SMALL LETTER E WITH CARON
- u'\xfc' # 0x009f -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u2020' # 0x00a0 -> DAGGER
- u'\xb0' # 0x00a1 -> DEGREE SIGN
- u'\u0118' # 0x00a2 -> LATIN CAPITAL LETTER E WITH OGONEK
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa7' # 0x00a4 -> SECTION SIGN
- u'\u2022' # 0x00a5 -> BULLET
- u'\xb6' # 0x00a6 -> PILCROW SIGN
- u'\xdf' # 0x00a7 -> LATIN SMALL LETTER SHARP S
- u'\xae' # 0x00a8 -> REGISTERED SIGN
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u2122' # 0x00aa -> TRADE MARK SIGN
- u'\u0119' # 0x00ab -> LATIN SMALL LETTER E WITH OGONEK
- u'\xa8' # 0x00ac -> DIAERESIS
- u'\u2260' # 0x00ad -> NOT EQUAL TO
- u'\u0123' # 0x00ae -> LATIN SMALL LETTER G WITH CEDILLA
- u'\u012e' # 0x00af -> LATIN CAPITAL LETTER I WITH OGONEK
- u'\u012f' # 0x00b0 -> LATIN SMALL LETTER I WITH OGONEK
- u'\u012a' # 0x00b1 -> LATIN CAPITAL LETTER I WITH MACRON
- u'\u2264' # 0x00b2 -> LESS-THAN OR EQUAL TO
- u'\u2265' # 0x00b3 -> GREATER-THAN OR EQUAL TO
- u'\u012b' # 0x00b4 -> LATIN SMALL LETTER I WITH MACRON
- u'\u0136' # 0x00b5 -> LATIN CAPITAL LETTER K WITH CEDILLA
- u'\u2202' # 0x00b6 -> PARTIAL DIFFERENTIAL
- u'\u2211' # 0x00b7 -> N-ARY SUMMATION
- u'\u0142' # 0x00b8 -> LATIN SMALL LETTER L WITH STROKE
- u'\u013b' # 0x00b9 -> LATIN CAPITAL LETTER L WITH CEDILLA
- u'\u013c' # 0x00ba -> LATIN SMALL LETTER L WITH CEDILLA
- u'\u013d' # 0x00bb -> LATIN CAPITAL LETTER L WITH CARON
- u'\u013e' # 0x00bc -> LATIN SMALL LETTER L WITH CARON
- u'\u0139' # 0x00bd -> LATIN CAPITAL LETTER L WITH ACUTE
- u'\u013a' # 0x00be -> LATIN SMALL LETTER L WITH ACUTE
- u'\u0145' # 0x00bf -> LATIN CAPITAL LETTER N WITH CEDILLA
- u'\u0146' # 0x00c0 -> LATIN SMALL LETTER N WITH CEDILLA
- u'\u0143' # 0x00c1 -> LATIN CAPITAL LETTER N WITH ACUTE
- u'\xac' # 0x00c2 -> NOT SIGN
- u'\u221a' # 0x00c3 -> SQUARE ROOT
- u'\u0144' # 0x00c4 -> LATIN SMALL LETTER N WITH ACUTE
- u'\u0147' # 0x00c5 -> LATIN CAPITAL LETTER N WITH CARON
- u'\u2206' # 0x00c6 -> INCREMENT
- u'\xab' # 0x00c7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbb' # 0x00c8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u2026' # 0x00c9 -> HORIZONTAL ELLIPSIS
- u'\xa0' # 0x00ca -> NO-BREAK SPACE
- u'\u0148' # 0x00cb -> LATIN SMALL LETTER N WITH CARON
- u'\u0150' # 0x00cc -> LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
- u'\xd5' # 0x00cd -> LATIN CAPITAL LETTER O WITH TILDE
- u'\u0151' # 0x00ce -> LATIN SMALL LETTER O WITH DOUBLE ACUTE
- u'\u014c' # 0x00cf -> LATIN CAPITAL LETTER O WITH MACRON
- u'\u2013' # 0x00d0 -> EN DASH
- u'\u2014' # 0x00d1 -> EM DASH
- u'\u201c' # 0x00d2 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x00d3 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2018' # 0x00d4 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x00d5 -> RIGHT SINGLE QUOTATION MARK
- u'\xf7' # 0x00d6 -> DIVISION SIGN
- u'\u25ca' # 0x00d7 -> LOZENGE
- u'\u014d' # 0x00d8 -> LATIN SMALL LETTER O WITH MACRON
- u'\u0154' # 0x00d9 -> LATIN CAPITAL LETTER R WITH ACUTE
- u'\u0155' # 0x00da -> LATIN SMALL LETTER R WITH ACUTE
- u'\u0158' # 0x00db -> LATIN CAPITAL LETTER R WITH CARON
- u'\u2039' # 0x00dc -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\u203a' # 0x00dd -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\u0159' # 0x00de -> LATIN SMALL LETTER R WITH CARON
- u'\u0156' # 0x00df -> LATIN CAPITAL LETTER R WITH CEDILLA
- u'\u0157' # 0x00e0 -> LATIN SMALL LETTER R WITH CEDILLA
- u'\u0160' # 0x00e1 -> LATIN CAPITAL LETTER S WITH CARON
- u'\u201a' # 0x00e2 -> SINGLE LOW-9 QUOTATION MARK
- u'\u201e' # 0x00e3 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u0161' # 0x00e4 -> LATIN SMALL LETTER S WITH CARON
- u'\u015a' # 0x00e5 -> LATIN CAPITAL LETTER S WITH ACUTE
- u'\u015b' # 0x00e6 -> LATIN SMALL LETTER S WITH ACUTE
- u'\xc1' # 0x00e7 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\u0164' # 0x00e8 -> LATIN CAPITAL LETTER T WITH CARON
- u'\u0165' # 0x00e9 -> LATIN SMALL LETTER T WITH CARON
- u'\xcd' # 0x00ea -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\u017d' # 0x00eb -> LATIN CAPITAL LETTER Z WITH CARON
- u'\u017e' # 0x00ec -> LATIN SMALL LETTER Z WITH CARON
- u'\u016a' # 0x00ed -> LATIN CAPITAL LETTER U WITH MACRON
- u'\xd3' # 0x00ee -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00ef -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\u016b' # 0x00f0 -> LATIN SMALL LETTER U WITH MACRON
- u'\u016e' # 0x00f1 -> LATIN CAPITAL LETTER U WITH RING ABOVE
- u'\xda' # 0x00f2 -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\u016f' # 0x00f3 -> LATIN SMALL LETTER U WITH RING ABOVE
- u'\u0170' # 0x00f4 -> LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
- u'\u0171' # 0x00f5 -> LATIN SMALL LETTER U WITH DOUBLE ACUTE
- u'\u0172' # 0x00f6 -> LATIN CAPITAL LETTER U WITH OGONEK
- u'\u0173' # 0x00f7 -> LATIN SMALL LETTER U WITH OGONEK
- u'\xdd' # 0x00f8 -> LATIN CAPITAL LETTER Y WITH ACUTE
- u'\xfd' # 0x00f9 -> LATIN SMALL LETTER Y WITH ACUTE
- u'\u0137' # 0x00fa -> LATIN SMALL LETTER K WITH CEDILLA
- u'\u017b' # 0x00fb -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
- u'\u0141' # 0x00fc -> LATIN CAPITAL LETTER L WITH STROKE
- u'\u017c' # 0x00fd -> LATIN SMALL LETTER Z WITH DOT ABOVE
- u'\u0122' # 0x00fe -> LATIN CAPITAL LETTER G WITH CEDILLA
- u'\u02c7' # 0x00ff -> CARON
+ u'\x00' # 0x00 -> CONTROL CHARACTER
+ u'\x01' # 0x01 -> CONTROL CHARACTER
+ u'\x02' # 0x02 -> CONTROL CHARACTER
+ u'\x03' # 0x03 -> CONTROL CHARACTER
+ u'\x04' # 0x04 -> CONTROL CHARACTER
+ u'\x05' # 0x05 -> CONTROL CHARACTER
+ u'\x06' # 0x06 -> CONTROL CHARACTER
+ u'\x07' # 0x07 -> CONTROL CHARACTER
+ u'\x08' # 0x08 -> CONTROL CHARACTER
+ u'\t' # 0x09 -> CONTROL CHARACTER
+ u'\n' # 0x0a -> CONTROL CHARACTER
+ u'\x0b' # 0x0b -> CONTROL CHARACTER
+ u'\x0c' # 0x0c -> CONTROL CHARACTER
+ u'\r' # 0x0d -> CONTROL CHARACTER
+ u'\x0e' # 0x0e -> CONTROL CHARACTER
+ u'\x0f' # 0x0f -> CONTROL CHARACTER
+ u'\x10' # 0x10 -> CONTROL CHARACTER
+ u'\x11' # 0x11 -> CONTROL CHARACTER
+ u'\x12' # 0x12 -> CONTROL CHARACTER
+ u'\x13' # 0x13 -> CONTROL CHARACTER
+ u'\x14' # 0x14 -> CONTROL CHARACTER
+ u'\x15' # 0x15 -> CONTROL CHARACTER
+ u'\x16' # 0x16 -> CONTROL CHARACTER
+ u'\x17' # 0x17 -> CONTROL CHARACTER
+ u'\x18' # 0x18 -> CONTROL CHARACTER
+ u'\x19' # 0x19 -> CONTROL CHARACTER
+ u'\x1a' # 0x1a -> CONTROL CHARACTER
+ u'\x1b' # 0x1b -> CONTROL CHARACTER
+ u'\x1c' # 0x1c -> CONTROL CHARACTER
+ u'\x1d' # 0x1d -> CONTROL CHARACTER
+ u'\x1e' # 0x1e -> CONTROL CHARACTER
+ u'\x1f' # 0x1f -> CONTROL CHARACTER
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> CONTROL CHARACTER
+ u'\xc4' # 0x80 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\u0100' # 0x81 -> LATIN CAPITAL LETTER A WITH MACRON
+ u'\u0101' # 0x82 -> LATIN SMALL LETTER A WITH MACRON
+ u'\xc9' # 0x83 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\u0104' # 0x84 -> LATIN CAPITAL LETTER A WITH OGONEK
+ u'\xd6' # 0x85 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xdc' # 0x86 -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xe1' # 0x87 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\u0105' # 0x88 -> LATIN SMALL LETTER A WITH OGONEK
+ u'\u010c' # 0x89 -> LATIN CAPITAL LETTER C WITH CARON
+ u'\xe4' # 0x8a -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\u010d' # 0x8b -> LATIN SMALL LETTER C WITH CARON
+ u'\u0106' # 0x8c -> LATIN CAPITAL LETTER C WITH ACUTE
+ u'\u0107' # 0x8d -> LATIN SMALL LETTER C WITH ACUTE
+ u'\xe9' # 0x8e -> LATIN SMALL LETTER E WITH ACUTE
+ u'\u0179' # 0x8f -> LATIN CAPITAL LETTER Z WITH ACUTE
+ u'\u017a' # 0x90 -> LATIN SMALL LETTER Z WITH ACUTE
+ u'\u010e' # 0x91 -> LATIN CAPITAL LETTER D WITH CARON
+ u'\xed' # 0x92 -> LATIN SMALL LETTER I WITH ACUTE
+ u'\u010f' # 0x93 -> LATIN SMALL LETTER D WITH CARON
+ u'\u0112' # 0x94 -> LATIN CAPITAL LETTER E WITH MACRON
+ u'\u0113' # 0x95 -> LATIN SMALL LETTER E WITH MACRON
+ u'\u0116' # 0x96 -> LATIN CAPITAL LETTER E WITH DOT ABOVE
+ u'\xf3' # 0x97 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\u0117' # 0x98 -> LATIN SMALL LETTER E WITH DOT ABOVE
+ u'\xf4' # 0x99 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf6' # 0x9a -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf5' # 0x9b -> LATIN SMALL LETTER O WITH TILDE
+ u'\xfa' # 0x9c -> LATIN SMALL LETTER U WITH ACUTE
+ u'\u011a' # 0x9d -> LATIN CAPITAL LETTER E WITH CARON
+ u'\u011b' # 0x9e -> LATIN SMALL LETTER E WITH CARON
+ u'\xfc' # 0x9f -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u2020' # 0xa0 -> DAGGER
+ u'\xb0' # 0xa1 -> DEGREE SIGN
+ u'\u0118' # 0xa2 -> LATIN CAPITAL LETTER E WITH OGONEK
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa7' # 0xa4 -> SECTION SIGN
+ u'\u2022' # 0xa5 -> BULLET
+ u'\xb6' # 0xa6 -> PILCROW SIGN
+ u'\xdf' # 0xa7 -> LATIN SMALL LETTER SHARP S
+ u'\xae' # 0xa8 -> REGISTERED SIGN
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u2122' # 0xaa -> TRADE MARK SIGN
+ u'\u0119' # 0xab -> LATIN SMALL LETTER E WITH OGONEK
+ u'\xa8' # 0xac -> DIAERESIS
+ u'\u2260' # 0xad -> NOT EQUAL TO
+ u'\u0123' # 0xae -> LATIN SMALL LETTER G WITH CEDILLA
+ u'\u012e' # 0xaf -> LATIN CAPITAL LETTER I WITH OGONEK
+ u'\u012f' # 0xb0 -> LATIN SMALL LETTER I WITH OGONEK
+ u'\u012a' # 0xb1 -> LATIN CAPITAL LETTER I WITH MACRON
+ u'\u2264' # 0xb2 -> LESS-THAN OR EQUAL TO
+ u'\u2265' # 0xb3 -> GREATER-THAN OR EQUAL TO
+ u'\u012b' # 0xb4 -> LATIN SMALL LETTER I WITH MACRON
+ u'\u0136' # 0xb5 -> LATIN CAPITAL LETTER K WITH CEDILLA
+ u'\u2202' # 0xb6 -> PARTIAL DIFFERENTIAL
+ u'\u2211' # 0xb7 -> N-ARY SUMMATION
+ u'\u0142' # 0xb8 -> LATIN SMALL LETTER L WITH STROKE
+ u'\u013b' # 0xb9 -> LATIN CAPITAL LETTER L WITH CEDILLA
+ u'\u013c' # 0xba -> LATIN SMALL LETTER L WITH CEDILLA
+ u'\u013d' # 0xbb -> LATIN CAPITAL LETTER L WITH CARON
+ u'\u013e' # 0xbc -> LATIN SMALL LETTER L WITH CARON
+ u'\u0139' # 0xbd -> LATIN CAPITAL LETTER L WITH ACUTE
+ u'\u013a' # 0xbe -> LATIN SMALL LETTER L WITH ACUTE
+ u'\u0145' # 0xbf -> LATIN CAPITAL LETTER N WITH CEDILLA
+ u'\u0146' # 0xc0 -> LATIN SMALL LETTER N WITH CEDILLA
+ u'\u0143' # 0xc1 -> LATIN CAPITAL LETTER N WITH ACUTE
+ u'\xac' # 0xc2 -> NOT SIGN
+ u'\u221a' # 0xc3 -> SQUARE ROOT
+ u'\u0144' # 0xc4 -> LATIN SMALL LETTER N WITH ACUTE
+ u'\u0147' # 0xc5 -> LATIN CAPITAL LETTER N WITH CARON
+ u'\u2206' # 0xc6 -> INCREMENT
+ u'\xab' # 0xc7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0xc8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u2026' # 0xc9 -> HORIZONTAL ELLIPSIS
+ u'\xa0' # 0xca -> NO-BREAK SPACE
+ u'\u0148' # 0xcb -> LATIN SMALL LETTER N WITH CARON
+ u'\u0150' # 0xcc -> LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+ u'\xd5' # 0xcd -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\u0151' # 0xce -> LATIN SMALL LETTER O WITH DOUBLE ACUTE
+ u'\u014c' # 0xcf -> LATIN CAPITAL LETTER O WITH MACRON
+ u'\u2013' # 0xd0 -> EN DASH
+ u'\u2014' # 0xd1 -> EM DASH
+ u'\u201c' # 0xd2 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0xd3 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2018' # 0xd4 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0xd5 -> RIGHT SINGLE QUOTATION MARK
+ u'\xf7' # 0xd6 -> DIVISION SIGN
+ u'\u25ca' # 0xd7 -> LOZENGE
+ u'\u014d' # 0xd8 -> LATIN SMALL LETTER O WITH MACRON
+ u'\u0154' # 0xd9 -> LATIN CAPITAL LETTER R WITH ACUTE
+ u'\u0155' # 0xda -> LATIN SMALL LETTER R WITH ACUTE
+ u'\u0158' # 0xdb -> LATIN CAPITAL LETTER R WITH CARON
+ u'\u2039' # 0xdc -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\u203a' # 0xdd -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\u0159' # 0xde -> LATIN SMALL LETTER R WITH CARON
+ u'\u0156' # 0xdf -> LATIN CAPITAL LETTER R WITH CEDILLA
+ u'\u0157' # 0xe0 -> LATIN SMALL LETTER R WITH CEDILLA
+ u'\u0160' # 0xe1 -> LATIN CAPITAL LETTER S WITH CARON
+ u'\u201a' # 0xe2 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u201e' # 0xe3 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u0161' # 0xe4 -> LATIN SMALL LETTER S WITH CARON
+ u'\u015a' # 0xe5 -> LATIN CAPITAL LETTER S WITH ACUTE
+ u'\u015b' # 0xe6 -> LATIN SMALL LETTER S WITH ACUTE
+ u'\xc1' # 0xe7 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\u0164' # 0xe8 -> LATIN CAPITAL LETTER T WITH CARON
+ u'\u0165' # 0xe9 -> LATIN SMALL LETTER T WITH CARON
+ u'\xcd' # 0xea -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\u017d' # 0xeb -> LATIN CAPITAL LETTER Z WITH CARON
+ u'\u017e' # 0xec -> LATIN SMALL LETTER Z WITH CARON
+ u'\u016a' # 0xed -> LATIN CAPITAL LETTER U WITH MACRON
+ u'\xd3' # 0xee -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xef -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\u016b' # 0xf0 -> LATIN SMALL LETTER U WITH MACRON
+ u'\u016e' # 0xf1 -> LATIN CAPITAL LETTER U WITH RING ABOVE
+ u'\xda' # 0xf2 -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\u016f' # 0xf3 -> LATIN SMALL LETTER U WITH RING ABOVE
+ u'\u0170' # 0xf4 -> LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+ u'\u0171' # 0xf5 -> LATIN SMALL LETTER U WITH DOUBLE ACUTE
+ u'\u0172' # 0xf6 -> LATIN CAPITAL LETTER U WITH OGONEK
+ u'\u0173' # 0xf7 -> LATIN SMALL LETTER U WITH OGONEK
+ u'\xdd' # 0xf8 -> LATIN CAPITAL LETTER Y WITH ACUTE
+ u'\xfd' # 0xf9 -> LATIN SMALL LETTER Y WITH ACUTE
+ u'\u0137' # 0xfa -> LATIN SMALL LETTER K WITH CEDILLA
+ u'\u017b' # 0xfb -> LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ u'\u0141' # 0xfc -> LATIN CAPITAL LETTER L WITH STROKE
+ u'\u017c' # 0xfd -> LATIN SMALL LETTER Z WITH DOT ABOVE
+ u'\u0122' # 0xfe -> LATIN CAPITAL LETTER G WITH CEDILLA
+ u'\u02c7' # 0xff -> CARON
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # CONTROL CHARACTER
- 0x0001: 0x0001, # CONTROL CHARACTER
- 0x0002: 0x0002, # CONTROL CHARACTER
- 0x0003: 0x0003, # CONTROL CHARACTER
- 0x0004: 0x0004, # CONTROL CHARACTER
- 0x0005: 0x0005, # CONTROL CHARACTER
- 0x0006: 0x0006, # CONTROL CHARACTER
- 0x0007: 0x0007, # CONTROL CHARACTER
- 0x0008: 0x0008, # CONTROL CHARACTER
- 0x0009: 0x0009, # CONTROL CHARACTER
- 0x000a: 0x000a, # CONTROL CHARACTER
- 0x000b: 0x000b, # CONTROL CHARACTER
- 0x000c: 0x000c, # CONTROL CHARACTER
- 0x000d: 0x000d, # CONTROL CHARACTER
- 0x000e: 0x000e, # CONTROL CHARACTER
- 0x000f: 0x000f, # CONTROL CHARACTER
- 0x0010: 0x0010, # CONTROL CHARACTER
- 0x0011: 0x0011, # CONTROL CHARACTER
- 0x0012: 0x0012, # CONTROL CHARACTER
- 0x0013: 0x0013, # CONTROL CHARACTER
- 0x0014: 0x0014, # CONTROL CHARACTER
- 0x0015: 0x0015, # CONTROL CHARACTER
- 0x0016: 0x0016, # CONTROL CHARACTER
- 0x0017: 0x0017, # CONTROL CHARACTER
- 0x0018: 0x0018, # CONTROL CHARACTER
- 0x0019: 0x0019, # CONTROL CHARACTER
- 0x001a: 0x001a, # CONTROL CHARACTER
- 0x001b: 0x001b, # CONTROL CHARACTER
- 0x001c: 0x001c, # CONTROL CHARACTER
- 0x001d: 0x001d, # CONTROL CHARACTER
- 0x001e: 0x001e, # CONTROL CHARACTER
- 0x001f: 0x001f, # CONTROL CHARACTER
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # CONTROL CHARACTER
- 0x00a0: 0x00ca, # NO-BREAK SPACE
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a7: 0x00a4, # SECTION SIGN
- 0x00a8: 0x00ac, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00c7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00c2, # NOT SIGN
- 0x00ae: 0x00a8, # REGISTERED SIGN
- 0x00b0: 0x00a1, # DEGREE SIGN
- 0x00b6: 0x00a6, # PILCROW SIGN
- 0x00bb: 0x00c8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c1: 0x00e7, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c4: 0x0080, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c9: 0x0083, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00cd: 0x00ea, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00d3: 0x00ee, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00ef, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00cd, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x0085, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00da: 0x00f2, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00dc: 0x0086, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00dd: 0x00f8, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00df: 0x00a7, # LATIN SMALL LETTER SHARP S
- 0x00e1: 0x0087, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e4: 0x008a, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e9: 0x008e, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ed: 0x0092, # LATIN SMALL LETTER I WITH ACUTE
- 0x00f3: 0x0097, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x0099, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x009b, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x009a, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00d6, # DIVISION SIGN
- 0x00fa: 0x009c, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fc: 0x009f, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00fd: 0x00f9, # LATIN SMALL LETTER Y WITH ACUTE
- 0x0100: 0x0081, # LATIN CAPITAL LETTER A WITH MACRON
- 0x0101: 0x0082, # LATIN SMALL LETTER A WITH MACRON
- 0x0104: 0x0084, # LATIN CAPITAL LETTER A WITH OGONEK
- 0x0105: 0x0088, # LATIN SMALL LETTER A WITH OGONEK
- 0x0106: 0x008c, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x0107: 0x008d, # LATIN SMALL LETTER C WITH ACUTE
- 0x010c: 0x0089, # LATIN CAPITAL LETTER C WITH CARON
- 0x010d: 0x008b, # LATIN SMALL LETTER C WITH CARON
- 0x010e: 0x0091, # LATIN CAPITAL LETTER D WITH CARON
- 0x010f: 0x0093, # LATIN SMALL LETTER D WITH CARON
- 0x0112: 0x0094, # LATIN CAPITAL LETTER E WITH MACRON
- 0x0113: 0x0095, # LATIN SMALL LETTER E WITH MACRON
- 0x0116: 0x0096, # LATIN CAPITAL LETTER E WITH DOT ABOVE
- 0x0117: 0x0098, # LATIN SMALL LETTER E WITH DOT ABOVE
- 0x0118: 0x00a2, # LATIN CAPITAL LETTER E WITH OGONEK
- 0x0119: 0x00ab, # LATIN SMALL LETTER E WITH OGONEK
- 0x011a: 0x009d, # LATIN CAPITAL LETTER E WITH CARON
- 0x011b: 0x009e, # LATIN SMALL LETTER E WITH CARON
- 0x0122: 0x00fe, # LATIN CAPITAL LETTER G WITH CEDILLA
- 0x0123: 0x00ae, # LATIN SMALL LETTER G WITH CEDILLA
- 0x012a: 0x00b1, # LATIN CAPITAL LETTER I WITH MACRON
- 0x012b: 0x00b4, # LATIN SMALL LETTER I WITH MACRON
- 0x012e: 0x00af, # LATIN CAPITAL LETTER I WITH OGONEK
- 0x012f: 0x00b0, # LATIN SMALL LETTER I WITH OGONEK
- 0x0136: 0x00b5, # LATIN CAPITAL LETTER K WITH CEDILLA
- 0x0137: 0x00fa, # LATIN SMALL LETTER K WITH CEDILLA
- 0x0139: 0x00bd, # LATIN CAPITAL LETTER L WITH ACUTE
- 0x013a: 0x00be, # LATIN SMALL LETTER L WITH ACUTE
- 0x013b: 0x00b9, # LATIN CAPITAL LETTER L WITH CEDILLA
- 0x013c: 0x00ba, # LATIN SMALL LETTER L WITH CEDILLA
- 0x013d: 0x00bb, # LATIN CAPITAL LETTER L WITH CARON
- 0x013e: 0x00bc, # LATIN SMALL LETTER L WITH CARON
- 0x0141: 0x00fc, # LATIN CAPITAL LETTER L WITH STROKE
- 0x0142: 0x00b8, # LATIN SMALL LETTER L WITH STROKE
- 0x0143: 0x00c1, # LATIN CAPITAL LETTER N WITH ACUTE
- 0x0144: 0x00c4, # LATIN SMALL LETTER N WITH ACUTE
- 0x0145: 0x00bf, # LATIN CAPITAL LETTER N WITH CEDILLA
- 0x0146: 0x00c0, # LATIN SMALL LETTER N WITH CEDILLA
- 0x0147: 0x00c5, # LATIN CAPITAL LETTER N WITH CARON
- 0x0148: 0x00cb, # LATIN SMALL LETTER N WITH CARON
- 0x014c: 0x00cf, # LATIN CAPITAL LETTER O WITH MACRON
- 0x014d: 0x00d8, # LATIN SMALL LETTER O WITH MACRON
- 0x0150: 0x00cc, # LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
- 0x0151: 0x00ce, # LATIN SMALL LETTER O WITH DOUBLE ACUTE
- 0x0154: 0x00d9, # LATIN CAPITAL LETTER R WITH ACUTE
- 0x0155: 0x00da, # LATIN SMALL LETTER R WITH ACUTE
- 0x0156: 0x00df, # LATIN CAPITAL LETTER R WITH CEDILLA
- 0x0157: 0x00e0, # LATIN SMALL LETTER R WITH CEDILLA
- 0x0158: 0x00db, # LATIN CAPITAL LETTER R WITH CARON
- 0x0159: 0x00de, # LATIN SMALL LETTER R WITH CARON
- 0x015a: 0x00e5, # LATIN CAPITAL LETTER S WITH ACUTE
- 0x015b: 0x00e6, # LATIN SMALL LETTER S WITH ACUTE
- 0x0160: 0x00e1, # LATIN CAPITAL LETTER S WITH CARON
- 0x0161: 0x00e4, # LATIN SMALL LETTER S WITH CARON
- 0x0164: 0x00e8, # LATIN CAPITAL LETTER T WITH CARON
- 0x0165: 0x00e9, # LATIN SMALL LETTER T WITH CARON
- 0x016a: 0x00ed, # LATIN CAPITAL LETTER U WITH MACRON
- 0x016b: 0x00f0, # LATIN SMALL LETTER U WITH MACRON
- 0x016e: 0x00f1, # LATIN CAPITAL LETTER U WITH RING ABOVE
- 0x016f: 0x00f3, # LATIN SMALL LETTER U WITH RING ABOVE
- 0x0170: 0x00f4, # LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
- 0x0171: 0x00f5, # LATIN SMALL LETTER U WITH DOUBLE ACUTE
- 0x0172: 0x00f6, # LATIN CAPITAL LETTER U WITH OGONEK
- 0x0173: 0x00f7, # LATIN SMALL LETTER U WITH OGONEK
- 0x0179: 0x008f, # LATIN CAPITAL LETTER Z WITH ACUTE
- 0x017a: 0x0090, # LATIN SMALL LETTER Z WITH ACUTE
- 0x017b: 0x00fb, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
- 0x017c: 0x00fd, # LATIN SMALL LETTER Z WITH DOT ABOVE
- 0x017d: 0x00eb, # LATIN CAPITAL LETTER Z WITH CARON
- 0x017e: 0x00ec, # LATIN SMALL LETTER Z WITH CARON
- 0x02c7: 0x00ff, # CARON
- 0x2013: 0x00d0, # EN DASH
- 0x2014: 0x00d1, # EM DASH
- 0x2018: 0x00d4, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x00d5, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x00e2, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x00d2, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x00d3, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x00e3, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x00a0, # DAGGER
- 0x2022: 0x00a5, # BULLET
- 0x2026: 0x00c9, # HORIZONTAL ELLIPSIS
- 0x2039: 0x00dc, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x00dd, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x2122: 0x00aa, # TRADE MARK SIGN
- 0x2202: 0x00b6, # PARTIAL DIFFERENTIAL
- 0x2206: 0x00c6, # INCREMENT
- 0x2211: 0x00b7, # N-ARY SUMMATION
- 0x221a: 0x00c3, # SQUARE ROOT
- 0x2260: 0x00ad, # NOT EQUAL TO
- 0x2264: 0x00b2, # LESS-THAN OR EQUAL TO
- 0x2265: 0x00b3, # GREATER-THAN OR EQUAL TO
- 0x25ca: 0x00d7, # LOZENGE
+ 0x0000: 0x00, # CONTROL CHARACTER
+ 0x0001: 0x01, # CONTROL CHARACTER
+ 0x0002: 0x02, # CONTROL CHARACTER
+ 0x0003: 0x03, # CONTROL CHARACTER
+ 0x0004: 0x04, # CONTROL CHARACTER
+ 0x0005: 0x05, # CONTROL CHARACTER
+ 0x0006: 0x06, # CONTROL CHARACTER
+ 0x0007: 0x07, # CONTROL CHARACTER
+ 0x0008: 0x08, # CONTROL CHARACTER
+ 0x0009: 0x09, # CONTROL CHARACTER
+ 0x000a: 0x0a, # CONTROL CHARACTER
+ 0x000b: 0x0b, # CONTROL CHARACTER
+ 0x000c: 0x0c, # CONTROL CHARACTER
+ 0x000d: 0x0d, # CONTROL CHARACTER
+ 0x000e: 0x0e, # CONTROL CHARACTER
+ 0x000f: 0x0f, # CONTROL CHARACTER
+ 0x0010: 0x10, # CONTROL CHARACTER
+ 0x0011: 0x11, # CONTROL CHARACTER
+ 0x0012: 0x12, # CONTROL CHARACTER
+ 0x0013: 0x13, # CONTROL CHARACTER
+ 0x0014: 0x14, # CONTROL CHARACTER
+ 0x0015: 0x15, # CONTROL CHARACTER
+ 0x0016: 0x16, # CONTROL CHARACTER
+ 0x0017: 0x17, # CONTROL CHARACTER
+ 0x0018: 0x18, # CONTROL CHARACTER
+ 0x0019: 0x19, # CONTROL CHARACTER
+ 0x001a: 0x1a, # CONTROL CHARACTER
+ 0x001b: 0x1b, # CONTROL CHARACTER
+ 0x001c: 0x1c, # CONTROL CHARACTER
+ 0x001d: 0x1d, # CONTROL CHARACTER
+ 0x001e: 0x1e, # CONTROL CHARACTER
+ 0x001f: 0x1f, # CONTROL CHARACTER
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # CONTROL CHARACTER
+ 0x00a0: 0xca, # NO-BREAK SPACE
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a7: 0xa4, # SECTION SIGN
+ 0x00a8: 0xac, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xc7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xc2, # NOT SIGN
+ 0x00ae: 0xa8, # REGISTERED SIGN
+ 0x00b0: 0xa1, # DEGREE SIGN
+ 0x00b6: 0xa6, # PILCROW SIGN
+ 0x00bb: 0xc8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00c1: 0xe7, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c4: 0x80, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c9: 0x83, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00cd: 0xea, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00d3: 0xee, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xef, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xcd, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0x85, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00da: 0xf2, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00dc: 0x86, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00dd: 0xf8, # LATIN CAPITAL LETTER Y WITH ACUTE
+ 0x00df: 0xa7, # LATIN SMALL LETTER SHARP S
+ 0x00e1: 0x87, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e4: 0x8a, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e9: 0x8e, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ed: 0x92, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00f3: 0x97, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0x99, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0x9b, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0x9a, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xd6, # DIVISION SIGN
+ 0x00fa: 0x9c, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fc: 0x9f, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00fd: 0xf9, # LATIN SMALL LETTER Y WITH ACUTE
+ 0x0100: 0x81, # LATIN CAPITAL LETTER A WITH MACRON
+ 0x0101: 0x82, # LATIN SMALL LETTER A WITH MACRON
+ 0x0104: 0x84, # LATIN CAPITAL LETTER A WITH OGONEK
+ 0x0105: 0x88, # LATIN SMALL LETTER A WITH OGONEK
+ 0x0106: 0x8c, # LATIN CAPITAL LETTER C WITH ACUTE
+ 0x0107: 0x8d, # LATIN SMALL LETTER C WITH ACUTE
+ 0x010c: 0x89, # LATIN CAPITAL LETTER C WITH CARON
+ 0x010d: 0x8b, # LATIN SMALL LETTER C WITH CARON
+ 0x010e: 0x91, # LATIN CAPITAL LETTER D WITH CARON
+ 0x010f: 0x93, # LATIN SMALL LETTER D WITH CARON
+ 0x0112: 0x94, # LATIN CAPITAL LETTER E WITH MACRON
+ 0x0113: 0x95, # LATIN SMALL LETTER E WITH MACRON
+ 0x0116: 0x96, # LATIN CAPITAL LETTER E WITH DOT ABOVE
+ 0x0117: 0x98, # LATIN SMALL LETTER E WITH DOT ABOVE
+ 0x0118: 0xa2, # LATIN CAPITAL LETTER E WITH OGONEK
+ 0x0119: 0xab, # LATIN SMALL LETTER E WITH OGONEK
+ 0x011a: 0x9d, # LATIN CAPITAL LETTER E WITH CARON
+ 0x011b: 0x9e, # LATIN SMALL LETTER E WITH CARON
+ 0x0122: 0xfe, # LATIN CAPITAL LETTER G WITH CEDILLA
+ 0x0123: 0xae, # LATIN SMALL LETTER G WITH CEDILLA
+ 0x012a: 0xb1, # LATIN CAPITAL LETTER I WITH MACRON
+ 0x012b: 0xb4, # LATIN SMALL LETTER I WITH MACRON
+ 0x012e: 0xaf, # LATIN CAPITAL LETTER I WITH OGONEK
+ 0x012f: 0xb0, # LATIN SMALL LETTER I WITH OGONEK
+ 0x0136: 0xb5, # LATIN CAPITAL LETTER K WITH CEDILLA
+ 0x0137: 0xfa, # LATIN SMALL LETTER K WITH CEDILLA
+ 0x0139: 0xbd, # LATIN CAPITAL LETTER L WITH ACUTE
+ 0x013a: 0xbe, # LATIN SMALL LETTER L WITH ACUTE
+ 0x013b: 0xb9, # LATIN CAPITAL LETTER L WITH CEDILLA
+ 0x013c: 0xba, # LATIN SMALL LETTER L WITH CEDILLA
+ 0x013d: 0xbb, # LATIN CAPITAL LETTER L WITH CARON
+ 0x013e: 0xbc, # LATIN SMALL LETTER L WITH CARON
+ 0x0141: 0xfc, # LATIN CAPITAL LETTER L WITH STROKE
+ 0x0142: 0xb8, # LATIN SMALL LETTER L WITH STROKE
+ 0x0143: 0xc1, # LATIN CAPITAL LETTER N WITH ACUTE
+ 0x0144: 0xc4, # LATIN SMALL LETTER N WITH ACUTE
+ 0x0145: 0xbf, # LATIN CAPITAL LETTER N WITH CEDILLA
+ 0x0146: 0xc0, # LATIN SMALL LETTER N WITH CEDILLA
+ 0x0147: 0xc5, # LATIN CAPITAL LETTER N WITH CARON
+ 0x0148: 0xcb, # LATIN SMALL LETTER N WITH CARON
+ 0x014c: 0xcf, # LATIN CAPITAL LETTER O WITH MACRON
+ 0x014d: 0xd8, # LATIN SMALL LETTER O WITH MACRON
+ 0x0150: 0xcc, # LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+ 0x0151: 0xce, # LATIN SMALL LETTER O WITH DOUBLE ACUTE
+ 0x0154: 0xd9, # LATIN CAPITAL LETTER R WITH ACUTE
+ 0x0155: 0xda, # LATIN SMALL LETTER R WITH ACUTE
+ 0x0156: 0xdf, # LATIN CAPITAL LETTER R WITH CEDILLA
+ 0x0157: 0xe0, # LATIN SMALL LETTER R WITH CEDILLA
+ 0x0158: 0xdb, # LATIN CAPITAL LETTER R WITH CARON
+ 0x0159: 0xde, # LATIN SMALL LETTER R WITH CARON
+ 0x015a: 0xe5, # LATIN CAPITAL LETTER S WITH ACUTE
+ 0x015b: 0xe6, # LATIN SMALL LETTER S WITH ACUTE
+ 0x0160: 0xe1, # LATIN CAPITAL LETTER S WITH CARON
+ 0x0161: 0xe4, # LATIN SMALL LETTER S WITH CARON
+ 0x0164: 0xe8, # LATIN CAPITAL LETTER T WITH CARON
+ 0x0165: 0xe9, # LATIN SMALL LETTER T WITH CARON
+ 0x016a: 0xed, # LATIN CAPITAL LETTER U WITH MACRON
+ 0x016b: 0xf0, # LATIN SMALL LETTER U WITH MACRON
+ 0x016e: 0xf1, # LATIN CAPITAL LETTER U WITH RING ABOVE
+ 0x016f: 0xf3, # LATIN SMALL LETTER U WITH RING ABOVE
+ 0x0170: 0xf4, # LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+ 0x0171: 0xf5, # LATIN SMALL LETTER U WITH DOUBLE ACUTE
+ 0x0172: 0xf6, # LATIN CAPITAL LETTER U WITH OGONEK
+ 0x0173: 0xf7, # LATIN SMALL LETTER U WITH OGONEK
+ 0x0179: 0x8f, # LATIN CAPITAL LETTER Z WITH ACUTE
+ 0x017a: 0x90, # LATIN SMALL LETTER Z WITH ACUTE
+ 0x017b: 0xfb, # LATIN CAPITAL LETTER Z WITH DOT ABOVE
+ 0x017c: 0xfd, # LATIN SMALL LETTER Z WITH DOT ABOVE
+ 0x017d: 0xeb, # LATIN CAPITAL LETTER Z WITH CARON
+ 0x017e: 0xec, # LATIN SMALL LETTER Z WITH CARON
+ 0x02c7: 0xff, # CARON
+ 0x2013: 0xd0, # EN DASH
+ 0x2014: 0xd1, # EM DASH
+ 0x2018: 0xd4, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0xd5, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0xe2, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0xd2, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0xd3, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0xe3, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0xa0, # DAGGER
+ 0x2022: 0xa5, # BULLET
+ 0x2026: 0xc9, # HORIZONTAL ELLIPSIS
+ 0x2039: 0xdc, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0xdd, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x2122: 0xaa, # TRADE MARK SIGN
+ 0x2202: 0xb6, # PARTIAL DIFFERENTIAL
+ 0x2206: 0xc6, # INCREMENT
+ 0x2211: 0xb7, # N-ARY SUMMATION
+ 0x221a: 0xc3, # SQUARE ROOT
+ 0x2260: 0xad, # NOT EQUAL TO
+ 0x2264: 0xb2, # LESS-THAN OR EQUAL TO
+ 0x2265: 0xb3, # GREATER-THAN OR EQUAL TO
+ 0x25ca: 0xd7, # LOZENGE
} \ No newline at end of file
diff --git a/Lib/encodings/mac_croatian.py b/Lib/encodings/mac_croatian.py
index 1448980848e..32a4e37cbd3 100644
--- a/Lib/encodings/mac_croatian.py
+++ b/Lib/encodings/mac_croatian.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/APPLE/CROATIAN.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/APPLE/CROATIAN.TXT' with gencodec.py.
"""#"
@@ -28,654 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x0081: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x0082: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x0083: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x0084: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x0085: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x0086: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x0087: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x0088: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x0089: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x008a: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x008b: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x008c: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x008d: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x008e: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x008f: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x0090: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x0091: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x0092: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x0093: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x0094: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x0095: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x0096: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x0097: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x0098: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x0099: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x009a: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x009b: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x009c: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x009d: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x009e: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x009f: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00a0: 0x2020, # DAGGER
- 0x00a1: 0x00b0, # DEGREE SIGN
- 0x00a4: 0x00a7, # SECTION SIGN
- 0x00a5: 0x2022, # BULLET
- 0x00a6: 0x00b6, # PILCROW SIGN
- 0x00a7: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00a8: 0x00ae, # REGISTERED SIGN
- 0x00a9: 0x0160, # LATIN CAPITAL LETTER S WITH CARON
- 0x00aa: 0x2122, # TRADE MARK SIGN
- 0x00ab: 0x00b4, # ACUTE ACCENT
- 0x00ac: 0x00a8, # DIAERESIS
- 0x00ad: 0x2260, # NOT EQUAL TO
- 0x00ae: 0x017d, # LATIN CAPITAL LETTER Z WITH CARON
- 0x00af: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00b0: 0x221e, # INFINITY
- 0x00b2: 0x2264, # LESS-THAN OR EQUAL TO
- 0x00b3: 0x2265, # GREATER-THAN OR EQUAL TO
- 0x00b4: 0x2206, # INCREMENT
- 0x00b6: 0x2202, # PARTIAL DIFFERENTIAL
- 0x00b7: 0x2211, # N-ARY SUMMATION
- 0x00b8: 0x220f, # N-ARY PRODUCT
- 0x00b9: 0x0161, # LATIN SMALL LETTER S WITH CARON
- 0x00ba: 0x222b, # INTEGRAL
- 0x00bb: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x00bc: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x00bd: 0x03a9, # GREEK CAPITAL LETTER OMEGA
- 0x00be: 0x017e, # LATIN SMALL LETTER Z WITH CARON
- 0x00bf: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00c0: 0x00bf, # INVERTED QUESTION MARK
- 0x00c1: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00c2: 0x00ac, # NOT SIGN
- 0x00c3: 0x221a, # SQUARE ROOT
- 0x00c4: 0x0192, # LATIN SMALL LETTER F WITH HOOK
- 0x00c5: 0x2248, # ALMOST EQUAL TO
- 0x00c6: 0x0106, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x00c7: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c8: 0x010c, # LATIN CAPITAL LETTER C WITH CARON
- 0x00c9: 0x2026, # HORIZONTAL ELLIPSIS
- 0x00ca: 0x00a0, # NO-BREAK SPACE
- 0x00cb: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00cc: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00cd: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00ce: 0x0152, # LATIN CAPITAL LIGATURE OE
- 0x00cf: 0x0153, # LATIN SMALL LIGATURE OE
- 0x00d0: 0x0110, # LATIN CAPITAL LETTER D WITH STROKE
- 0x00d1: 0x2014, # EM DASH
- 0x00d2: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x00d3: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x00d4: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x00d5: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x00d6: 0x00f7, # DIVISION SIGN
- 0x00d7: 0x25ca, # LOZENGE
- 0x00d8: 0xf8ff, # Apple logo
- 0x00d9: 0x00a9, # COPYRIGHT SIGN
- 0x00da: 0x2044, # FRACTION SLASH
- 0x00db: 0x20ac, # EURO SIGN
- 0x00dc: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x00dd: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x00de: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00df: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00e0: 0x2013, # EN DASH
- 0x00e1: 0x00b7, # MIDDLE DOT
- 0x00e2: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x00e3: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x00e4: 0x2030, # PER MILLE SIGN
- 0x00e5: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00e6: 0x0107, # LATIN SMALL LETTER C WITH ACUTE
- 0x00e7: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00e8: 0x010d, # LATIN SMALL LETTER C WITH CARON
- 0x00e9: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00ea: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00eb: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00ec: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00ed: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00ee: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00ef: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00f0: 0x0111, # LATIN SMALL LETTER D WITH STROKE
- 0x00f1: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00f2: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00f3: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00f4: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00f5: 0x0131, # LATIN SMALL LETTER DOTLESS I
- 0x00f6: 0x02c6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x00f7: 0x02dc, # SMALL TILDE
- 0x00f8: 0x00af, # MACRON
- 0x00f9: 0x03c0, # GREEK SMALL LETTER PI
- 0x00fa: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00fb: 0x02da, # RING ABOVE
- 0x00fc: 0x00b8, # CEDILLA
- 0x00fd: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00fe: 0x00e6, # LATIN SMALL LETTER AE
- 0x00ff: 0x02c7, # CARON
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> CONTROL CHARACTER
- u'\x01' # 0x0001 -> CONTROL CHARACTER
- u'\x02' # 0x0002 -> CONTROL CHARACTER
- u'\x03' # 0x0003 -> CONTROL CHARACTER
- u'\x04' # 0x0004 -> CONTROL CHARACTER
- u'\x05' # 0x0005 -> CONTROL CHARACTER
- u'\x06' # 0x0006 -> CONTROL CHARACTER
- u'\x07' # 0x0007 -> CONTROL CHARACTER
- u'\x08' # 0x0008 -> CONTROL CHARACTER
- u'\t' # 0x0009 -> CONTROL CHARACTER
- u'\n' # 0x000a -> CONTROL CHARACTER
- u'\x0b' # 0x000b -> CONTROL CHARACTER
- u'\x0c' # 0x000c -> CONTROL CHARACTER
- u'\r' # 0x000d -> CONTROL CHARACTER
- u'\x0e' # 0x000e -> CONTROL CHARACTER
- u'\x0f' # 0x000f -> CONTROL CHARACTER
- u'\x10' # 0x0010 -> CONTROL CHARACTER
- u'\x11' # 0x0011 -> CONTROL CHARACTER
- u'\x12' # 0x0012 -> CONTROL CHARACTER
- u'\x13' # 0x0013 -> CONTROL CHARACTER
- u'\x14' # 0x0014 -> CONTROL CHARACTER
- u'\x15' # 0x0015 -> CONTROL CHARACTER
- u'\x16' # 0x0016 -> CONTROL CHARACTER
- u'\x17' # 0x0017 -> CONTROL CHARACTER
- u'\x18' # 0x0018 -> CONTROL CHARACTER
- u'\x19' # 0x0019 -> CONTROL CHARACTER
- u'\x1a' # 0x001a -> CONTROL CHARACTER
- u'\x1b' # 0x001b -> CONTROL CHARACTER
- u'\x1c' # 0x001c -> CONTROL CHARACTER
- u'\x1d' # 0x001d -> CONTROL CHARACTER
- u'\x1e' # 0x001e -> CONTROL CHARACTER
- u'\x1f' # 0x001f -> CONTROL CHARACTER
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> CONTROL CHARACTER
- u'\xc4' # 0x0080 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x0081 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc7' # 0x0082 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc9' # 0x0083 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xd1' # 0x0084 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd6' # 0x0085 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xdc' # 0x0086 -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xe1' # 0x0087 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe0' # 0x0088 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe2' # 0x0089 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe4' # 0x008a -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe3' # 0x008b -> LATIN SMALL LETTER A WITH TILDE
- u'\xe5' # 0x008c -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe7' # 0x008d -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe9' # 0x008e -> LATIN SMALL LETTER E WITH ACUTE
- u'\xe8' # 0x008f -> LATIN SMALL LETTER E WITH GRAVE
- u'\xea' # 0x0090 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x0091 -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xed' # 0x0092 -> LATIN SMALL LETTER I WITH ACUTE
- u'\xec' # 0x0093 -> LATIN SMALL LETTER I WITH GRAVE
- u'\xee' # 0x0094 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x0095 -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xf1' # 0x0096 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf3' # 0x0097 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf2' # 0x0098 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf4' # 0x0099 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf6' # 0x009a -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf5' # 0x009b -> LATIN SMALL LETTER O WITH TILDE
- u'\xfa' # 0x009c -> LATIN SMALL LETTER U WITH ACUTE
- u'\xf9' # 0x009d -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfb' # 0x009e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x009f -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u2020' # 0x00a0 -> DAGGER
- u'\xb0' # 0x00a1 -> DEGREE SIGN
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa7' # 0x00a4 -> SECTION SIGN
- u'\u2022' # 0x00a5 -> BULLET
- u'\xb6' # 0x00a6 -> PILCROW SIGN
- u'\xdf' # 0x00a7 -> LATIN SMALL LETTER SHARP S
- u'\xae' # 0x00a8 -> REGISTERED SIGN
- u'\u0160' # 0x00a9 -> LATIN CAPITAL LETTER S WITH CARON
- u'\u2122' # 0x00aa -> TRADE MARK SIGN
- u'\xb4' # 0x00ab -> ACUTE ACCENT
- u'\xa8' # 0x00ac -> DIAERESIS
- u'\u2260' # 0x00ad -> NOT EQUAL TO
- u'\u017d' # 0x00ae -> LATIN CAPITAL LETTER Z WITH CARON
- u'\xd8' # 0x00af -> LATIN CAPITAL LETTER O WITH STROKE
- u'\u221e' # 0x00b0 -> INFINITY
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\u2264' # 0x00b2 -> LESS-THAN OR EQUAL TO
- u'\u2265' # 0x00b3 -> GREATER-THAN OR EQUAL TO
- u'\u2206' # 0x00b4 -> INCREMENT
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\u2202' # 0x00b6 -> PARTIAL DIFFERENTIAL
- u'\u2211' # 0x00b7 -> N-ARY SUMMATION
- u'\u220f' # 0x00b8 -> N-ARY PRODUCT
- u'\u0161' # 0x00b9 -> LATIN SMALL LETTER S WITH CARON
- u'\u222b' # 0x00ba -> INTEGRAL
- u'\xaa' # 0x00bb -> FEMININE ORDINAL INDICATOR
- u'\xba' # 0x00bc -> MASCULINE ORDINAL INDICATOR
- u'\u03a9' # 0x00bd -> GREEK CAPITAL LETTER OMEGA
- u'\u017e' # 0x00be -> LATIN SMALL LETTER Z WITH CARON
- u'\xf8' # 0x00bf -> LATIN SMALL LETTER O WITH STROKE
- u'\xbf' # 0x00c0 -> INVERTED QUESTION MARK
- u'\xa1' # 0x00c1 -> INVERTED EXCLAMATION MARK
- u'\xac' # 0x00c2 -> NOT SIGN
- u'\u221a' # 0x00c3 -> SQUARE ROOT
- u'\u0192' # 0x00c4 -> LATIN SMALL LETTER F WITH HOOK
- u'\u2248' # 0x00c5 -> ALMOST EQUAL TO
- u'\u0106' # 0x00c6 -> LATIN CAPITAL LETTER C WITH ACUTE
- u'\xab' # 0x00c7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u010c' # 0x00c8 -> LATIN CAPITAL LETTER C WITH CARON
- u'\u2026' # 0x00c9 -> HORIZONTAL ELLIPSIS
- u'\xa0' # 0x00ca -> NO-BREAK SPACE
- u'\xc0' # 0x00cb -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc3' # 0x00cc -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xd5' # 0x00cd -> LATIN CAPITAL LETTER O WITH TILDE
- u'\u0152' # 0x00ce -> LATIN CAPITAL LIGATURE OE
- u'\u0153' # 0x00cf -> LATIN SMALL LIGATURE OE
- u'\u0110' # 0x00d0 -> LATIN CAPITAL LETTER D WITH STROKE
- u'\u2014' # 0x00d1 -> EM DASH
- u'\u201c' # 0x00d2 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x00d3 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2018' # 0x00d4 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x00d5 -> RIGHT SINGLE QUOTATION MARK
- u'\xf7' # 0x00d6 -> DIVISION SIGN
- u'\u25ca' # 0x00d7 -> LOZENGE
- u'\uf8ff' # 0x00d8 -> Apple logo
- u'\xa9' # 0x00d9 -> COPYRIGHT SIGN
- u'\u2044' # 0x00da -> FRACTION SLASH
- u'\u20ac' # 0x00db -> EURO SIGN
- u'\u2039' # 0x00dc -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\u203a' # 0x00dd -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\xc6' # 0x00de -> LATIN CAPITAL LETTER AE
- u'\xbb' # 0x00df -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u2013' # 0x00e0 -> EN DASH
- u'\xb7' # 0x00e1 -> MIDDLE DOT
- u'\u201a' # 0x00e2 -> SINGLE LOW-9 QUOTATION MARK
- u'\u201e' # 0x00e3 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2030' # 0x00e4 -> PER MILLE SIGN
- u'\xc2' # 0x00e5 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\u0107' # 0x00e6 -> LATIN SMALL LETTER C WITH ACUTE
- u'\xc1' # 0x00e7 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\u010d' # 0x00e8 -> LATIN SMALL LETTER C WITH CARON
- u'\xc8' # 0x00e9 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xcd' # 0x00ea -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00eb -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00ec -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\xcc' # 0x00ed -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xd3' # 0x00ee -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00ef -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\u0111' # 0x00f0 -> LATIN SMALL LETTER D WITH STROKE
- u'\xd2' # 0x00f1 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xda' # 0x00f2 -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00f3 -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xd9' # 0x00f4 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\u0131' # 0x00f5 -> LATIN SMALL LETTER DOTLESS I
- u'\u02c6' # 0x00f6 -> MODIFIER LETTER CIRCUMFLEX ACCENT
- u'\u02dc' # 0x00f7 -> SMALL TILDE
- u'\xaf' # 0x00f8 -> MACRON
- u'\u03c0' # 0x00f9 -> GREEK SMALL LETTER PI
- u'\xcb' # 0x00fa -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\u02da' # 0x00fb -> RING ABOVE
- u'\xb8' # 0x00fc -> CEDILLA
- u'\xca' # 0x00fd -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xe6' # 0x00fe -> LATIN SMALL LETTER AE
- u'\u02c7' # 0x00ff -> CARON
+ u'\x00' # 0x00 -> CONTROL CHARACTER
+ u'\x01' # 0x01 -> CONTROL CHARACTER
+ u'\x02' # 0x02 -> CONTROL CHARACTER
+ u'\x03' # 0x03 -> CONTROL CHARACTER
+ u'\x04' # 0x04 -> CONTROL CHARACTER
+ u'\x05' # 0x05 -> CONTROL CHARACTER
+ u'\x06' # 0x06 -> CONTROL CHARACTER
+ u'\x07' # 0x07 -> CONTROL CHARACTER
+ u'\x08' # 0x08 -> CONTROL CHARACTER
+ u'\t' # 0x09 -> CONTROL CHARACTER
+ u'\n' # 0x0a -> CONTROL CHARACTER
+ u'\x0b' # 0x0b -> CONTROL CHARACTER
+ u'\x0c' # 0x0c -> CONTROL CHARACTER
+ u'\r' # 0x0d -> CONTROL CHARACTER
+ u'\x0e' # 0x0e -> CONTROL CHARACTER
+ u'\x0f' # 0x0f -> CONTROL CHARACTER
+ u'\x10' # 0x10 -> CONTROL CHARACTER
+ u'\x11' # 0x11 -> CONTROL CHARACTER
+ u'\x12' # 0x12 -> CONTROL CHARACTER
+ u'\x13' # 0x13 -> CONTROL CHARACTER
+ u'\x14' # 0x14 -> CONTROL CHARACTER
+ u'\x15' # 0x15 -> CONTROL CHARACTER
+ u'\x16' # 0x16 -> CONTROL CHARACTER
+ u'\x17' # 0x17 -> CONTROL CHARACTER
+ u'\x18' # 0x18 -> CONTROL CHARACTER
+ u'\x19' # 0x19 -> CONTROL CHARACTER
+ u'\x1a' # 0x1a -> CONTROL CHARACTER
+ u'\x1b' # 0x1b -> CONTROL CHARACTER
+ u'\x1c' # 0x1c -> CONTROL CHARACTER
+ u'\x1d' # 0x1d -> CONTROL CHARACTER
+ u'\x1e' # 0x1e -> CONTROL CHARACTER
+ u'\x1f' # 0x1f -> CONTROL CHARACTER
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> CONTROL CHARACTER
+ u'\xc4' # 0x80 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0x81 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc7' # 0x82 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc9' # 0x83 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xd1' # 0x84 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd6' # 0x85 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xdc' # 0x86 -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xe1' # 0x87 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe0' # 0x88 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe2' # 0x89 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe4' # 0x8a -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe3' # 0x8b -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe5' # 0x8c -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe7' # 0x8d -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe9' # 0x8e -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xe8' # 0x8f -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xea' # 0x90 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0x91 -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xed' # 0x92 -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xec' # 0x93 -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xee' # 0x94 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0x95 -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xf1' # 0x96 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf3' # 0x97 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf2' # 0x98 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf4' # 0x99 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf6' # 0x9a -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf5' # 0x9b -> LATIN SMALL LETTER O WITH TILDE
+ u'\xfa' # 0x9c -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xf9' # 0x9d -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfb' # 0x9e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0x9f -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u2020' # 0xa0 -> DAGGER
+ u'\xb0' # 0xa1 -> DEGREE SIGN
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa7' # 0xa4 -> SECTION SIGN
+ u'\u2022' # 0xa5 -> BULLET
+ u'\xb6' # 0xa6 -> PILCROW SIGN
+ u'\xdf' # 0xa7 -> LATIN SMALL LETTER SHARP S
+ u'\xae' # 0xa8 -> REGISTERED SIGN
+ u'\u0160' # 0xa9 -> LATIN CAPITAL LETTER S WITH CARON
+ u'\u2122' # 0xaa -> TRADE MARK SIGN
+ u'\xb4' # 0xab -> ACUTE ACCENT
+ u'\xa8' # 0xac -> DIAERESIS
+ u'\u2260' # 0xad -> NOT EQUAL TO
+ u'\u017d' # 0xae -> LATIN CAPITAL LETTER Z WITH CARON
+ u'\xd8' # 0xaf -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\u221e' # 0xb0 -> INFINITY
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\u2264' # 0xb2 -> LESS-THAN OR EQUAL TO
+ u'\u2265' # 0xb3 -> GREATER-THAN OR EQUAL TO
+ u'\u2206' # 0xb4 -> INCREMENT
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\u2202' # 0xb6 -> PARTIAL DIFFERENTIAL
+ u'\u2211' # 0xb7 -> N-ARY SUMMATION
+ u'\u220f' # 0xb8 -> N-ARY PRODUCT
+ u'\u0161' # 0xb9 -> LATIN SMALL LETTER S WITH CARON
+ u'\u222b' # 0xba -> INTEGRAL
+ u'\xaa' # 0xbb -> FEMININE ORDINAL INDICATOR
+ u'\xba' # 0xbc -> MASCULINE ORDINAL INDICATOR
+ u'\u03a9' # 0xbd -> GREEK CAPITAL LETTER OMEGA
+ u'\u017e' # 0xbe -> LATIN SMALL LETTER Z WITH CARON
+ u'\xf8' # 0xbf -> LATIN SMALL LETTER O WITH STROKE
+ u'\xbf' # 0xc0 -> INVERTED QUESTION MARK
+ u'\xa1' # 0xc1 -> INVERTED EXCLAMATION MARK
+ u'\xac' # 0xc2 -> NOT SIGN
+ u'\u221a' # 0xc3 -> SQUARE ROOT
+ u'\u0192' # 0xc4 -> LATIN SMALL LETTER F WITH HOOK
+ u'\u2248' # 0xc5 -> ALMOST EQUAL TO
+ u'\u0106' # 0xc6 -> LATIN CAPITAL LETTER C WITH ACUTE
+ u'\xab' # 0xc7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u010c' # 0xc8 -> LATIN CAPITAL LETTER C WITH CARON
+ u'\u2026' # 0xc9 -> HORIZONTAL ELLIPSIS
+ u'\xa0' # 0xca -> NO-BREAK SPACE
+ u'\xc0' # 0xcb -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc3' # 0xcc -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xd5' # 0xcd -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\u0152' # 0xce -> LATIN CAPITAL LIGATURE OE
+ u'\u0153' # 0xcf -> LATIN SMALL LIGATURE OE
+ u'\u0110' # 0xd0 -> LATIN CAPITAL LETTER D WITH STROKE
+ u'\u2014' # 0xd1 -> EM DASH
+ u'\u201c' # 0xd2 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0xd3 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2018' # 0xd4 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0xd5 -> RIGHT SINGLE QUOTATION MARK
+ u'\xf7' # 0xd6 -> DIVISION SIGN
+ u'\u25ca' # 0xd7 -> LOZENGE
+ u'\uf8ff' # 0xd8 -> Apple logo
+ u'\xa9' # 0xd9 -> COPYRIGHT SIGN
+ u'\u2044' # 0xda -> FRACTION SLASH
+ u'\u20ac' # 0xdb -> EURO SIGN
+ u'\u2039' # 0xdc -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\u203a' # 0xdd -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\xc6' # 0xde -> LATIN CAPITAL LETTER AE
+ u'\xbb' # 0xdf -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u2013' # 0xe0 -> EN DASH
+ u'\xb7' # 0xe1 -> MIDDLE DOT
+ u'\u201a' # 0xe2 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u201e' # 0xe3 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2030' # 0xe4 -> PER MILLE SIGN
+ u'\xc2' # 0xe5 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\u0107' # 0xe6 -> LATIN SMALL LETTER C WITH ACUTE
+ u'\xc1' # 0xe7 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\u010d' # 0xe8 -> LATIN SMALL LETTER C WITH CARON
+ u'\xc8' # 0xe9 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xcd' # 0xea -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xeb -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xec -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xcc' # 0xed -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xd3' # 0xee -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xef -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\u0111' # 0xf0 -> LATIN SMALL LETTER D WITH STROKE
+ u'\xd2' # 0xf1 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xda' # 0xf2 -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xf3 -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xd9' # 0xf4 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\u0131' # 0xf5 -> LATIN SMALL LETTER DOTLESS I
+ u'\u02c6' # 0xf6 -> MODIFIER LETTER CIRCUMFLEX ACCENT
+ u'\u02dc' # 0xf7 -> SMALL TILDE
+ u'\xaf' # 0xf8 -> MACRON
+ u'\u03c0' # 0xf9 -> GREEK SMALL LETTER PI
+ u'\xcb' # 0xfa -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\u02da' # 0xfb -> RING ABOVE
+ u'\xb8' # 0xfc -> CEDILLA
+ u'\xca' # 0xfd -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xe6' # 0xfe -> LATIN SMALL LETTER AE
+ u'\u02c7' # 0xff -> CARON
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # CONTROL CHARACTER
- 0x0001: 0x0001, # CONTROL CHARACTER
- 0x0002: 0x0002, # CONTROL CHARACTER
- 0x0003: 0x0003, # CONTROL CHARACTER
- 0x0004: 0x0004, # CONTROL CHARACTER
- 0x0005: 0x0005, # CONTROL CHARACTER
- 0x0006: 0x0006, # CONTROL CHARACTER
- 0x0007: 0x0007, # CONTROL CHARACTER
- 0x0008: 0x0008, # CONTROL CHARACTER
- 0x0009: 0x0009, # CONTROL CHARACTER
- 0x000a: 0x000a, # CONTROL CHARACTER
- 0x000b: 0x000b, # CONTROL CHARACTER
- 0x000c: 0x000c, # CONTROL CHARACTER
- 0x000d: 0x000d, # CONTROL CHARACTER
- 0x000e: 0x000e, # CONTROL CHARACTER
- 0x000f: 0x000f, # CONTROL CHARACTER
- 0x0010: 0x0010, # CONTROL CHARACTER
- 0x0011: 0x0011, # CONTROL CHARACTER
- 0x0012: 0x0012, # CONTROL CHARACTER
- 0x0013: 0x0013, # CONTROL CHARACTER
- 0x0014: 0x0014, # CONTROL CHARACTER
- 0x0015: 0x0015, # CONTROL CHARACTER
- 0x0016: 0x0016, # CONTROL CHARACTER
- 0x0017: 0x0017, # CONTROL CHARACTER
- 0x0018: 0x0018, # CONTROL CHARACTER
- 0x0019: 0x0019, # CONTROL CHARACTER
- 0x001a: 0x001a, # CONTROL CHARACTER
- 0x001b: 0x001b, # CONTROL CHARACTER
- 0x001c: 0x001c, # CONTROL CHARACTER
- 0x001d: 0x001d, # CONTROL CHARACTER
- 0x001e: 0x001e, # CONTROL CHARACTER
- 0x001f: 0x001f, # CONTROL CHARACTER
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # CONTROL CHARACTER
- 0x00a0: 0x00ca, # NO-BREAK SPACE
- 0x00a1: 0x00c1, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a7: 0x00a4, # SECTION SIGN
- 0x00a8: 0x00ac, # DIAERESIS
- 0x00a9: 0x00d9, # COPYRIGHT SIGN
- 0x00aa: 0x00bb, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x00c7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00c2, # NOT SIGN
- 0x00ae: 0x00a8, # REGISTERED SIGN
- 0x00af: 0x00f8, # MACRON
- 0x00b0: 0x00a1, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b4: 0x00ab, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00a6, # PILCROW SIGN
- 0x00b7: 0x00e1, # MIDDLE DOT
- 0x00b8: 0x00fc, # CEDILLA
- 0x00ba: 0x00bc, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x00df, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bf: 0x00c0, # INVERTED QUESTION MARK
- 0x00c0: 0x00cb, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00e7, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00e5, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00cc, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x0080, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x0081, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00de, # LATIN CAPITAL LETTER AE
- 0x00c7: 0x0082, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00e9, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x0083, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00fd, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00fa, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00ed, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00ea, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00eb, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00ec, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d1: 0x0084, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00f1, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00ee, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00ef, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00cd, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x0085, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d8: 0x00af, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00f4, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00f2, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00f3, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x0086, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00a7, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x0088, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x0087, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x0089, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x008b, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x008a, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x008c, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00fe, # LATIN SMALL LETTER AE
- 0x00e7: 0x008d, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x008f, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x008e, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x0090, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x0091, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x0093, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x0092, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x0094, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x0095, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f1: 0x0096, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x0098, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x0097, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x0099, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x009b, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x009a, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00d6, # DIVISION SIGN
- 0x00f8: 0x00bf, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x009d, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x009c, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x009e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x009f, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x0106: 0x00c6, # LATIN CAPITAL LETTER C WITH ACUTE
- 0x0107: 0x00e6, # LATIN SMALL LETTER C WITH ACUTE
- 0x010c: 0x00c8, # LATIN CAPITAL LETTER C WITH CARON
- 0x010d: 0x00e8, # LATIN SMALL LETTER C WITH CARON
- 0x0110: 0x00d0, # LATIN CAPITAL LETTER D WITH STROKE
- 0x0111: 0x00f0, # LATIN SMALL LETTER D WITH STROKE
- 0x0131: 0x00f5, # LATIN SMALL LETTER DOTLESS I
- 0x0152: 0x00ce, # LATIN CAPITAL LIGATURE OE
- 0x0153: 0x00cf, # LATIN SMALL LIGATURE OE
- 0x0160: 0x00a9, # LATIN CAPITAL LETTER S WITH CARON
- 0x0161: 0x00b9, # LATIN SMALL LETTER S WITH CARON
- 0x017d: 0x00ae, # LATIN CAPITAL LETTER Z WITH CARON
- 0x017e: 0x00be, # LATIN SMALL LETTER Z WITH CARON
- 0x0192: 0x00c4, # LATIN SMALL LETTER F WITH HOOK
- 0x02c6: 0x00f6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x02c7: 0x00ff, # CARON
- 0x02da: 0x00fb, # RING ABOVE
- 0x02dc: 0x00f7, # SMALL TILDE
- 0x03a9: 0x00bd, # GREEK CAPITAL LETTER OMEGA
- 0x03c0: 0x00f9, # GREEK SMALL LETTER PI
- 0x2013: 0x00e0, # EN DASH
- 0x2014: 0x00d1, # EM DASH
- 0x2018: 0x00d4, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x00d5, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x00e2, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x00d2, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x00d3, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x00e3, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x00a0, # DAGGER
- 0x2022: 0x00a5, # BULLET
- 0x2026: 0x00c9, # HORIZONTAL ELLIPSIS
- 0x2030: 0x00e4, # PER MILLE SIGN
- 0x2039: 0x00dc, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x00dd, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x2044: 0x00da, # FRACTION SLASH
- 0x20ac: 0x00db, # EURO SIGN
- 0x2122: 0x00aa, # TRADE MARK SIGN
- 0x2202: 0x00b6, # PARTIAL DIFFERENTIAL
- 0x2206: 0x00b4, # INCREMENT
- 0x220f: 0x00b8, # N-ARY PRODUCT
- 0x2211: 0x00b7, # N-ARY SUMMATION
- 0x221a: 0x00c3, # SQUARE ROOT
- 0x221e: 0x00b0, # INFINITY
- 0x222b: 0x00ba, # INTEGRAL
- 0x2248: 0x00c5, # ALMOST EQUAL TO
- 0x2260: 0x00ad, # NOT EQUAL TO
- 0x2264: 0x00b2, # LESS-THAN OR EQUAL TO
- 0x2265: 0x00b3, # GREATER-THAN OR EQUAL TO
- 0x25ca: 0x00d7, # LOZENGE
- 0xf8ff: 0x00d8, # Apple logo
+ 0x0000: 0x00, # CONTROL CHARACTER
+ 0x0001: 0x01, # CONTROL CHARACTER
+ 0x0002: 0x02, # CONTROL CHARACTER
+ 0x0003: 0x03, # CONTROL CHARACTER
+ 0x0004: 0x04, # CONTROL CHARACTER
+ 0x0005: 0x05, # CONTROL CHARACTER
+ 0x0006: 0x06, # CONTROL CHARACTER
+ 0x0007: 0x07, # CONTROL CHARACTER
+ 0x0008: 0x08, # CONTROL CHARACTER
+ 0x0009: 0x09, # CONTROL CHARACTER
+ 0x000a: 0x0a, # CONTROL CHARACTER
+ 0x000b: 0x0b, # CONTROL CHARACTER
+ 0x000c: 0x0c, # CONTROL CHARACTER
+ 0x000d: 0x0d, # CONTROL CHARACTER
+ 0x000e: 0x0e, # CONTROL CHARACTER
+ 0x000f: 0x0f, # CONTROL CHARACTER
+ 0x0010: 0x10, # CONTROL CHARACTER
+ 0x0011: 0x11, # CONTROL CHARACTER
+ 0x0012: 0x12, # CONTROL CHARACTER
+ 0x0013: 0x13, # CONTROL CHARACTER
+ 0x0014: 0x14, # CONTROL CHARACTER
+ 0x0015: 0x15, # CONTROL CHARACTER
+ 0x0016: 0x16, # CONTROL CHARACTER
+ 0x0017: 0x17, # CONTROL CHARACTER
+ 0x0018: 0x18, # CONTROL CHARACTER
+ 0x0019: 0x19, # CONTROL CHARACTER
+ 0x001a: 0x1a, # CONTROL CHARACTER
+ 0x001b: 0x1b, # CONTROL CHARACTER
+ 0x001c: 0x1c, # CONTROL CHARACTER
+ 0x001d: 0x1d, # CONTROL CHARACTER
+ 0x001e: 0x1e, # CONTROL CHARACTER
+ 0x001f: 0x1f, # CONTROL CHARACTER
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # CONTROL CHARACTER
+ 0x00a0: 0xca, # NO-BREAK SPACE
+ 0x00a1: 0xc1, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a7: 0xa4, # SECTION SIGN
+ 0x00a8: 0xac, # DIAERESIS
+ 0x00a9: 0xd9, # COPYRIGHT SIGN
+ 0x00aa: 0xbb, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0xc7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xc2, # NOT SIGN
+ 0x00ae: 0xa8, # REGISTERED SIGN
+ 0x00af: 0xf8, # MACRON
+ 0x00b0: 0xa1, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b4: 0xab, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xa6, # PILCROW SIGN
+ 0x00b7: 0xe1, # MIDDLE DOT
+ 0x00b8: 0xfc, # CEDILLA
+ 0x00ba: 0xbc, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0xdf, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bf: 0xc0, # INVERTED QUESTION MARK
+ 0x00c0: 0xcb, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xe7, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xe5, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xcc, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0x80, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0x81, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xde, # LATIN CAPITAL LETTER AE
+ 0x00c7: 0x82, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xe9, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0x83, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xfd, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xfa, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xed, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xea, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xeb, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xec, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d1: 0x84, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xf1, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xee, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xef, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xcd, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0x85, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d8: 0xaf, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xf4, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xf2, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xf3, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0x86, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xa7, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0x88, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0x87, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0x89, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0x8b, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0x8a, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0x8c, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xfe, # LATIN SMALL LETTER AE
+ 0x00e7: 0x8d, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0x8f, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0x8e, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0x90, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0x91, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0x93, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0x92, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0x94, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0x95, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f1: 0x96, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0x98, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0x97, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0x99, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0x9b, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0x9a, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xd6, # DIVISION SIGN
+ 0x00f8: 0xbf, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0x9d, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0x9c, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0x9e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0x9f, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x0106: 0xc6, # LATIN CAPITAL LETTER C WITH ACUTE
+ 0x0107: 0xe6, # LATIN SMALL LETTER C WITH ACUTE
+ 0x010c: 0xc8, # LATIN CAPITAL LETTER C WITH CARON
+ 0x010d: 0xe8, # LATIN SMALL LETTER C WITH CARON
+ 0x0110: 0xd0, # LATIN CAPITAL LETTER D WITH STROKE
+ 0x0111: 0xf0, # LATIN SMALL LETTER D WITH STROKE
+ 0x0131: 0xf5, # LATIN SMALL LETTER DOTLESS I
+ 0x0152: 0xce, # LATIN CAPITAL LIGATURE OE
+ 0x0153: 0xcf, # LATIN SMALL LIGATURE OE
+ 0x0160: 0xa9, # LATIN CAPITAL LETTER S WITH CARON
+ 0x0161: 0xb9, # LATIN SMALL LETTER S WITH CARON
+ 0x017d: 0xae, # LATIN CAPITAL LETTER Z WITH CARON
+ 0x017e: 0xbe, # LATIN SMALL LETTER Z WITH CARON
+ 0x0192: 0xc4, # LATIN SMALL LETTER F WITH HOOK
+ 0x02c6: 0xf6, # MODIFIER LETTER CIRCUMFLEX ACCENT
+ 0x02c7: 0xff, # CARON
+ 0x02da: 0xfb, # RING ABOVE
+ 0x02dc: 0xf7, # SMALL TILDE
+ 0x03a9: 0xbd, # GREEK CAPITAL LETTER OMEGA
+ 0x03c0: 0xf9, # GREEK SMALL LETTER PI
+ 0x2013: 0xe0, # EN DASH
+ 0x2014: 0xd1, # EM DASH
+ 0x2018: 0xd4, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0xd5, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0xe2, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0xd2, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0xd3, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0xe3, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0xa0, # DAGGER
+ 0x2022: 0xa5, # BULLET
+ 0x2026: 0xc9, # HORIZONTAL ELLIPSIS
+ 0x2030: 0xe4, # PER MILLE SIGN
+ 0x2039: 0xdc, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0xdd, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x2044: 0xda, # FRACTION SLASH
+ 0x20ac: 0xdb, # EURO SIGN
+ 0x2122: 0xaa, # TRADE MARK SIGN
+ 0x2202: 0xb6, # PARTIAL DIFFERENTIAL
+ 0x2206: 0xb4, # INCREMENT
+ 0x220f: 0xb8, # N-ARY PRODUCT
+ 0x2211: 0xb7, # N-ARY SUMMATION
+ 0x221a: 0xc3, # SQUARE ROOT
+ 0x221e: 0xb0, # INFINITY
+ 0x222b: 0xba, # INTEGRAL
+ 0x2248: 0xc5, # ALMOST EQUAL TO
+ 0x2260: 0xad, # NOT EQUAL TO
+ 0x2264: 0xb2, # LESS-THAN OR EQUAL TO
+ 0x2265: 0xb3, # GREATER-THAN OR EQUAL TO
+ 0x25ca: 0xd7, # LOZENGE
+ 0xf8ff: 0xd8, # Apple logo
} \ No newline at end of file
diff --git a/Lib/encodings/mac_cyrillic.py b/Lib/encodings/mac_cyrillic.py
index 7dc8e418d38..e3e5cf2f9ab 100644
--- a/Lib/encodings/mac_cyrillic.py
+++ b/Lib/encodings/mac_cyrillic.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/APPLE/CYRILLIC.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/APPLE/CYRILLIC.TXT' with gencodec.py.
"""#"
@@ -28,654 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x0410, # CYRILLIC CAPITAL LETTER A
- 0x0081: 0x0411, # CYRILLIC CAPITAL LETTER BE
- 0x0082: 0x0412, # CYRILLIC CAPITAL LETTER VE
- 0x0083: 0x0413, # CYRILLIC CAPITAL LETTER GHE
- 0x0084: 0x0414, # CYRILLIC CAPITAL LETTER DE
- 0x0085: 0x0415, # CYRILLIC CAPITAL LETTER IE
- 0x0086: 0x0416, # CYRILLIC CAPITAL LETTER ZHE
- 0x0087: 0x0417, # CYRILLIC CAPITAL LETTER ZE
- 0x0088: 0x0418, # CYRILLIC CAPITAL LETTER I
- 0x0089: 0x0419, # CYRILLIC CAPITAL LETTER SHORT I
- 0x008a: 0x041a, # CYRILLIC CAPITAL LETTER KA
- 0x008b: 0x041b, # CYRILLIC CAPITAL LETTER EL
- 0x008c: 0x041c, # CYRILLIC CAPITAL LETTER EM
- 0x008d: 0x041d, # CYRILLIC CAPITAL LETTER EN
- 0x008e: 0x041e, # CYRILLIC CAPITAL LETTER O
- 0x008f: 0x041f, # CYRILLIC CAPITAL LETTER PE
- 0x0090: 0x0420, # CYRILLIC CAPITAL LETTER ER
- 0x0091: 0x0421, # CYRILLIC CAPITAL LETTER ES
- 0x0092: 0x0422, # CYRILLIC CAPITAL LETTER TE
- 0x0093: 0x0423, # CYRILLIC CAPITAL LETTER U
- 0x0094: 0x0424, # CYRILLIC CAPITAL LETTER EF
- 0x0095: 0x0425, # CYRILLIC CAPITAL LETTER HA
- 0x0096: 0x0426, # CYRILLIC CAPITAL LETTER TSE
- 0x0097: 0x0427, # CYRILLIC CAPITAL LETTER CHE
- 0x0098: 0x0428, # CYRILLIC CAPITAL LETTER SHA
- 0x0099: 0x0429, # CYRILLIC CAPITAL LETTER SHCHA
- 0x009a: 0x042a, # CYRILLIC CAPITAL LETTER HARD SIGN
- 0x009b: 0x042b, # CYRILLIC CAPITAL LETTER YERU
- 0x009c: 0x042c, # CYRILLIC CAPITAL LETTER SOFT SIGN
- 0x009d: 0x042d, # CYRILLIC CAPITAL LETTER E
- 0x009e: 0x042e, # CYRILLIC CAPITAL LETTER YU
- 0x009f: 0x042f, # CYRILLIC CAPITAL LETTER YA
- 0x00a0: 0x2020, # DAGGER
- 0x00a1: 0x00b0, # DEGREE SIGN
- 0x00a2: 0x0490, # CYRILLIC CAPITAL LETTER GHE WITH UPTURN
- 0x00a4: 0x00a7, # SECTION SIGN
- 0x00a5: 0x2022, # BULLET
- 0x00a6: 0x00b6, # PILCROW SIGN
- 0x00a7: 0x0406, # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x00a8: 0x00ae, # REGISTERED SIGN
- 0x00aa: 0x2122, # TRADE MARK SIGN
- 0x00ab: 0x0402, # CYRILLIC CAPITAL LETTER DJE
- 0x00ac: 0x0452, # CYRILLIC SMALL LETTER DJE
- 0x00ad: 0x2260, # NOT EQUAL TO
- 0x00ae: 0x0403, # CYRILLIC CAPITAL LETTER GJE
- 0x00af: 0x0453, # CYRILLIC SMALL LETTER GJE
- 0x00b0: 0x221e, # INFINITY
- 0x00b2: 0x2264, # LESS-THAN OR EQUAL TO
- 0x00b3: 0x2265, # GREATER-THAN OR EQUAL TO
- 0x00b4: 0x0456, # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x00b6: 0x0491, # CYRILLIC SMALL LETTER GHE WITH UPTURN
- 0x00b7: 0x0408, # CYRILLIC CAPITAL LETTER JE
- 0x00b8: 0x0404, # CYRILLIC CAPITAL LETTER UKRAINIAN IE
- 0x00b9: 0x0454, # CYRILLIC SMALL LETTER UKRAINIAN IE
- 0x00ba: 0x0407, # CYRILLIC CAPITAL LETTER YI
- 0x00bb: 0x0457, # CYRILLIC SMALL LETTER YI
- 0x00bc: 0x0409, # CYRILLIC CAPITAL LETTER LJE
- 0x00bd: 0x0459, # CYRILLIC SMALL LETTER LJE
- 0x00be: 0x040a, # CYRILLIC CAPITAL LETTER NJE
- 0x00bf: 0x045a, # CYRILLIC SMALL LETTER NJE
- 0x00c0: 0x0458, # CYRILLIC SMALL LETTER JE
- 0x00c1: 0x0405, # CYRILLIC CAPITAL LETTER DZE
- 0x00c2: 0x00ac, # NOT SIGN
- 0x00c3: 0x221a, # SQUARE ROOT
- 0x00c4: 0x0192, # LATIN SMALL LETTER F WITH HOOK
- 0x00c5: 0x2248, # ALMOST EQUAL TO
- 0x00c6: 0x2206, # INCREMENT
- 0x00c7: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c8: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c9: 0x2026, # HORIZONTAL ELLIPSIS
- 0x00ca: 0x00a0, # NO-BREAK SPACE
- 0x00cb: 0x040b, # CYRILLIC CAPITAL LETTER TSHE
- 0x00cc: 0x045b, # CYRILLIC SMALL LETTER TSHE
- 0x00cd: 0x040c, # CYRILLIC CAPITAL LETTER KJE
- 0x00ce: 0x045c, # CYRILLIC SMALL LETTER KJE
- 0x00cf: 0x0455, # CYRILLIC SMALL LETTER DZE
- 0x00d0: 0x2013, # EN DASH
- 0x00d1: 0x2014, # EM DASH
- 0x00d2: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x00d3: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x00d4: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x00d5: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x00d6: 0x00f7, # DIVISION SIGN
- 0x00d7: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x00d8: 0x040e, # CYRILLIC CAPITAL LETTER SHORT U
- 0x00d9: 0x045e, # CYRILLIC SMALL LETTER SHORT U
- 0x00da: 0x040f, # CYRILLIC CAPITAL LETTER DZHE
- 0x00db: 0x045f, # CYRILLIC SMALL LETTER DZHE
- 0x00dc: 0x2116, # NUMERO SIGN
- 0x00dd: 0x0401, # CYRILLIC CAPITAL LETTER IO
- 0x00de: 0x0451, # CYRILLIC SMALL LETTER IO
- 0x00df: 0x044f, # CYRILLIC SMALL LETTER YA
- 0x00e0: 0x0430, # CYRILLIC SMALL LETTER A
- 0x00e1: 0x0431, # CYRILLIC SMALL LETTER BE
- 0x00e2: 0x0432, # CYRILLIC SMALL LETTER VE
- 0x00e3: 0x0433, # CYRILLIC SMALL LETTER GHE
- 0x00e4: 0x0434, # CYRILLIC SMALL LETTER DE
- 0x00e5: 0x0435, # CYRILLIC SMALL LETTER IE
- 0x00e6: 0x0436, # CYRILLIC SMALL LETTER ZHE
- 0x00e7: 0x0437, # CYRILLIC SMALL LETTER ZE
- 0x00e8: 0x0438, # CYRILLIC SMALL LETTER I
- 0x00e9: 0x0439, # CYRILLIC SMALL LETTER SHORT I
- 0x00ea: 0x043a, # CYRILLIC SMALL LETTER KA
- 0x00eb: 0x043b, # CYRILLIC SMALL LETTER EL
- 0x00ec: 0x043c, # CYRILLIC SMALL LETTER EM
- 0x00ed: 0x043d, # CYRILLIC SMALL LETTER EN
- 0x00ee: 0x043e, # CYRILLIC SMALL LETTER O
- 0x00ef: 0x043f, # CYRILLIC SMALL LETTER PE
- 0x00f0: 0x0440, # CYRILLIC SMALL LETTER ER
- 0x00f1: 0x0441, # CYRILLIC SMALL LETTER ES
- 0x00f2: 0x0442, # CYRILLIC SMALL LETTER TE
- 0x00f3: 0x0443, # CYRILLIC SMALL LETTER U
- 0x00f4: 0x0444, # CYRILLIC SMALL LETTER EF
- 0x00f5: 0x0445, # CYRILLIC SMALL LETTER HA
- 0x00f6: 0x0446, # CYRILLIC SMALL LETTER TSE
- 0x00f7: 0x0447, # CYRILLIC SMALL LETTER CHE
- 0x00f8: 0x0448, # CYRILLIC SMALL LETTER SHA
- 0x00f9: 0x0449, # CYRILLIC SMALL LETTER SHCHA
- 0x00fa: 0x044a, # CYRILLIC SMALL LETTER HARD SIGN
- 0x00fb: 0x044b, # CYRILLIC SMALL LETTER YERU
- 0x00fc: 0x044c, # CYRILLIC SMALL LETTER SOFT SIGN
- 0x00fd: 0x044d, # CYRILLIC SMALL LETTER E
- 0x00fe: 0x044e, # CYRILLIC SMALL LETTER YU
- 0x00ff: 0x20ac, # EURO SIGN
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> CONTROL CHARACTER
- u'\x01' # 0x0001 -> CONTROL CHARACTER
- u'\x02' # 0x0002 -> CONTROL CHARACTER
- u'\x03' # 0x0003 -> CONTROL CHARACTER
- u'\x04' # 0x0004 -> CONTROL CHARACTER
- u'\x05' # 0x0005 -> CONTROL CHARACTER
- u'\x06' # 0x0006 -> CONTROL CHARACTER
- u'\x07' # 0x0007 -> CONTROL CHARACTER
- u'\x08' # 0x0008 -> CONTROL CHARACTER
- u'\t' # 0x0009 -> CONTROL CHARACTER
- u'\n' # 0x000a -> CONTROL CHARACTER
- u'\x0b' # 0x000b -> CONTROL CHARACTER
- u'\x0c' # 0x000c -> CONTROL CHARACTER
- u'\r' # 0x000d -> CONTROL CHARACTER
- u'\x0e' # 0x000e -> CONTROL CHARACTER
- u'\x0f' # 0x000f -> CONTROL CHARACTER
- u'\x10' # 0x0010 -> CONTROL CHARACTER
- u'\x11' # 0x0011 -> CONTROL CHARACTER
- u'\x12' # 0x0012 -> CONTROL CHARACTER
- u'\x13' # 0x0013 -> CONTROL CHARACTER
- u'\x14' # 0x0014 -> CONTROL CHARACTER
- u'\x15' # 0x0015 -> CONTROL CHARACTER
- u'\x16' # 0x0016 -> CONTROL CHARACTER
- u'\x17' # 0x0017 -> CONTROL CHARACTER
- u'\x18' # 0x0018 -> CONTROL CHARACTER
- u'\x19' # 0x0019 -> CONTROL CHARACTER
- u'\x1a' # 0x001a -> CONTROL CHARACTER
- u'\x1b' # 0x001b -> CONTROL CHARACTER
- u'\x1c' # 0x001c -> CONTROL CHARACTER
- u'\x1d' # 0x001d -> CONTROL CHARACTER
- u'\x1e' # 0x001e -> CONTROL CHARACTER
- u'\x1f' # 0x001f -> CONTROL CHARACTER
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> CONTROL CHARACTER
- u'\u0410' # 0x0080 -> CYRILLIC CAPITAL LETTER A
- u'\u0411' # 0x0081 -> CYRILLIC CAPITAL LETTER BE
- u'\u0412' # 0x0082 -> CYRILLIC CAPITAL LETTER VE
- u'\u0413' # 0x0083 -> CYRILLIC CAPITAL LETTER GHE
- u'\u0414' # 0x0084 -> CYRILLIC CAPITAL LETTER DE
- u'\u0415' # 0x0085 -> CYRILLIC CAPITAL LETTER IE
- u'\u0416' # 0x0086 -> CYRILLIC CAPITAL LETTER ZHE
- u'\u0417' # 0x0087 -> CYRILLIC CAPITAL LETTER ZE
- u'\u0418' # 0x0088 -> CYRILLIC CAPITAL LETTER I
- u'\u0419' # 0x0089 -> CYRILLIC CAPITAL LETTER SHORT I
- u'\u041a' # 0x008a -> CYRILLIC CAPITAL LETTER KA
- u'\u041b' # 0x008b -> CYRILLIC CAPITAL LETTER EL
- u'\u041c' # 0x008c -> CYRILLIC CAPITAL LETTER EM
- u'\u041d' # 0x008d -> CYRILLIC CAPITAL LETTER EN
- u'\u041e' # 0x008e -> CYRILLIC CAPITAL LETTER O
- u'\u041f' # 0x008f -> CYRILLIC CAPITAL LETTER PE
- u'\u0420' # 0x0090 -> CYRILLIC CAPITAL LETTER ER
- u'\u0421' # 0x0091 -> CYRILLIC CAPITAL LETTER ES
- u'\u0422' # 0x0092 -> CYRILLIC CAPITAL LETTER TE
- u'\u0423' # 0x0093 -> CYRILLIC CAPITAL LETTER U
- u'\u0424' # 0x0094 -> CYRILLIC CAPITAL LETTER EF
- u'\u0425' # 0x0095 -> CYRILLIC CAPITAL LETTER HA
- u'\u0426' # 0x0096 -> CYRILLIC CAPITAL LETTER TSE
- u'\u0427' # 0x0097 -> CYRILLIC CAPITAL LETTER CHE
- u'\u0428' # 0x0098 -> CYRILLIC CAPITAL LETTER SHA
- u'\u0429' # 0x0099 -> CYRILLIC CAPITAL LETTER SHCHA
- u'\u042a' # 0x009a -> CYRILLIC CAPITAL LETTER HARD SIGN
- u'\u042b' # 0x009b -> CYRILLIC CAPITAL LETTER YERU
- u'\u042c' # 0x009c -> CYRILLIC CAPITAL LETTER SOFT SIGN
- u'\u042d' # 0x009d -> CYRILLIC CAPITAL LETTER E
- u'\u042e' # 0x009e -> CYRILLIC CAPITAL LETTER YU
- u'\u042f' # 0x009f -> CYRILLIC CAPITAL LETTER YA
- u'\u2020' # 0x00a0 -> DAGGER
- u'\xb0' # 0x00a1 -> DEGREE SIGN
- u'\u0490' # 0x00a2 -> CYRILLIC CAPITAL LETTER GHE WITH UPTURN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa7' # 0x00a4 -> SECTION SIGN
- u'\u2022' # 0x00a5 -> BULLET
- u'\xb6' # 0x00a6 -> PILCROW SIGN
- u'\u0406' # 0x00a7 -> CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
- u'\xae' # 0x00a8 -> REGISTERED SIGN
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u2122' # 0x00aa -> TRADE MARK SIGN
- u'\u0402' # 0x00ab -> CYRILLIC CAPITAL LETTER DJE
- u'\u0452' # 0x00ac -> CYRILLIC SMALL LETTER DJE
- u'\u2260' # 0x00ad -> NOT EQUAL TO
- u'\u0403' # 0x00ae -> CYRILLIC CAPITAL LETTER GJE
- u'\u0453' # 0x00af -> CYRILLIC SMALL LETTER GJE
- u'\u221e' # 0x00b0 -> INFINITY
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\u2264' # 0x00b2 -> LESS-THAN OR EQUAL TO
- u'\u2265' # 0x00b3 -> GREATER-THAN OR EQUAL TO
- u'\u0456' # 0x00b4 -> CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\u0491' # 0x00b6 -> CYRILLIC SMALL LETTER GHE WITH UPTURN
- u'\u0408' # 0x00b7 -> CYRILLIC CAPITAL LETTER JE
- u'\u0404' # 0x00b8 -> CYRILLIC CAPITAL LETTER UKRAINIAN IE
- u'\u0454' # 0x00b9 -> CYRILLIC SMALL LETTER UKRAINIAN IE
- u'\u0407' # 0x00ba -> CYRILLIC CAPITAL LETTER YI
- u'\u0457' # 0x00bb -> CYRILLIC SMALL LETTER YI
- u'\u0409' # 0x00bc -> CYRILLIC CAPITAL LETTER LJE
- u'\u0459' # 0x00bd -> CYRILLIC SMALL LETTER LJE
- u'\u040a' # 0x00be -> CYRILLIC CAPITAL LETTER NJE
- u'\u045a' # 0x00bf -> CYRILLIC SMALL LETTER NJE
- u'\u0458' # 0x00c0 -> CYRILLIC SMALL LETTER JE
- u'\u0405' # 0x00c1 -> CYRILLIC CAPITAL LETTER DZE
- u'\xac' # 0x00c2 -> NOT SIGN
- u'\u221a' # 0x00c3 -> SQUARE ROOT
- u'\u0192' # 0x00c4 -> LATIN SMALL LETTER F WITH HOOK
- u'\u2248' # 0x00c5 -> ALMOST EQUAL TO
- u'\u2206' # 0x00c6 -> INCREMENT
- u'\xab' # 0x00c7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbb' # 0x00c8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u2026' # 0x00c9 -> HORIZONTAL ELLIPSIS
- u'\xa0' # 0x00ca -> NO-BREAK SPACE
- u'\u040b' # 0x00cb -> CYRILLIC CAPITAL LETTER TSHE
- u'\u045b' # 0x00cc -> CYRILLIC SMALL LETTER TSHE
- u'\u040c' # 0x00cd -> CYRILLIC CAPITAL LETTER KJE
- u'\u045c' # 0x00ce -> CYRILLIC SMALL LETTER KJE
- u'\u0455' # 0x00cf -> CYRILLIC SMALL LETTER DZE
- u'\u2013' # 0x00d0 -> EN DASH
- u'\u2014' # 0x00d1 -> EM DASH
- u'\u201c' # 0x00d2 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x00d3 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2018' # 0x00d4 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x00d5 -> RIGHT SINGLE QUOTATION MARK
- u'\xf7' # 0x00d6 -> DIVISION SIGN
- u'\u201e' # 0x00d7 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u040e' # 0x00d8 -> CYRILLIC CAPITAL LETTER SHORT U
- u'\u045e' # 0x00d9 -> CYRILLIC SMALL LETTER SHORT U
- u'\u040f' # 0x00da -> CYRILLIC CAPITAL LETTER DZHE
- u'\u045f' # 0x00db -> CYRILLIC SMALL LETTER DZHE
- u'\u2116' # 0x00dc -> NUMERO SIGN
- u'\u0401' # 0x00dd -> CYRILLIC CAPITAL LETTER IO
- u'\u0451' # 0x00de -> CYRILLIC SMALL LETTER IO
- u'\u044f' # 0x00df -> CYRILLIC SMALL LETTER YA
- u'\u0430' # 0x00e0 -> CYRILLIC SMALL LETTER A
- u'\u0431' # 0x00e1 -> CYRILLIC SMALL LETTER BE
- u'\u0432' # 0x00e2 -> CYRILLIC SMALL LETTER VE
- u'\u0433' # 0x00e3 -> CYRILLIC SMALL LETTER GHE
- u'\u0434' # 0x00e4 -> CYRILLIC SMALL LETTER DE
- u'\u0435' # 0x00e5 -> CYRILLIC SMALL LETTER IE
- u'\u0436' # 0x00e6 -> CYRILLIC SMALL LETTER ZHE
- u'\u0437' # 0x00e7 -> CYRILLIC SMALL LETTER ZE
- u'\u0438' # 0x00e8 -> CYRILLIC SMALL LETTER I
- u'\u0439' # 0x00e9 -> CYRILLIC SMALL LETTER SHORT I
- u'\u043a' # 0x00ea -> CYRILLIC SMALL LETTER KA
- u'\u043b' # 0x00eb -> CYRILLIC SMALL LETTER EL
- u'\u043c' # 0x00ec -> CYRILLIC SMALL LETTER EM
- u'\u043d' # 0x00ed -> CYRILLIC SMALL LETTER EN
- u'\u043e' # 0x00ee -> CYRILLIC SMALL LETTER O
- u'\u043f' # 0x00ef -> CYRILLIC SMALL LETTER PE
- u'\u0440' # 0x00f0 -> CYRILLIC SMALL LETTER ER
- u'\u0441' # 0x00f1 -> CYRILLIC SMALL LETTER ES
- u'\u0442' # 0x00f2 -> CYRILLIC SMALL LETTER TE
- u'\u0443' # 0x00f3 -> CYRILLIC SMALL LETTER U
- u'\u0444' # 0x00f4 -> CYRILLIC SMALL LETTER EF
- u'\u0445' # 0x00f5 -> CYRILLIC SMALL LETTER HA
- u'\u0446' # 0x00f6 -> CYRILLIC SMALL LETTER TSE
- u'\u0447' # 0x00f7 -> CYRILLIC SMALL LETTER CHE
- u'\u0448' # 0x00f8 -> CYRILLIC SMALL LETTER SHA
- u'\u0449' # 0x00f9 -> CYRILLIC SMALL LETTER SHCHA
- u'\u044a' # 0x00fa -> CYRILLIC SMALL LETTER HARD SIGN
- u'\u044b' # 0x00fb -> CYRILLIC SMALL LETTER YERU
- u'\u044c' # 0x00fc -> CYRILLIC SMALL LETTER SOFT SIGN
- u'\u044d' # 0x00fd -> CYRILLIC SMALL LETTER E
- u'\u044e' # 0x00fe -> CYRILLIC SMALL LETTER YU
- u'\u20ac' # 0x00ff -> EURO SIGN
+ u'\x00' # 0x00 -> CONTROL CHARACTER
+ u'\x01' # 0x01 -> CONTROL CHARACTER
+ u'\x02' # 0x02 -> CONTROL CHARACTER
+ u'\x03' # 0x03 -> CONTROL CHARACTER
+ u'\x04' # 0x04 -> CONTROL CHARACTER
+ u'\x05' # 0x05 -> CONTROL CHARACTER
+ u'\x06' # 0x06 -> CONTROL CHARACTER
+ u'\x07' # 0x07 -> CONTROL CHARACTER
+ u'\x08' # 0x08 -> CONTROL CHARACTER
+ u'\t' # 0x09 -> CONTROL CHARACTER
+ u'\n' # 0x0a -> CONTROL CHARACTER
+ u'\x0b' # 0x0b -> CONTROL CHARACTER
+ u'\x0c' # 0x0c -> CONTROL CHARACTER
+ u'\r' # 0x0d -> CONTROL CHARACTER
+ u'\x0e' # 0x0e -> CONTROL CHARACTER
+ u'\x0f' # 0x0f -> CONTROL CHARACTER
+ u'\x10' # 0x10 -> CONTROL CHARACTER
+ u'\x11' # 0x11 -> CONTROL CHARACTER
+ u'\x12' # 0x12 -> CONTROL CHARACTER
+ u'\x13' # 0x13 -> CONTROL CHARACTER
+ u'\x14' # 0x14 -> CONTROL CHARACTER
+ u'\x15' # 0x15 -> CONTROL CHARACTER
+ u'\x16' # 0x16 -> CONTROL CHARACTER
+ u'\x17' # 0x17 -> CONTROL CHARACTER
+ u'\x18' # 0x18 -> CONTROL CHARACTER
+ u'\x19' # 0x19 -> CONTROL CHARACTER
+ u'\x1a' # 0x1a -> CONTROL CHARACTER
+ u'\x1b' # 0x1b -> CONTROL CHARACTER
+ u'\x1c' # 0x1c -> CONTROL CHARACTER
+ u'\x1d' # 0x1d -> CONTROL CHARACTER
+ u'\x1e' # 0x1e -> CONTROL CHARACTER
+ u'\x1f' # 0x1f -> CONTROL CHARACTER
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> CONTROL CHARACTER
+ u'\u0410' # 0x80 -> CYRILLIC CAPITAL LETTER A
+ u'\u0411' # 0x81 -> CYRILLIC CAPITAL LETTER BE
+ u'\u0412' # 0x82 -> CYRILLIC CAPITAL LETTER VE
+ u'\u0413' # 0x83 -> CYRILLIC CAPITAL LETTER GHE
+ u'\u0414' # 0x84 -> CYRILLIC CAPITAL LETTER DE
+ u'\u0415' # 0x85 -> CYRILLIC CAPITAL LETTER IE
+ u'\u0416' # 0x86 -> CYRILLIC CAPITAL LETTER ZHE
+ u'\u0417' # 0x87 -> CYRILLIC CAPITAL LETTER ZE
+ u'\u0418' # 0x88 -> CYRILLIC CAPITAL LETTER I
+ u'\u0419' # 0x89 -> CYRILLIC CAPITAL LETTER SHORT I
+ u'\u041a' # 0x8a -> CYRILLIC CAPITAL LETTER KA
+ u'\u041b' # 0x8b -> CYRILLIC CAPITAL LETTER EL
+ u'\u041c' # 0x8c -> CYRILLIC CAPITAL LETTER EM
+ u'\u041d' # 0x8d -> CYRILLIC CAPITAL LETTER EN
+ u'\u041e' # 0x8e -> CYRILLIC CAPITAL LETTER O
+ u'\u041f' # 0x8f -> CYRILLIC CAPITAL LETTER PE
+ u'\u0420' # 0x90 -> CYRILLIC CAPITAL LETTER ER
+ u'\u0421' # 0x91 -> CYRILLIC CAPITAL LETTER ES
+ u'\u0422' # 0x92 -> CYRILLIC CAPITAL LETTER TE
+ u'\u0423' # 0x93 -> CYRILLIC CAPITAL LETTER U
+ u'\u0424' # 0x94 -> CYRILLIC CAPITAL LETTER EF
+ u'\u0425' # 0x95 -> CYRILLIC CAPITAL LETTER HA
+ u'\u0426' # 0x96 -> CYRILLIC CAPITAL LETTER TSE
+ u'\u0427' # 0x97 -> CYRILLIC CAPITAL LETTER CHE
+ u'\u0428' # 0x98 -> CYRILLIC CAPITAL LETTER SHA
+ u'\u0429' # 0x99 -> CYRILLIC CAPITAL LETTER SHCHA
+ u'\u042a' # 0x9a -> CYRILLIC CAPITAL LETTER HARD SIGN
+ u'\u042b' # 0x9b -> CYRILLIC CAPITAL LETTER YERU
+ u'\u042c' # 0x9c -> CYRILLIC CAPITAL LETTER SOFT SIGN
+ u'\u042d' # 0x9d -> CYRILLIC CAPITAL LETTER E
+ u'\u042e' # 0x9e -> CYRILLIC CAPITAL LETTER YU
+ u'\u042f' # 0x9f -> CYRILLIC CAPITAL LETTER YA
+ u'\u2020' # 0xa0 -> DAGGER
+ u'\xb0' # 0xa1 -> DEGREE SIGN
+ u'\u0490' # 0xa2 -> CYRILLIC CAPITAL LETTER GHE WITH UPTURN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa7' # 0xa4 -> SECTION SIGN
+ u'\u2022' # 0xa5 -> BULLET
+ u'\xb6' # 0xa6 -> PILCROW SIGN
+ u'\u0406' # 0xa7 -> CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
+ u'\xae' # 0xa8 -> REGISTERED SIGN
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u2122' # 0xaa -> TRADE MARK SIGN
+ u'\u0402' # 0xab -> CYRILLIC CAPITAL LETTER DJE
+ u'\u0452' # 0xac -> CYRILLIC SMALL LETTER DJE
+ u'\u2260' # 0xad -> NOT EQUAL TO
+ u'\u0403' # 0xae -> CYRILLIC CAPITAL LETTER GJE
+ u'\u0453' # 0xaf -> CYRILLIC SMALL LETTER GJE
+ u'\u221e' # 0xb0 -> INFINITY
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\u2264' # 0xb2 -> LESS-THAN OR EQUAL TO
+ u'\u2265' # 0xb3 -> GREATER-THAN OR EQUAL TO
+ u'\u0456' # 0xb4 -> CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\u0491' # 0xb6 -> CYRILLIC SMALL LETTER GHE WITH UPTURN
+ u'\u0408' # 0xb7 -> CYRILLIC CAPITAL LETTER JE
+ u'\u0404' # 0xb8 -> CYRILLIC CAPITAL LETTER UKRAINIAN IE
+ u'\u0454' # 0xb9 -> CYRILLIC SMALL LETTER UKRAINIAN IE
+ u'\u0407' # 0xba -> CYRILLIC CAPITAL LETTER YI
+ u'\u0457' # 0xbb -> CYRILLIC SMALL LETTER YI
+ u'\u0409' # 0xbc -> CYRILLIC CAPITAL LETTER LJE
+ u'\u0459' # 0xbd -> CYRILLIC SMALL LETTER LJE
+ u'\u040a' # 0xbe -> CYRILLIC CAPITAL LETTER NJE
+ u'\u045a' # 0xbf -> CYRILLIC SMALL LETTER NJE
+ u'\u0458' # 0xc0 -> CYRILLIC SMALL LETTER JE
+ u'\u0405' # 0xc1 -> CYRILLIC CAPITAL LETTER DZE
+ u'\xac' # 0xc2 -> NOT SIGN
+ u'\u221a' # 0xc3 -> SQUARE ROOT
+ u'\u0192' # 0xc4 -> LATIN SMALL LETTER F WITH HOOK
+ u'\u2248' # 0xc5 -> ALMOST EQUAL TO
+ u'\u2206' # 0xc6 -> INCREMENT
+ u'\xab' # 0xc7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0xc8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u2026' # 0xc9 -> HORIZONTAL ELLIPSIS
+ u'\xa0' # 0xca -> NO-BREAK SPACE
+ u'\u040b' # 0xcb -> CYRILLIC CAPITAL LETTER TSHE
+ u'\u045b' # 0xcc -> CYRILLIC SMALL LETTER TSHE
+ u'\u040c' # 0xcd -> CYRILLIC CAPITAL LETTER KJE
+ u'\u045c' # 0xce -> CYRILLIC SMALL LETTER KJE
+ u'\u0455' # 0xcf -> CYRILLIC SMALL LETTER DZE
+ u'\u2013' # 0xd0 -> EN DASH
+ u'\u2014' # 0xd1 -> EM DASH
+ u'\u201c' # 0xd2 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0xd3 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2018' # 0xd4 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0xd5 -> RIGHT SINGLE QUOTATION MARK
+ u'\xf7' # 0xd6 -> DIVISION SIGN
+ u'\u201e' # 0xd7 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u040e' # 0xd8 -> CYRILLIC CAPITAL LETTER SHORT U
+ u'\u045e' # 0xd9 -> CYRILLIC SMALL LETTER SHORT U
+ u'\u040f' # 0xda -> CYRILLIC CAPITAL LETTER DZHE
+ u'\u045f' # 0xdb -> CYRILLIC SMALL LETTER DZHE
+ u'\u2116' # 0xdc -> NUMERO SIGN
+ u'\u0401' # 0xdd -> CYRILLIC CAPITAL LETTER IO
+ u'\u0451' # 0xde -> CYRILLIC SMALL LETTER IO
+ u'\u044f' # 0xdf -> CYRILLIC SMALL LETTER YA
+ u'\u0430' # 0xe0 -> CYRILLIC SMALL LETTER A
+ u'\u0431' # 0xe1 -> CYRILLIC SMALL LETTER BE
+ u'\u0432' # 0xe2 -> CYRILLIC SMALL LETTER VE
+ u'\u0433' # 0xe3 -> CYRILLIC SMALL LETTER GHE
+ u'\u0434' # 0xe4 -> CYRILLIC SMALL LETTER DE
+ u'\u0435' # 0xe5 -> CYRILLIC SMALL LETTER IE
+ u'\u0436' # 0xe6 -> CYRILLIC SMALL LETTER ZHE
+ u'\u0437' # 0xe7 -> CYRILLIC SMALL LETTER ZE
+ u'\u0438' # 0xe8 -> CYRILLIC SMALL LETTER I
+ u'\u0439' # 0xe9 -> CYRILLIC SMALL LETTER SHORT I
+ u'\u043a' # 0xea -> CYRILLIC SMALL LETTER KA
+ u'\u043b' # 0xeb -> CYRILLIC SMALL LETTER EL
+ u'\u043c' # 0xec -> CYRILLIC SMALL LETTER EM
+ u'\u043d' # 0xed -> CYRILLIC SMALL LETTER EN
+ u'\u043e' # 0xee -> CYRILLIC SMALL LETTER O
+ u'\u043f' # 0xef -> CYRILLIC SMALL LETTER PE
+ u'\u0440' # 0xf0 -> CYRILLIC SMALL LETTER ER
+ u'\u0441' # 0xf1 -> CYRILLIC SMALL LETTER ES
+ u'\u0442' # 0xf2 -> CYRILLIC SMALL LETTER TE
+ u'\u0443' # 0xf3 -> CYRILLIC SMALL LETTER U
+ u'\u0444' # 0xf4 -> CYRILLIC SMALL LETTER EF
+ u'\u0445' # 0xf5 -> CYRILLIC SMALL LETTER HA
+ u'\u0446' # 0xf6 -> CYRILLIC SMALL LETTER TSE
+ u'\u0447' # 0xf7 -> CYRILLIC SMALL LETTER CHE
+ u'\u0448' # 0xf8 -> CYRILLIC SMALL LETTER SHA
+ u'\u0449' # 0xf9 -> CYRILLIC SMALL LETTER SHCHA
+ u'\u044a' # 0xfa -> CYRILLIC SMALL LETTER HARD SIGN
+ u'\u044b' # 0xfb -> CYRILLIC SMALL LETTER YERU
+ u'\u044c' # 0xfc -> CYRILLIC SMALL LETTER SOFT SIGN
+ u'\u044d' # 0xfd -> CYRILLIC SMALL LETTER E
+ u'\u044e' # 0xfe -> CYRILLIC SMALL LETTER YU
+ u'\u20ac' # 0xff -> EURO SIGN
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # CONTROL CHARACTER
- 0x0001: 0x0001, # CONTROL CHARACTER
- 0x0002: 0x0002, # CONTROL CHARACTER
- 0x0003: 0x0003, # CONTROL CHARACTER
- 0x0004: 0x0004, # CONTROL CHARACTER
- 0x0005: 0x0005, # CONTROL CHARACTER
- 0x0006: 0x0006, # CONTROL CHARACTER
- 0x0007: 0x0007, # CONTROL CHARACTER
- 0x0008: 0x0008, # CONTROL CHARACTER
- 0x0009: 0x0009, # CONTROL CHARACTER
- 0x000a: 0x000a, # CONTROL CHARACTER
- 0x000b: 0x000b, # CONTROL CHARACTER
- 0x000c: 0x000c, # CONTROL CHARACTER
- 0x000d: 0x000d, # CONTROL CHARACTER
- 0x000e: 0x000e, # CONTROL CHARACTER
- 0x000f: 0x000f, # CONTROL CHARACTER
- 0x0010: 0x0010, # CONTROL CHARACTER
- 0x0011: 0x0011, # CONTROL CHARACTER
- 0x0012: 0x0012, # CONTROL CHARACTER
- 0x0013: 0x0013, # CONTROL CHARACTER
- 0x0014: 0x0014, # CONTROL CHARACTER
- 0x0015: 0x0015, # CONTROL CHARACTER
- 0x0016: 0x0016, # CONTROL CHARACTER
- 0x0017: 0x0017, # CONTROL CHARACTER
- 0x0018: 0x0018, # CONTROL CHARACTER
- 0x0019: 0x0019, # CONTROL CHARACTER
- 0x001a: 0x001a, # CONTROL CHARACTER
- 0x001b: 0x001b, # CONTROL CHARACTER
- 0x001c: 0x001c, # CONTROL CHARACTER
- 0x001d: 0x001d, # CONTROL CHARACTER
- 0x001e: 0x001e, # CONTROL CHARACTER
- 0x001f: 0x001f, # CONTROL CHARACTER
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # CONTROL CHARACTER
- 0x00a0: 0x00ca, # NO-BREAK SPACE
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a7: 0x00a4, # SECTION SIGN
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00c7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00c2, # NOT SIGN
- 0x00ae: 0x00a8, # REGISTERED SIGN
- 0x00b0: 0x00a1, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00a6, # PILCROW SIGN
- 0x00bb: 0x00c8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00f7: 0x00d6, # DIVISION SIGN
- 0x0192: 0x00c4, # LATIN SMALL LETTER F WITH HOOK
- 0x0401: 0x00dd, # CYRILLIC CAPITAL LETTER IO
- 0x0402: 0x00ab, # CYRILLIC CAPITAL LETTER DJE
- 0x0403: 0x00ae, # CYRILLIC CAPITAL LETTER GJE
- 0x0404: 0x00b8, # CYRILLIC CAPITAL LETTER UKRAINIAN IE
- 0x0405: 0x00c1, # CYRILLIC CAPITAL LETTER DZE
- 0x0406: 0x00a7, # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x0407: 0x00ba, # CYRILLIC CAPITAL LETTER YI
- 0x0408: 0x00b7, # CYRILLIC CAPITAL LETTER JE
- 0x0409: 0x00bc, # CYRILLIC CAPITAL LETTER LJE
- 0x040a: 0x00be, # CYRILLIC CAPITAL LETTER NJE
- 0x040b: 0x00cb, # CYRILLIC CAPITAL LETTER TSHE
- 0x040c: 0x00cd, # CYRILLIC CAPITAL LETTER KJE
- 0x040e: 0x00d8, # CYRILLIC CAPITAL LETTER SHORT U
- 0x040f: 0x00da, # CYRILLIC CAPITAL LETTER DZHE
- 0x0410: 0x0080, # CYRILLIC CAPITAL LETTER A
- 0x0411: 0x0081, # CYRILLIC CAPITAL LETTER BE
- 0x0412: 0x0082, # CYRILLIC CAPITAL LETTER VE
- 0x0413: 0x0083, # CYRILLIC CAPITAL LETTER GHE
- 0x0414: 0x0084, # CYRILLIC CAPITAL LETTER DE
- 0x0415: 0x0085, # CYRILLIC CAPITAL LETTER IE
- 0x0416: 0x0086, # CYRILLIC CAPITAL LETTER ZHE
- 0x0417: 0x0087, # CYRILLIC CAPITAL LETTER ZE
- 0x0418: 0x0088, # CYRILLIC CAPITAL LETTER I
- 0x0419: 0x0089, # CYRILLIC CAPITAL LETTER SHORT I
- 0x041a: 0x008a, # CYRILLIC CAPITAL LETTER KA
- 0x041b: 0x008b, # CYRILLIC CAPITAL LETTER EL
- 0x041c: 0x008c, # CYRILLIC CAPITAL LETTER EM
- 0x041d: 0x008d, # CYRILLIC CAPITAL LETTER EN
- 0x041e: 0x008e, # CYRILLIC CAPITAL LETTER O
- 0x041f: 0x008f, # CYRILLIC CAPITAL LETTER PE
- 0x0420: 0x0090, # CYRILLIC CAPITAL LETTER ER
- 0x0421: 0x0091, # CYRILLIC CAPITAL LETTER ES
- 0x0422: 0x0092, # CYRILLIC CAPITAL LETTER TE
- 0x0423: 0x0093, # CYRILLIC CAPITAL LETTER U
- 0x0424: 0x0094, # CYRILLIC CAPITAL LETTER EF
- 0x0425: 0x0095, # CYRILLIC CAPITAL LETTER HA
- 0x0426: 0x0096, # CYRILLIC CAPITAL LETTER TSE
- 0x0427: 0x0097, # CYRILLIC CAPITAL LETTER CHE
- 0x0428: 0x0098, # CYRILLIC CAPITAL LETTER SHA
- 0x0429: 0x0099, # CYRILLIC CAPITAL LETTER SHCHA
- 0x042a: 0x009a, # CYRILLIC CAPITAL LETTER HARD SIGN
- 0x042b: 0x009b, # CYRILLIC CAPITAL LETTER YERU
- 0x042c: 0x009c, # CYRILLIC CAPITAL LETTER SOFT SIGN
- 0x042d: 0x009d, # CYRILLIC CAPITAL LETTER E
- 0x042e: 0x009e, # CYRILLIC CAPITAL LETTER YU
- 0x042f: 0x009f, # CYRILLIC CAPITAL LETTER YA
- 0x0430: 0x00e0, # CYRILLIC SMALL LETTER A
- 0x0431: 0x00e1, # CYRILLIC SMALL LETTER BE
- 0x0432: 0x00e2, # CYRILLIC SMALL LETTER VE
- 0x0433: 0x00e3, # CYRILLIC SMALL LETTER GHE
- 0x0434: 0x00e4, # CYRILLIC SMALL LETTER DE
- 0x0435: 0x00e5, # CYRILLIC SMALL LETTER IE
- 0x0436: 0x00e6, # CYRILLIC SMALL LETTER ZHE
- 0x0437: 0x00e7, # CYRILLIC SMALL LETTER ZE
- 0x0438: 0x00e8, # CYRILLIC SMALL LETTER I
- 0x0439: 0x00e9, # CYRILLIC SMALL LETTER SHORT I
- 0x043a: 0x00ea, # CYRILLIC SMALL LETTER KA
- 0x043b: 0x00eb, # CYRILLIC SMALL LETTER EL
- 0x043c: 0x00ec, # CYRILLIC SMALL LETTER EM
- 0x043d: 0x00ed, # CYRILLIC SMALL LETTER EN
- 0x043e: 0x00ee, # CYRILLIC SMALL LETTER O
- 0x043f: 0x00ef, # CYRILLIC SMALL LETTER PE
- 0x0440: 0x00f0, # CYRILLIC SMALL LETTER ER
- 0x0441: 0x00f1, # CYRILLIC SMALL LETTER ES
- 0x0442: 0x00f2, # CYRILLIC SMALL LETTER TE
- 0x0443: 0x00f3, # CYRILLIC SMALL LETTER U
- 0x0444: 0x00f4, # CYRILLIC SMALL LETTER EF
- 0x0445: 0x00f5, # CYRILLIC SMALL LETTER HA
- 0x0446: 0x00f6, # CYRILLIC SMALL LETTER TSE
- 0x0447: 0x00f7, # CYRILLIC SMALL LETTER CHE
- 0x0448: 0x00f8, # CYRILLIC SMALL LETTER SHA
- 0x0449: 0x00f9, # CYRILLIC SMALL LETTER SHCHA
- 0x044a: 0x00fa, # CYRILLIC SMALL LETTER HARD SIGN
- 0x044b: 0x00fb, # CYRILLIC SMALL LETTER YERU
- 0x044c: 0x00fc, # CYRILLIC SMALL LETTER SOFT SIGN
- 0x044d: 0x00fd, # CYRILLIC SMALL LETTER E
- 0x044e: 0x00fe, # CYRILLIC SMALL LETTER YU
- 0x044f: 0x00df, # CYRILLIC SMALL LETTER YA
- 0x0451: 0x00de, # CYRILLIC SMALL LETTER IO
- 0x0452: 0x00ac, # CYRILLIC SMALL LETTER DJE
- 0x0453: 0x00af, # CYRILLIC SMALL LETTER GJE
- 0x0454: 0x00b9, # CYRILLIC SMALL LETTER UKRAINIAN IE
- 0x0455: 0x00cf, # CYRILLIC SMALL LETTER DZE
- 0x0456: 0x00b4, # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
- 0x0457: 0x00bb, # CYRILLIC SMALL LETTER YI
- 0x0458: 0x00c0, # CYRILLIC SMALL LETTER JE
- 0x0459: 0x00bd, # CYRILLIC SMALL LETTER LJE
- 0x045a: 0x00bf, # CYRILLIC SMALL LETTER NJE
- 0x045b: 0x00cc, # CYRILLIC SMALL LETTER TSHE
- 0x045c: 0x00ce, # CYRILLIC SMALL LETTER KJE
- 0x045e: 0x00d9, # CYRILLIC SMALL LETTER SHORT U
- 0x045f: 0x00db, # CYRILLIC SMALL LETTER DZHE
- 0x0490: 0x00a2, # CYRILLIC CAPITAL LETTER GHE WITH UPTURN
- 0x0491: 0x00b6, # CYRILLIC SMALL LETTER GHE WITH UPTURN
- 0x2013: 0x00d0, # EN DASH
- 0x2014: 0x00d1, # EM DASH
- 0x2018: 0x00d4, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x00d5, # RIGHT SINGLE QUOTATION MARK
- 0x201c: 0x00d2, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x00d3, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x00d7, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x00a0, # DAGGER
- 0x2022: 0x00a5, # BULLET
- 0x2026: 0x00c9, # HORIZONTAL ELLIPSIS
- 0x20ac: 0x00ff, # EURO SIGN
- 0x2116: 0x00dc, # NUMERO SIGN
- 0x2122: 0x00aa, # TRADE MARK SIGN
- 0x2206: 0x00c6, # INCREMENT
- 0x221a: 0x00c3, # SQUARE ROOT
- 0x221e: 0x00b0, # INFINITY
- 0x2248: 0x00c5, # ALMOST EQUAL TO
- 0x2260: 0x00ad, # NOT EQUAL TO
- 0x2264: 0x00b2, # LESS-THAN OR EQUAL TO
- 0x2265: 0x00b3, # GREATER-THAN OR EQUAL TO
+ 0x0000: 0x00, # CONTROL CHARACTER
+ 0x0001: 0x01, # CONTROL CHARACTER
+ 0x0002: 0x02, # CONTROL CHARACTER
+ 0x0003: 0x03, # CONTROL CHARACTER
+ 0x0004: 0x04, # CONTROL CHARACTER
+ 0x0005: 0x05, # CONTROL CHARACTER
+ 0x0006: 0x06, # CONTROL CHARACTER
+ 0x0007: 0x07, # CONTROL CHARACTER
+ 0x0008: 0x08, # CONTROL CHARACTER
+ 0x0009: 0x09, # CONTROL CHARACTER
+ 0x000a: 0x0a, # CONTROL CHARACTER
+ 0x000b: 0x0b, # CONTROL CHARACTER
+ 0x000c: 0x0c, # CONTROL CHARACTER
+ 0x000d: 0x0d, # CONTROL CHARACTER
+ 0x000e: 0x0e, # CONTROL CHARACTER
+ 0x000f: 0x0f, # CONTROL CHARACTER
+ 0x0010: 0x10, # CONTROL CHARACTER
+ 0x0011: 0x11, # CONTROL CHARACTER
+ 0x0012: 0x12, # CONTROL CHARACTER
+ 0x0013: 0x13, # CONTROL CHARACTER
+ 0x0014: 0x14, # CONTROL CHARACTER
+ 0x0015: 0x15, # CONTROL CHARACTER
+ 0x0016: 0x16, # CONTROL CHARACTER
+ 0x0017: 0x17, # CONTROL CHARACTER
+ 0x0018: 0x18, # CONTROL CHARACTER
+ 0x0019: 0x19, # CONTROL CHARACTER
+ 0x001a: 0x1a, # CONTROL CHARACTER
+ 0x001b: 0x1b, # CONTROL CHARACTER
+ 0x001c: 0x1c, # CONTROL CHARACTER
+ 0x001d: 0x1d, # CONTROL CHARACTER
+ 0x001e: 0x1e, # CONTROL CHARACTER
+ 0x001f: 0x1f, # CONTROL CHARACTER
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # CONTROL CHARACTER
+ 0x00a0: 0xca, # NO-BREAK SPACE
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a7: 0xa4, # SECTION SIGN
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xc7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xc2, # NOT SIGN
+ 0x00ae: 0xa8, # REGISTERED SIGN
+ 0x00b0: 0xa1, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xa6, # PILCROW SIGN
+ 0x00bb: 0xc8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00f7: 0xd6, # DIVISION SIGN
+ 0x0192: 0xc4, # LATIN SMALL LETTER F WITH HOOK
+ 0x0401: 0xdd, # CYRILLIC CAPITAL LETTER IO
+ 0x0402: 0xab, # CYRILLIC CAPITAL LETTER DJE
+ 0x0403: 0xae, # CYRILLIC CAPITAL LETTER GJE
+ 0x0404: 0xb8, # CYRILLIC CAPITAL LETTER UKRAINIAN IE
+ 0x0405: 0xc1, # CYRILLIC CAPITAL LETTER DZE
+ 0x0406: 0xa7, # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
+ 0x0407: 0xba, # CYRILLIC CAPITAL LETTER YI
+ 0x0408: 0xb7, # CYRILLIC CAPITAL LETTER JE
+ 0x0409: 0xbc, # CYRILLIC CAPITAL LETTER LJE
+ 0x040a: 0xbe, # CYRILLIC CAPITAL LETTER NJE
+ 0x040b: 0xcb, # CYRILLIC CAPITAL LETTER TSHE
+ 0x040c: 0xcd, # CYRILLIC CAPITAL LETTER KJE
+ 0x040e: 0xd8, # CYRILLIC CAPITAL LETTER SHORT U
+ 0x040f: 0xda, # CYRILLIC CAPITAL LETTER DZHE
+ 0x0410: 0x80, # CYRILLIC CAPITAL LETTER A
+ 0x0411: 0x81, # CYRILLIC CAPITAL LETTER BE
+ 0x0412: 0x82, # CYRILLIC CAPITAL LETTER VE
+ 0x0413: 0x83, # CYRILLIC CAPITAL LETTER GHE
+ 0x0414: 0x84, # CYRILLIC CAPITAL LETTER DE
+ 0x0415: 0x85, # CYRILLIC CAPITAL LETTER IE
+ 0x0416: 0x86, # CYRILLIC CAPITAL LETTER ZHE
+ 0x0417: 0x87, # CYRILLIC CAPITAL LETTER ZE
+ 0x0418: 0x88, # CYRILLIC CAPITAL LETTER I
+ 0x0419: 0x89, # CYRILLIC CAPITAL LETTER SHORT I
+ 0x041a: 0x8a, # CYRILLIC CAPITAL LETTER KA
+ 0x041b: 0x8b, # CYRILLIC CAPITAL LETTER EL
+ 0x041c: 0x8c, # CYRILLIC CAPITAL LETTER EM
+ 0x041d: 0x8d, # CYRILLIC CAPITAL LETTER EN
+ 0x041e: 0x8e, # CYRILLIC CAPITAL LETTER O
+ 0x041f: 0x8f, # CYRILLIC CAPITAL LETTER PE
+ 0x0420: 0x90, # CYRILLIC CAPITAL LETTER ER
+ 0x0421: 0x91, # CYRILLIC CAPITAL LETTER ES
+ 0x0422: 0x92, # CYRILLIC CAPITAL LETTER TE
+ 0x0423: 0x93, # CYRILLIC CAPITAL LETTER U
+ 0x0424: 0x94, # CYRILLIC CAPITAL LETTER EF
+ 0x0425: 0x95, # CYRILLIC CAPITAL LETTER HA
+ 0x0426: 0x96, # CYRILLIC CAPITAL LETTER TSE
+ 0x0427: 0x97, # CYRILLIC CAPITAL LETTER CHE
+ 0x0428: 0x98, # CYRILLIC CAPITAL LETTER SHA
+ 0x0429: 0x99, # CYRILLIC CAPITAL LETTER SHCHA
+ 0x042a: 0x9a, # CYRILLIC CAPITAL LETTER HARD SIGN
+ 0x042b: 0x9b, # CYRILLIC CAPITAL LETTER YERU
+ 0x042c: 0x9c, # CYRILLIC CAPITAL LETTER SOFT SIGN
+ 0x042d: 0x9d, # CYRILLIC CAPITAL LETTER E
+ 0x042e: 0x9e, # CYRILLIC CAPITAL LETTER YU
+ 0x042f: 0x9f, # CYRILLIC CAPITAL LETTER YA
+ 0x0430: 0xe0, # CYRILLIC SMALL LETTER A
+ 0x0431: 0xe1, # CYRILLIC SMALL LETTER BE
+ 0x0432: 0xe2, # CYRILLIC SMALL LETTER VE
+ 0x0433: 0xe3, # CYRILLIC SMALL LETTER GHE
+ 0x0434: 0xe4, # CYRILLIC SMALL LETTER DE
+ 0x0435: 0xe5, # CYRILLIC SMALL LETTER IE
+ 0x0436: 0xe6, # CYRILLIC SMALL LETTER ZHE
+ 0x0437: 0xe7, # CYRILLIC SMALL LETTER ZE
+ 0x0438: 0xe8, # CYRILLIC SMALL LETTER I
+ 0x0439: 0xe9, # CYRILLIC SMALL LETTER SHORT I
+ 0x043a: 0xea, # CYRILLIC SMALL LETTER KA
+ 0x043b: 0xeb, # CYRILLIC SMALL LETTER EL
+ 0x043c: 0xec, # CYRILLIC SMALL LETTER EM
+ 0x043d: 0xed, # CYRILLIC SMALL LETTER EN
+ 0x043e: 0xee, # CYRILLIC SMALL LETTER O
+ 0x043f: 0xef, # CYRILLIC SMALL LETTER PE
+ 0x0440: 0xf0, # CYRILLIC SMALL LETTER ER
+ 0x0441: 0xf1, # CYRILLIC SMALL LETTER ES
+ 0x0442: 0xf2, # CYRILLIC SMALL LETTER TE
+ 0x0443: 0xf3, # CYRILLIC SMALL LETTER U
+ 0x0444: 0xf4, # CYRILLIC SMALL LETTER EF
+ 0x0445: 0xf5, # CYRILLIC SMALL LETTER HA
+ 0x0446: 0xf6, # CYRILLIC SMALL LETTER TSE
+ 0x0447: 0xf7, # CYRILLIC SMALL LETTER CHE
+ 0x0448: 0xf8, # CYRILLIC SMALL LETTER SHA
+ 0x0449: 0xf9, # CYRILLIC SMALL LETTER SHCHA
+ 0x044a: 0xfa, # CYRILLIC SMALL LETTER HARD SIGN
+ 0x044b: 0xfb, # CYRILLIC SMALL LETTER YERU
+ 0x044c: 0xfc, # CYRILLIC SMALL LETTER SOFT SIGN
+ 0x044d: 0xfd, # CYRILLIC SMALL LETTER E
+ 0x044e: 0xfe, # CYRILLIC SMALL LETTER YU
+ 0x044f: 0xdf, # CYRILLIC SMALL LETTER YA
+ 0x0451: 0xde, # CYRILLIC SMALL LETTER IO
+ 0x0452: 0xac, # CYRILLIC SMALL LETTER DJE
+ 0x0453: 0xaf, # CYRILLIC SMALL LETTER GJE
+ 0x0454: 0xb9, # CYRILLIC SMALL LETTER UKRAINIAN IE
+ 0x0455: 0xcf, # CYRILLIC SMALL LETTER DZE
+ 0x0456: 0xb4, # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
+ 0x0457: 0xbb, # CYRILLIC SMALL LETTER YI
+ 0x0458: 0xc0, # CYRILLIC SMALL LETTER JE
+ 0x0459: 0xbd, # CYRILLIC SMALL LETTER LJE
+ 0x045a: 0xbf, # CYRILLIC SMALL LETTER NJE
+ 0x045b: 0xcc, # CYRILLIC SMALL LETTER TSHE
+ 0x045c: 0xce, # CYRILLIC SMALL LETTER KJE
+ 0x045e: 0xd9, # CYRILLIC SMALL LETTER SHORT U
+ 0x045f: 0xdb, # CYRILLIC SMALL LETTER DZHE
+ 0x0490: 0xa2, # CYRILLIC CAPITAL LETTER GHE WITH UPTURN
+ 0x0491: 0xb6, # CYRILLIC SMALL LETTER GHE WITH UPTURN
+ 0x2013: 0xd0, # EN DASH
+ 0x2014: 0xd1, # EM DASH
+ 0x2018: 0xd4, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0xd5, # RIGHT SINGLE QUOTATION MARK
+ 0x201c: 0xd2, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0xd3, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0xd7, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0xa0, # DAGGER
+ 0x2022: 0xa5, # BULLET
+ 0x2026: 0xc9, # HORIZONTAL ELLIPSIS
+ 0x20ac: 0xff, # EURO SIGN
+ 0x2116: 0xdc, # NUMERO SIGN
+ 0x2122: 0xaa, # TRADE MARK SIGN
+ 0x2206: 0xc6, # INCREMENT
+ 0x221a: 0xc3, # SQUARE ROOT
+ 0x221e: 0xb0, # INFINITY
+ 0x2248: 0xc5, # ALMOST EQUAL TO
+ 0x2260: 0xad, # NOT EQUAL TO
+ 0x2264: 0xb2, # LESS-THAN OR EQUAL TO
+ 0x2265: 0xb3, # GREATER-THAN OR EQUAL TO
} \ No newline at end of file
diff --git a/Lib/encodings/mac_farsi.py b/Lib/encodings/mac_farsi.py
index ed03c1ae2d3..8a09f8e7aaa 100644
--- a/Lib/encodings/mac_farsi.py
+++ b/Lib/encodings/mac_farsi.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/APPLE/FARSI.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/APPLE/FARSI.TXT' with gencodec.py.
"""#"
@@ -28,658 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x0081: 0x00a0, # NO-BREAK SPACE, right-left
- 0x0082: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x0083: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x0084: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x0085: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x0086: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x0087: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x0088: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x0089: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x008a: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x008b: 0x06ba, # ARABIC LETTER NOON GHUNNA
- 0x008c: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK, right-left
- 0x008d: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x008e: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x008f: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x0090: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x0091: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x0092: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x0093: 0x2026, # HORIZONTAL ELLIPSIS, right-left
- 0x0094: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x0095: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x0096: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x0097: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x0098: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK, right-left
- 0x0099: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x009a: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x009b: 0x00f7, # DIVISION SIGN, right-left
- 0x009c: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x009d: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x009e: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x009f: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00a0: 0x0020, # SPACE, right-left
- 0x00a1: 0x0021, # EXCLAMATION MARK, right-left
- 0x00a2: 0x0022, # QUOTATION MARK, right-left
- 0x00a3: 0x0023, # NUMBER SIGN, right-left
- 0x00a4: 0x0024, # DOLLAR SIGN, right-left
- 0x00a5: 0x066a, # ARABIC PERCENT SIGN
- 0x00a6: 0x0026, # AMPERSAND, right-left
- 0x00a7: 0x0027, # APOSTROPHE, right-left
- 0x00a8: 0x0028, # LEFT PARENTHESIS, right-left
- 0x00a9: 0x0029, # RIGHT PARENTHESIS, right-left
- 0x00aa: 0x002a, # ASTERISK, right-left
- 0x00ab: 0x002b, # PLUS SIGN, right-left
- 0x00ac: 0x060c, # ARABIC COMMA
- 0x00ad: 0x002d, # HYPHEN-MINUS, right-left
- 0x00ae: 0x002e, # FULL STOP, right-left
- 0x00af: 0x002f, # SOLIDUS, right-left
- 0x00b0: 0x06f0, # EXTENDED ARABIC-INDIC DIGIT ZERO, right-left (need override)
- 0x00b1: 0x06f1, # EXTENDED ARABIC-INDIC DIGIT ONE, right-left (need override)
- 0x00b2: 0x06f2, # EXTENDED ARABIC-INDIC DIGIT TWO, right-left (need override)
- 0x00b3: 0x06f3, # EXTENDED ARABIC-INDIC DIGIT THREE, right-left (need override)
- 0x00b4: 0x06f4, # EXTENDED ARABIC-INDIC DIGIT FOUR, right-left (need override)
- 0x00b5: 0x06f5, # EXTENDED ARABIC-INDIC DIGIT FIVE, right-left (need override)
- 0x00b6: 0x06f6, # EXTENDED ARABIC-INDIC DIGIT SIX, right-left (need override)
- 0x00b7: 0x06f7, # EXTENDED ARABIC-INDIC DIGIT SEVEN, right-left (need override)
- 0x00b8: 0x06f8, # EXTENDED ARABIC-INDIC DIGIT EIGHT, right-left (need override)
- 0x00b9: 0x06f9, # EXTENDED ARABIC-INDIC DIGIT NINE, right-left (need override)
- 0x00ba: 0x003a, # COLON, right-left
- 0x00bb: 0x061b, # ARABIC SEMICOLON
- 0x00bc: 0x003c, # LESS-THAN SIGN, right-left
- 0x00bd: 0x003d, # EQUALS SIGN, right-left
- 0x00be: 0x003e, # GREATER-THAN SIGN, right-left
- 0x00bf: 0x061f, # ARABIC QUESTION MARK
- 0x00c0: 0x274a, # EIGHT TEARDROP-SPOKED PROPELLER ASTERISK, right-left
- 0x00c1: 0x0621, # ARABIC LETTER HAMZA
- 0x00c2: 0x0622, # ARABIC LETTER ALEF WITH MADDA ABOVE
- 0x00c3: 0x0623, # ARABIC LETTER ALEF WITH HAMZA ABOVE
- 0x00c4: 0x0624, # ARABIC LETTER WAW WITH HAMZA ABOVE
- 0x00c5: 0x0625, # ARABIC LETTER ALEF WITH HAMZA BELOW
- 0x00c6: 0x0626, # ARABIC LETTER YEH WITH HAMZA ABOVE
- 0x00c7: 0x0627, # ARABIC LETTER ALEF
- 0x00c8: 0x0628, # ARABIC LETTER BEH
- 0x00c9: 0x0629, # ARABIC LETTER TEH MARBUTA
- 0x00ca: 0x062a, # ARABIC LETTER TEH
- 0x00cb: 0x062b, # ARABIC LETTER THEH
- 0x00cc: 0x062c, # ARABIC LETTER JEEM
- 0x00cd: 0x062d, # ARABIC LETTER HAH
- 0x00ce: 0x062e, # ARABIC LETTER KHAH
- 0x00cf: 0x062f, # ARABIC LETTER DAL
- 0x00d0: 0x0630, # ARABIC LETTER THAL
- 0x00d1: 0x0631, # ARABIC LETTER REH
- 0x00d2: 0x0632, # ARABIC LETTER ZAIN
- 0x00d3: 0x0633, # ARABIC LETTER SEEN
- 0x00d4: 0x0634, # ARABIC LETTER SHEEN
- 0x00d5: 0x0635, # ARABIC LETTER SAD
- 0x00d6: 0x0636, # ARABIC LETTER DAD
- 0x00d7: 0x0637, # ARABIC LETTER TAH
- 0x00d8: 0x0638, # ARABIC LETTER ZAH
- 0x00d9: 0x0639, # ARABIC LETTER AIN
- 0x00da: 0x063a, # ARABIC LETTER GHAIN
- 0x00db: 0x005b, # LEFT SQUARE BRACKET, right-left
- 0x00dc: 0x005c, # REVERSE SOLIDUS, right-left
- 0x00dd: 0x005d, # RIGHT SQUARE BRACKET, right-left
- 0x00de: 0x005e, # CIRCUMFLEX ACCENT, right-left
- 0x00df: 0x005f, # LOW LINE, right-left
- 0x00e0: 0x0640, # ARABIC TATWEEL
- 0x00e1: 0x0641, # ARABIC LETTER FEH
- 0x00e2: 0x0642, # ARABIC LETTER QAF
- 0x00e3: 0x0643, # ARABIC LETTER KAF
- 0x00e4: 0x0644, # ARABIC LETTER LAM
- 0x00e5: 0x0645, # ARABIC LETTER MEEM
- 0x00e6: 0x0646, # ARABIC LETTER NOON
- 0x00e7: 0x0647, # ARABIC LETTER HEH
- 0x00e8: 0x0648, # ARABIC LETTER WAW
- 0x00e9: 0x0649, # ARABIC LETTER ALEF MAKSURA
- 0x00ea: 0x064a, # ARABIC LETTER YEH
- 0x00eb: 0x064b, # ARABIC FATHATAN
- 0x00ec: 0x064c, # ARABIC DAMMATAN
- 0x00ed: 0x064d, # ARABIC KASRATAN
- 0x00ee: 0x064e, # ARABIC FATHA
- 0x00ef: 0x064f, # ARABIC DAMMA
- 0x00f0: 0x0650, # ARABIC KASRA
- 0x00f1: 0x0651, # ARABIC SHADDA
- 0x00f2: 0x0652, # ARABIC SUKUN
- 0x00f3: 0x067e, # ARABIC LETTER PEH
- 0x00f4: 0x0679, # ARABIC LETTER TTEH
- 0x00f5: 0x0686, # ARABIC LETTER TCHEH
- 0x00f6: 0x06d5, # ARABIC LETTER AE
- 0x00f7: 0x06a4, # ARABIC LETTER VEH
- 0x00f8: 0x06af, # ARABIC LETTER GAF
- 0x00f9: 0x0688, # ARABIC LETTER DDAL
- 0x00fa: 0x0691, # ARABIC LETTER RREH
- 0x00fb: 0x007b, # LEFT CURLY BRACKET, right-left
- 0x00fc: 0x007c, # VERTICAL LINE, right-left
- 0x00fd: 0x007d, # RIGHT CURLY BRACKET, right-left
- 0x00fe: 0x0698, # ARABIC LETTER JEH
- 0x00ff: 0x06d2, # ARABIC LETTER YEH BARREE
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> CONTROL CHARACTER
- u'\x01' # 0x0001 -> CONTROL CHARACTER
- u'\x02' # 0x0002 -> CONTROL CHARACTER
- u'\x03' # 0x0003 -> CONTROL CHARACTER
- u'\x04' # 0x0004 -> CONTROL CHARACTER
- u'\x05' # 0x0005 -> CONTROL CHARACTER
- u'\x06' # 0x0006 -> CONTROL CHARACTER
- u'\x07' # 0x0007 -> CONTROL CHARACTER
- u'\x08' # 0x0008 -> CONTROL CHARACTER
- u'\t' # 0x0009 -> CONTROL CHARACTER
- u'\n' # 0x000a -> CONTROL CHARACTER
- u'\x0b' # 0x000b -> CONTROL CHARACTER
- u'\x0c' # 0x000c -> CONTROL CHARACTER
- u'\r' # 0x000d -> CONTROL CHARACTER
- u'\x0e' # 0x000e -> CONTROL CHARACTER
- u'\x0f' # 0x000f -> CONTROL CHARACTER
- u'\x10' # 0x0010 -> CONTROL CHARACTER
- u'\x11' # 0x0011 -> CONTROL CHARACTER
- u'\x12' # 0x0012 -> CONTROL CHARACTER
- u'\x13' # 0x0013 -> CONTROL CHARACTER
- u'\x14' # 0x0014 -> CONTROL CHARACTER
- u'\x15' # 0x0015 -> CONTROL CHARACTER
- u'\x16' # 0x0016 -> CONTROL CHARACTER
- u'\x17' # 0x0017 -> CONTROL CHARACTER
- u'\x18' # 0x0018 -> CONTROL CHARACTER
- u'\x19' # 0x0019 -> CONTROL CHARACTER
- u'\x1a' # 0x001a -> CONTROL CHARACTER
- u'\x1b' # 0x001b -> CONTROL CHARACTER
- u'\x1c' # 0x001c -> CONTROL CHARACTER
- u'\x1d' # 0x001d -> CONTROL CHARACTER
- u'\x1e' # 0x001e -> CONTROL CHARACTER
- u'\x1f' # 0x001f -> CONTROL CHARACTER
- u' ' # 0x0020 -> SPACE, left-right
- u'!' # 0x0021 -> EXCLAMATION MARK, left-right
- u'"' # 0x0022 -> QUOTATION MARK, left-right
- u'#' # 0x0023 -> NUMBER SIGN, left-right
- u'$' # 0x0024 -> DOLLAR SIGN, left-right
- u'%' # 0x0025 -> PERCENT SIGN, left-right
- u'&' # 0x0026 -> AMPERSAND, left-right
- u"'" # 0x0027 -> APOSTROPHE, left-right
- u'(' # 0x0028 -> LEFT PARENTHESIS, left-right
- u')' # 0x0029 -> RIGHT PARENTHESIS, left-right
- u'*' # 0x002a -> ASTERISK, left-right
- u'+' # 0x002b -> PLUS SIGN, left-right
- u',' # 0x002c -> COMMA, left-right; in Arabic-script context, displayed as 0x066C ARABIC THOUSANDS SEPARATOR
- u'-' # 0x002d -> HYPHEN-MINUS, left-right
- u'.' # 0x002e -> FULL STOP, left-right; in Arabic-script context, displayed as 0x066B ARABIC DECIMAL SEPARATOR
- u'/' # 0x002f -> SOLIDUS, left-right
- u'0' # 0x0030 -> DIGIT ZERO; in Arabic-script context, displayed as 0x06F0 EXTENDED ARABIC-INDIC DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE; in Arabic-script context, displayed as 0x06F1 EXTENDED ARABIC-INDIC DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO; in Arabic-script context, displayed as 0x06F2 EXTENDED ARABIC-INDIC DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE; in Arabic-script context, displayed as 0x06F3 EXTENDED ARABIC-INDIC DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR; in Arabic-script context, displayed as 0x06F4 EXTENDED ARABIC-INDIC DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE; in Arabic-script context, displayed as 0x06F5 EXTENDED ARABIC-INDIC DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX; in Arabic-script context, displayed as 0x06F6 EXTENDED ARABIC-INDIC DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN; in Arabic-script context, displayed as 0x06F7 EXTENDED ARABIC-INDIC DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT; in Arabic-script context, displayed as 0x06F8 EXTENDED ARABIC-INDIC DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE; in Arabic-script context, displayed as 0x06F9 EXTENDED ARABIC-INDIC DIGIT NINE
- u':' # 0x003a -> COLON, left-right
- u';' # 0x003b -> SEMICOLON, left-right
- u'<' # 0x003c -> LESS-THAN SIGN, left-right
- u'=' # 0x003d -> EQUALS SIGN, left-right
- u'>' # 0x003e -> GREATER-THAN SIGN, left-right
- u'?' # 0x003f -> QUESTION MARK, left-right
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET, left-right
- u'\\' # 0x005c -> REVERSE SOLIDUS, left-right
- u']' # 0x005d -> RIGHT SQUARE BRACKET, left-right
- u'^' # 0x005e -> CIRCUMFLEX ACCENT, left-right
- u'_' # 0x005f -> LOW LINE, left-right
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET, left-right
- u'|' # 0x007c -> VERTICAL LINE, left-right
- u'}' # 0x007d -> RIGHT CURLY BRACKET, left-right
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> CONTROL CHARACTER
- u'\xc4' # 0x0080 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xa0' # 0x0081 -> NO-BREAK SPACE, right-left
- u'\xc7' # 0x0082 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc9' # 0x0083 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xd1' # 0x0084 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd6' # 0x0085 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xdc' # 0x0086 -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xe1' # 0x0087 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe0' # 0x0088 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe2' # 0x0089 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe4' # 0x008a -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\u06ba' # 0x008b -> ARABIC LETTER NOON GHUNNA
- u'\xab' # 0x008c -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK, right-left
- u'\xe7' # 0x008d -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe9' # 0x008e -> LATIN SMALL LETTER E WITH ACUTE
- u'\xe8' # 0x008f -> LATIN SMALL LETTER E WITH GRAVE
- u'\xea' # 0x0090 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x0091 -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xed' # 0x0092 -> LATIN SMALL LETTER I WITH ACUTE
- u'\u2026' # 0x0093 -> HORIZONTAL ELLIPSIS, right-left
- u'\xee' # 0x0094 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x0095 -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xf1' # 0x0096 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf3' # 0x0097 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xbb' # 0x0098 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK, right-left
- u'\xf4' # 0x0099 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf6' # 0x009a -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf7' # 0x009b -> DIVISION SIGN, right-left
- u'\xfa' # 0x009c -> LATIN SMALL LETTER U WITH ACUTE
- u'\xf9' # 0x009d -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfb' # 0x009e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x009f -> LATIN SMALL LETTER U WITH DIAERESIS
- u' ' # 0x00a0 -> SPACE, right-left
- u'!' # 0x00a1 -> EXCLAMATION MARK, right-left
- u'"' # 0x00a2 -> QUOTATION MARK, right-left
- u'#' # 0x00a3 -> NUMBER SIGN, right-left
- u'$' # 0x00a4 -> DOLLAR SIGN, right-left
- u'\u066a' # 0x00a5 -> ARABIC PERCENT SIGN
- u'&' # 0x00a6 -> AMPERSAND, right-left
- u"'" # 0x00a7 -> APOSTROPHE, right-left
- u'(' # 0x00a8 -> LEFT PARENTHESIS, right-left
- u')' # 0x00a9 -> RIGHT PARENTHESIS, right-left
- u'*' # 0x00aa -> ASTERISK, right-left
- u'+' # 0x00ab -> PLUS SIGN, right-left
- u'\u060c' # 0x00ac -> ARABIC COMMA
- u'-' # 0x00ad -> HYPHEN-MINUS, right-left
- u'.' # 0x00ae -> FULL STOP, right-left
- u'/' # 0x00af -> SOLIDUS, right-left
- u'\u06f0' # 0x00b0 -> EXTENDED ARABIC-INDIC DIGIT ZERO, right-left (need override)
- u'\u06f1' # 0x00b1 -> EXTENDED ARABIC-INDIC DIGIT ONE, right-left (need override)
- u'\u06f2' # 0x00b2 -> EXTENDED ARABIC-INDIC DIGIT TWO, right-left (need override)
- u'\u06f3' # 0x00b3 -> EXTENDED ARABIC-INDIC DIGIT THREE, right-left (need override)
- u'\u06f4' # 0x00b4 -> EXTENDED ARABIC-INDIC DIGIT FOUR, right-left (need override)
- u'\u06f5' # 0x00b5 -> EXTENDED ARABIC-INDIC DIGIT FIVE, right-left (need override)
- u'\u06f6' # 0x00b6 -> EXTENDED ARABIC-INDIC DIGIT SIX, right-left (need override)
- u'\u06f7' # 0x00b7 -> EXTENDED ARABIC-INDIC DIGIT SEVEN, right-left (need override)
- u'\u06f8' # 0x00b8 -> EXTENDED ARABIC-INDIC DIGIT EIGHT, right-left (need override)
- u'\u06f9' # 0x00b9 -> EXTENDED ARABIC-INDIC DIGIT NINE, right-left (need override)
- u':' # 0x00ba -> COLON, right-left
- u'\u061b' # 0x00bb -> ARABIC SEMICOLON
- u'<' # 0x00bc -> LESS-THAN SIGN, right-left
- u'=' # 0x00bd -> EQUALS SIGN, right-left
- u'>' # 0x00be -> GREATER-THAN SIGN, right-left
- u'\u061f' # 0x00bf -> ARABIC QUESTION MARK
- u'\u274a' # 0x00c0 -> EIGHT TEARDROP-SPOKED PROPELLER ASTERISK, right-left
- u'\u0621' # 0x00c1 -> ARABIC LETTER HAMZA
- u'\u0622' # 0x00c2 -> ARABIC LETTER ALEF WITH MADDA ABOVE
- u'\u0623' # 0x00c3 -> ARABIC LETTER ALEF WITH HAMZA ABOVE
- u'\u0624' # 0x00c4 -> ARABIC LETTER WAW WITH HAMZA ABOVE
- u'\u0625' # 0x00c5 -> ARABIC LETTER ALEF WITH HAMZA BELOW
- u'\u0626' # 0x00c6 -> ARABIC LETTER YEH WITH HAMZA ABOVE
- u'\u0627' # 0x00c7 -> ARABIC LETTER ALEF
- u'\u0628' # 0x00c8 -> ARABIC LETTER BEH
- u'\u0629' # 0x00c9 -> ARABIC LETTER TEH MARBUTA
- u'\u062a' # 0x00ca -> ARABIC LETTER TEH
- u'\u062b' # 0x00cb -> ARABIC LETTER THEH
- u'\u062c' # 0x00cc -> ARABIC LETTER JEEM
- u'\u062d' # 0x00cd -> ARABIC LETTER HAH
- u'\u062e' # 0x00ce -> ARABIC LETTER KHAH
- u'\u062f' # 0x00cf -> ARABIC LETTER DAL
- u'\u0630' # 0x00d0 -> ARABIC LETTER THAL
- u'\u0631' # 0x00d1 -> ARABIC LETTER REH
- u'\u0632' # 0x00d2 -> ARABIC LETTER ZAIN
- u'\u0633' # 0x00d3 -> ARABIC LETTER SEEN
- u'\u0634' # 0x00d4 -> ARABIC LETTER SHEEN
- u'\u0635' # 0x00d5 -> ARABIC LETTER SAD
- u'\u0636' # 0x00d6 -> ARABIC LETTER DAD
- u'\u0637' # 0x00d7 -> ARABIC LETTER TAH
- u'\u0638' # 0x00d8 -> ARABIC LETTER ZAH
- u'\u0639' # 0x00d9 -> ARABIC LETTER AIN
- u'\u063a' # 0x00da -> ARABIC LETTER GHAIN
- u'[' # 0x00db -> LEFT SQUARE BRACKET, right-left
- u'\\' # 0x00dc -> REVERSE SOLIDUS, right-left
- u']' # 0x00dd -> RIGHT SQUARE BRACKET, right-left
- u'^' # 0x00de -> CIRCUMFLEX ACCENT, right-left
- u'_' # 0x00df -> LOW LINE, right-left
- u'\u0640' # 0x00e0 -> ARABIC TATWEEL
- u'\u0641' # 0x00e1 -> ARABIC LETTER FEH
- u'\u0642' # 0x00e2 -> ARABIC LETTER QAF
- u'\u0643' # 0x00e3 -> ARABIC LETTER KAF
- u'\u0644' # 0x00e4 -> ARABIC LETTER LAM
- u'\u0645' # 0x00e5 -> ARABIC LETTER MEEM
- u'\u0646' # 0x00e6 -> ARABIC LETTER NOON
- u'\u0647' # 0x00e7 -> ARABIC LETTER HEH
- u'\u0648' # 0x00e8 -> ARABIC LETTER WAW
- u'\u0649' # 0x00e9 -> ARABIC LETTER ALEF MAKSURA
- u'\u064a' # 0x00ea -> ARABIC LETTER YEH
- u'\u064b' # 0x00eb -> ARABIC FATHATAN
- u'\u064c' # 0x00ec -> ARABIC DAMMATAN
- u'\u064d' # 0x00ed -> ARABIC KASRATAN
- u'\u064e' # 0x00ee -> ARABIC FATHA
- u'\u064f' # 0x00ef -> ARABIC DAMMA
- u'\u0650' # 0x00f0 -> ARABIC KASRA
- u'\u0651' # 0x00f1 -> ARABIC SHADDA
- u'\u0652' # 0x00f2 -> ARABIC SUKUN
- u'\u067e' # 0x00f3 -> ARABIC LETTER PEH
- u'\u0679' # 0x00f4 -> ARABIC LETTER TTEH
- u'\u0686' # 0x00f5 -> ARABIC LETTER TCHEH
- u'\u06d5' # 0x00f6 -> ARABIC LETTER AE
- u'\u06a4' # 0x00f7 -> ARABIC LETTER VEH
- u'\u06af' # 0x00f8 -> ARABIC LETTER GAF
- u'\u0688' # 0x00f9 -> ARABIC LETTER DDAL
- u'\u0691' # 0x00fa -> ARABIC LETTER RREH
- u'{' # 0x00fb -> LEFT CURLY BRACKET, right-left
- u'|' # 0x00fc -> VERTICAL LINE, right-left
- u'}' # 0x00fd -> RIGHT CURLY BRACKET, right-left
- u'\u0698' # 0x00fe -> ARABIC LETTER JEH
- u'\u06d2' # 0x00ff -> ARABIC LETTER YEH BARREE
+ u'\x00' # 0x00 -> CONTROL CHARACTER
+ u'\x01' # 0x01 -> CONTROL CHARACTER
+ u'\x02' # 0x02 -> CONTROL CHARACTER
+ u'\x03' # 0x03 -> CONTROL CHARACTER
+ u'\x04' # 0x04 -> CONTROL CHARACTER
+ u'\x05' # 0x05 -> CONTROL CHARACTER
+ u'\x06' # 0x06 -> CONTROL CHARACTER
+ u'\x07' # 0x07 -> CONTROL CHARACTER
+ u'\x08' # 0x08 -> CONTROL CHARACTER
+ u'\t' # 0x09 -> CONTROL CHARACTER
+ u'\n' # 0x0a -> CONTROL CHARACTER
+ u'\x0b' # 0x0b -> CONTROL CHARACTER
+ u'\x0c' # 0x0c -> CONTROL CHARACTER
+ u'\r' # 0x0d -> CONTROL CHARACTER
+ u'\x0e' # 0x0e -> CONTROL CHARACTER
+ u'\x0f' # 0x0f -> CONTROL CHARACTER
+ u'\x10' # 0x10 -> CONTROL CHARACTER
+ u'\x11' # 0x11 -> CONTROL CHARACTER
+ u'\x12' # 0x12 -> CONTROL CHARACTER
+ u'\x13' # 0x13 -> CONTROL CHARACTER
+ u'\x14' # 0x14 -> CONTROL CHARACTER
+ u'\x15' # 0x15 -> CONTROL CHARACTER
+ u'\x16' # 0x16 -> CONTROL CHARACTER
+ u'\x17' # 0x17 -> CONTROL CHARACTER
+ u'\x18' # 0x18 -> CONTROL CHARACTER
+ u'\x19' # 0x19 -> CONTROL CHARACTER
+ u'\x1a' # 0x1a -> CONTROL CHARACTER
+ u'\x1b' # 0x1b -> CONTROL CHARACTER
+ u'\x1c' # 0x1c -> CONTROL CHARACTER
+ u'\x1d' # 0x1d -> CONTROL CHARACTER
+ u'\x1e' # 0x1e -> CONTROL CHARACTER
+ u'\x1f' # 0x1f -> CONTROL CHARACTER
+ u' ' # 0x20 -> SPACE, left-right
+ u'!' # 0x21 -> EXCLAMATION MARK, left-right
+ u'"' # 0x22 -> QUOTATION MARK, left-right
+ u'#' # 0x23 -> NUMBER SIGN, left-right
+ u'$' # 0x24 -> DOLLAR SIGN, left-right
+ u'%' # 0x25 -> PERCENT SIGN, left-right
+ u'&' # 0x26 -> AMPERSAND, left-right
+ u"'" # 0x27 -> APOSTROPHE, left-right
+ u'(' # 0x28 -> LEFT PARENTHESIS, left-right
+ u')' # 0x29 -> RIGHT PARENTHESIS, left-right
+ u'*' # 0x2a -> ASTERISK, left-right
+ u'+' # 0x2b -> PLUS SIGN, left-right
+ u',' # 0x2c -> COMMA, left-right; in Arabic-script context, displayed as 0x066C ARABIC THOUSANDS SEPARATOR
+ u'-' # 0x2d -> HYPHEN-MINUS, left-right
+ u'.' # 0x2e -> FULL STOP, left-right; in Arabic-script context, displayed as 0x066B ARABIC DECIMAL SEPARATOR
+ u'/' # 0x2f -> SOLIDUS, left-right
+ u'0' # 0x30 -> DIGIT ZERO; in Arabic-script context, displayed as 0x06F0 EXTENDED ARABIC-INDIC DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE; in Arabic-script context, displayed as 0x06F1 EXTENDED ARABIC-INDIC DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO; in Arabic-script context, displayed as 0x06F2 EXTENDED ARABIC-INDIC DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE; in Arabic-script context, displayed as 0x06F3 EXTENDED ARABIC-INDIC DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR; in Arabic-script context, displayed as 0x06F4 EXTENDED ARABIC-INDIC DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE; in Arabic-script context, displayed as 0x06F5 EXTENDED ARABIC-INDIC DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX; in Arabic-script context, displayed as 0x06F6 EXTENDED ARABIC-INDIC DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN; in Arabic-script context, displayed as 0x06F7 EXTENDED ARABIC-INDIC DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT; in Arabic-script context, displayed as 0x06F8 EXTENDED ARABIC-INDIC DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE; in Arabic-script context, displayed as 0x06F9 EXTENDED ARABIC-INDIC DIGIT NINE
+ u':' # 0x3a -> COLON, left-right
+ u';' # 0x3b -> SEMICOLON, left-right
+ u'<' # 0x3c -> LESS-THAN SIGN, left-right
+ u'=' # 0x3d -> EQUALS SIGN, left-right
+ u'>' # 0x3e -> GREATER-THAN SIGN, left-right
+ u'?' # 0x3f -> QUESTION MARK, left-right
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET, left-right
+ u'\\' # 0x5c -> REVERSE SOLIDUS, left-right
+ u']' # 0x5d -> RIGHT SQUARE BRACKET, left-right
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT, left-right
+ u'_' # 0x5f -> LOW LINE, left-right
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET, left-right
+ u'|' # 0x7c -> VERTICAL LINE, left-right
+ u'}' # 0x7d -> RIGHT CURLY BRACKET, left-right
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> CONTROL CHARACTER
+ u'\xc4' # 0x80 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xa0' # 0x81 -> NO-BREAK SPACE, right-left
+ u'\xc7' # 0x82 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc9' # 0x83 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xd1' # 0x84 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd6' # 0x85 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xdc' # 0x86 -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xe1' # 0x87 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe0' # 0x88 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe2' # 0x89 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe4' # 0x8a -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\u06ba' # 0x8b -> ARABIC LETTER NOON GHUNNA
+ u'\xab' # 0x8c -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK, right-left
+ u'\xe7' # 0x8d -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe9' # 0x8e -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xe8' # 0x8f -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xea' # 0x90 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0x91 -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xed' # 0x92 -> LATIN SMALL LETTER I WITH ACUTE
+ u'\u2026' # 0x93 -> HORIZONTAL ELLIPSIS, right-left
+ u'\xee' # 0x94 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0x95 -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xf1' # 0x96 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf3' # 0x97 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xbb' # 0x98 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK, right-left
+ u'\xf4' # 0x99 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf6' # 0x9a -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf7' # 0x9b -> DIVISION SIGN, right-left
+ u'\xfa' # 0x9c -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xf9' # 0x9d -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfb' # 0x9e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0x9f -> LATIN SMALL LETTER U WITH DIAERESIS
+ u' ' # 0xa0 -> SPACE, right-left
+ u'!' # 0xa1 -> EXCLAMATION MARK, right-left
+ u'"' # 0xa2 -> QUOTATION MARK, right-left
+ u'#' # 0xa3 -> NUMBER SIGN, right-left
+ u'$' # 0xa4 -> DOLLAR SIGN, right-left
+ u'\u066a' # 0xa5 -> ARABIC PERCENT SIGN
+ u'&' # 0xa6 -> AMPERSAND, right-left
+ u"'" # 0xa7 -> APOSTROPHE, right-left
+ u'(' # 0xa8 -> LEFT PARENTHESIS, right-left
+ u')' # 0xa9 -> RIGHT PARENTHESIS, right-left
+ u'*' # 0xaa -> ASTERISK, right-left
+ u'+' # 0xab -> PLUS SIGN, right-left
+ u'\u060c' # 0xac -> ARABIC COMMA
+ u'-' # 0xad -> HYPHEN-MINUS, right-left
+ u'.' # 0xae -> FULL STOP, right-left
+ u'/' # 0xaf -> SOLIDUS, right-left
+ u'\u06f0' # 0xb0 -> EXTENDED ARABIC-INDIC DIGIT ZERO, right-left (need override)
+ u'\u06f1' # 0xb1 -> EXTENDED ARABIC-INDIC DIGIT ONE, right-left (need override)
+ u'\u06f2' # 0xb2 -> EXTENDED ARABIC-INDIC DIGIT TWO, right-left (need override)
+ u'\u06f3' # 0xb3 -> EXTENDED ARABIC-INDIC DIGIT THREE, right-left (need override)
+ u'\u06f4' # 0xb4 -> EXTENDED ARABIC-INDIC DIGIT FOUR, right-left (need override)
+ u'\u06f5' # 0xb5 -> EXTENDED ARABIC-INDIC DIGIT FIVE, right-left (need override)
+ u'\u06f6' # 0xb6 -> EXTENDED ARABIC-INDIC DIGIT SIX, right-left (need override)
+ u'\u06f7' # 0xb7 -> EXTENDED ARABIC-INDIC DIGIT SEVEN, right-left (need override)
+ u'\u06f8' # 0xb8 -> EXTENDED ARABIC-INDIC DIGIT EIGHT, right-left (need override)
+ u'\u06f9' # 0xb9 -> EXTENDED ARABIC-INDIC DIGIT NINE, right-left (need override)
+ u':' # 0xba -> COLON, right-left
+ u'\u061b' # 0xbb -> ARABIC SEMICOLON
+ u'<' # 0xbc -> LESS-THAN SIGN, right-left
+ u'=' # 0xbd -> EQUALS SIGN, right-left
+ u'>' # 0xbe -> GREATER-THAN SIGN, right-left
+ u'\u061f' # 0xbf -> ARABIC QUESTION MARK
+ u'\u274a' # 0xc0 -> EIGHT TEARDROP-SPOKED PROPELLER ASTERISK, right-left
+ u'\u0621' # 0xc1 -> ARABIC LETTER HAMZA
+ u'\u0622' # 0xc2 -> ARABIC LETTER ALEF WITH MADDA ABOVE
+ u'\u0623' # 0xc3 -> ARABIC LETTER ALEF WITH HAMZA ABOVE
+ u'\u0624' # 0xc4 -> ARABIC LETTER WAW WITH HAMZA ABOVE
+ u'\u0625' # 0xc5 -> ARABIC LETTER ALEF WITH HAMZA BELOW
+ u'\u0626' # 0xc6 -> ARABIC LETTER YEH WITH HAMZA ABOVE
+ u'\u0627' # 0xc7 -> ARABIC LETTER ALEF
+ u'\u0628' # 0xc8 -> ARABIC LETTER BEH
+ u'\u0629' # 0xc9 -> ARABIC LETTER TEH MARBUTA
+ u'\u062a' # 0xca -> ARABIC LETTER TEH
+ u'\u062b' # 0xcb -> ARABIC LETTER THEH
+ u'\u062c' # 0xcc -> ARABIC LETTER JEEM
+ u'\u062d' # 0xcd -> ARABIC LETTER HAH
+ u'\u062e' # 0xce -> ARABIC LETTER KHAH
+ u'\u062f' # 0xcf -> ARABIC LETTER DAL
+ u'\u0630' # 0xd0 -> ARABIC LETTER THAL
+ u'\u0631' # 0xd1 -> ARABIC LETTER REH
+ u'\u0632' # 0xd2 -> ARABIC LETTER ZAIN
+ u'\u0633' # 0xd3 -> ARABIC LETTER SEEN
+ u'\u0634' # 0xd4 -> ARABIC LETTER SHEEN
+ u'\u0635' # 0xd5 -> ARABIC LETTER SAD
+ u'\u0636' # 0xd6 -> ARABIC LETTER DAD
+ u'\u0637' # 0xd7 -> ARABIC LETTER TAH
+ u'\u0638' # 0xd8 -> ARABIC LETTER ZAH
+ u'\u0639' # 0xd9 -> ARABIC LETTER AIN
+ u'\u063a' # 0xda -> ARABIC LETTER GHAIN
+ u'[' # 0xdb -> LEFT SQUARE BRACKET, right-left
+ u'\\' # 0xdc -> REVERSE SOLIDUS, right-left
+ u']' # 0xdd -> RIGHT SQUARE BRACKET, right-left
+ u'^' # 0xde -> CIRCUMFLEX ACCENT, right-left
+ u'_' # 0xdf -> LOW LINE, right-left
+ u'\u0640' # 0xe0 -> ARABIC TATWEEL
+ u'\u0641' # 0xe1 -> ARABIC LETTER FEH
+ u'\u0642' # 0xe2 -> ARABIC LETTER QAF
+ u'\u0643' # 0xe3 -> ARABIC LETTER KAF
+ u'\u0644' # 0xe4 -> ARABIC LETTER LAM
+ u'\u0645' # 0xe5 -> ARABIC LETTER MEEM
+ u'\u0646' # 0xe6 -> ARABIC LETTER NOON
+ u'\u0647' # 0xe7 -> ARABIC LETTER HEH
+ u'\u0648' # 0xe8 -> ARABIC LETTER WAW
+ u'\u0649' # 0xe9 -> ARABIC LETTER ALEF MAKSURA
+ u'\u064a' # 0xea -> ARABIC LETTER YEH
+ u'\u064b' # 0xeb -> ARABIC FATHATAN
+ u'\u064c' # 0xec -> ARABIC DAMMATAN
+ u'\u064d' # 0xed -> ARABIC KASRATAN
+ u'\u064e' # 0xee -> ARABIC FATHA
+ u'\u064f' # 0xef -> ARABIC DAMMA
+ u'\u0650' # 0xf0 -> ARABIC KASRA
+ u'\u0651' # 0xf1 -> ARABIC SHADDA
+ u'\u0652' # 0xf2 -> ARABIC SUKUN
+ u'\u067e' # 0xf3 -> ARABIC LETTER PEH
+ u'\u0679' # 0xf4 -> ARABIC LETTER TTEH
+ u'\u0686' # 0xf5 -> ARABIC LETTER TCHEH
+ u'\u06d5' # 0xf6 -> ARABIC LETTER AE
+ u'\u06a4' # 0xf7 -> ARABIC LETTER VEH
+ u'\u06af' # 0xf8 -> ARABIC LETTER GAF
+ u'\u0688' # 0xf9 -> ARABIC LETTER DDAL
+ u'\u0691' # 0xfa -> ARABIC LETTER RREH
+ u'{' # 0xfb -> LEFT CURLY BRACKET, right-left
+ u'|' # 0xfc -> VERTICAL LINE, right-left
+ u'}' # 0xfd -> RIGHT CURLY BRACKET, right-left
+ u'\u0698' # 0xfe -> ARABIC LETTER JEH
+ u'\u06d2' # 0xff -> ARABIC LETTER YEH BARREE
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # CONTROL CHARACTER
- 0x0001: 0x0001, # CONTROL CHARACTER
- 0x0002: 0x0002, # CONTROL CHARACTER
- 0x0003: 0x0003, # CONTROL CHARACTER
- 0x0004: 0x0004, # CONTROL CHARACTER
- 0x0005: 0x0005, # CONTROL CHARACTER
- 0x0006: 0x0006, # CONTROL CHARACTER
- 0x0007: 0x0007, # CONTROL CHARACTER
- 0x0008: 0x0008, # CONTROL CHARACTER
- 0x0009: 0x0009, # CONTROL CHARACTER
- 0x000a: 0x000a, # CONTROL CHARACTER
- 0x000b: 0x000b, # CONTROL CHARACTER
- 0x000c: 0x000c, # CONTROL CHARACTER
- 0x000d: 0x000d, # CONTROL CHARACTER
- 0x000e: 0x000e, # CONTROL CHARACTER
- 0x000f: 0x000f, # CONTROL CHARACTER
- 0x0010: 0x0010, # CONTROL CHARACTER
- 0x0011: 0x0011, # CONTROL CHARACTER
- 0x0012: 0x0012, # CONTROL CHARACTER
- 0x0013: 0x0013, # CONTROL CHARACTER
- 0x0014: 0x0014, # CONTROL CHARACTER
- 0x0015: 0x0015, # CONTROL CHARACTER
- 0x0016: 0x0016, # CONTROL CHARACTER
- 0x0017: 0x0017, # CONTROL CHARACTER
- 0x0018: 0x0018, # CONTROL CHARACTER
- 0x0019: 0x0019, # CONTROL CHARACTER
- 0x001a: 0x001a, # CONTROL CHARACTER
- 0x001b: 0x001b, # CONTROL CHARACTER
- 0x001c: 0x001c, # CONTROL CHARACTER
- 0x001d: 0x001d, # CONTROL CHARACTER
- 0x001e: 0x001e, # CONTROL CHARACTER
- 0x001f: 0x001f, # CONTROL CHARACTER
- 0x0020: 0x0020, # SPACE, left-right
- 0x0020: 0x00a0, # SPACE, right-left
- 0x0021: 0x0021, # EXCLAMATION MARK, left-right
- 0x0021: 0x00a1, # EXCLAMATION MARK, right-left
- 0x0022: 0x0022, # QUOTATION MARK, left-right
- 0x0022: 0x00a2, # QUOTATION MARK, right-left
- 0x0023: 0x0023, # NUMBER SIGN, left-right
- 0x0023: 0x00a3, # NUMBER SIGN, right-left
- 0x0024: 0x0024, # DOLLAR SIGN, left-right
- 0x0024: 0x00a4, # DOLLAR SIGN, right-left
- 0x0025: 0x0025, # PERCENT SIGN, left-right
- 0x0026: 0x0026, # AMPERSAND, left-right
- 0x0026: 0x00a6, # AMPERSAND, right-left
- 0x0027: 0x0027, # APOSTROPHE, left-right
- 0x0027: 0x00a7, # APOSTROPHE, right-left
- 0x0028: 0x0028, # LEFT PARENTHESIS, left-right
- 0x0028: 0x00a8, # LEFT PARENTHESIS, right-left
- 0x0029: 0x0029, # RIGHT PARENTHESIS, left-right
- 0x0029: 0x00a9, # RIGHT PARENTHESIS, right-left
- 0x002a: 0x002a, # ASTERISK, left-right
- 0x002a: 0x00aa, # ASTERISK, right-left
- 0x002b: 0x002b, # PLUS SIGN, left-right
- 0x002b: 0x00ab, # PLUS SIGN, right-left
- 0x002c: 0x002c, # COMMA, left-right; in Arabic-script context, displayed as 0x066C ARABIC THOUSANDS SEPARATOR
- 0x002d: 0x002d, # HYPHEN-MINUS, left-right
- 0x002d: 0x00ad, # HYPHEN-MINUS, right-left
- 0x002e: 0x002e, # FULL STOP, left-right; in Arabic-script context, displayed as 0x066B ARABIC DECIMAL SEPARATOR
- 0x002e: 0x00ae, # FULL STOP, right-left
- 0x002f: 0x002f, # SOLIDUS, left-right
- 0x002f: 0x00af, # SOLIDUS, right-left
- 0x0030: 0x0030, # DIGIT ZERO; in Arabic-script context, displayed as 0x06F0 EXTENDED ARABIC-INDIC DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE; in Arabic-script context, displayed as 0x06F1 EXTENDED ARABIC-INDIC DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO; in Arabic-script context, displayed as 0x06F2 EXTENDED ARABIC-INDIC DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE; in Arabic-script context, displayed as 0x06F3 EXTENDED ARABIC-INDIC DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR; in Arabic-script context, displayed as 0x06F4 EXTENDED ARABIC-INDIC DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE; in Arabic-script context, displayed as 0x06F5 EXTENDED ARABIC-INDIC DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX; in Arabic-script context, displayed as 0x06F6 EXTENDED ARABIC-INDIC DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN; in Arabic-script context, displayed as 0x06F7 EXTENDED ARABIC-INDIC DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT; in Arabic-script context, displayed as 0x06F8 EXTENDED ARABIC-INDIC DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE; in Arabic-script context, displayed as 0x06F9 EXTENDED ARABIC-INDIC DIGIT NINE
- 0x003a: 0x003a, # COLON, left-right
- 0x003a: 0x00ba, # COLON, right-left
- 0x003b: 0x003b, # SEMICOLON, left-right
- 0x003c: 0x003c, # LESS-THAN SIGN, left-right
- 0x003c: 0x00bc, # LESS-THAN SIGN, right-left
- 0x003d: 0x003d, # EQUALS SIGN, left-right
- 0x003d: 0x00bd, # EQUALS SIGN, right-left
- 0x003e: 0x003e, # GREATER-THAN SIGN, left-right
- 0x003e: 0x00be, # GREATER-THAN SIGN, right-left
- 0x003f: 0x003f, # QUESTION MARK, left-right
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET, left-right
- 0x005b: 0x00db, # LEFT SQUARE BRACKET, right-left
- 0x005c: 0x005c, # REVERSE SOLIDUS, left-right
- 0x005c: 0x00dc, # REVERSE SOLIDUS, right-left
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET, left-right
- 0x005d: 0x00dd, # RIGHT SQUARE BRACKET, right-left
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT, left-right
- 0x005e: 0x00de, # CIRCUMFLEX ACCENT, right-left
- 0x005f: 0x005f, # LOW LINE, left-right
- 0x005f: 0x00df, # LOW LINE, right-left
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET, left-right
- 0x007b: 0x00fb, # LEFT CURLY BRACKET, right-left
- 0x007c: 0x007c, # VERTICAL LINE, left-right
- 0x007c: 0x00fc, # VERTICAL LINE, right-left
- 0x007d: 0x007d, # RIGHT CURLY BRACKET, left-right
- 0x007d: 0x00fd, # RIGHT CURLY BRACKET, right-left
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # CONTROL CHARACTER
- 0x00a0: 0x0081, # NO-BREAK SPACE, right-left
- 0x00ab: 0x008c, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK, right-left
- 0x00bb: 0x0098, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK, right-left
- 0x00c4: 0x0080, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c7: 0x0082, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c9: 0x0083, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00d1: 0x0084, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d6: 0x0085, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00dc: 0x0086, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00e0: 0x0088, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x0087, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x0089, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e4: 0x008a, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e7: 0x008d, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x008f, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x008e, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x0090, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x0091, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ed: 0x0092, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x0094, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x0095, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f1: 0x0096, # LATIN SMALL LETTER N WITH TILDE
- 0x00f3: 0x0097, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x0099, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f6: 0x009a, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x009b, # DIVISION SIGN, right-left
- 0x00f9: 0x009d, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x009c, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x009e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x009f, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x060c: 0x00ac, # ARABIC COMMA
- 0x061b: 0x00bb, # ARABIC SEMICOLON
- 0x061f: 0x00bf, # ARABIC QUESTION MARK
- 0x0621: 0x00c1, # ARABIC LETTER HAMZA
- 0x0622: 0x00c2, # ARABIC LETTER ALEF WITH MADDA ABOVE
- 0x0623: 0x00c3, # ARABIC LETTER ALEF WITH HAMZA ABOVE
- 0x0624: 0x00c4, # ARABIC LETTER WAW WITH HAMZA ABOVE
- 0x0625: 0x00c5, # ARABIC LETTER ALEF WITH HAMZA BELOW
- 0x0626: 0x00c6, # ARABIC LETTER YEH WITH HAMZA ABOVE
- 0x0627: 0x00c7, # ARABIC LETTER ALEF
- 0x0628: 0x00c8, # ARABIC LETTER BEH
- 0x0629: 0x00c9, # ARABIC LETTER TEH MARBUTA
- 0x062a: 0x00ca, # ARABIC LETTER TEH
- 0x062b: 0x00cb, # ARABIC LETTER THEH
- 0x062c: 0x00cc, # ARABIC LETTER JEEM
- 0x062d: 0x00cd, # ARABIC LETTER HAH
- 0x062e: 0x00ce, # ARABIC LETTER KHAH
- 0x062f: 0x00cf, # ARABIC LETTER DAL
- 0x0630: 0x00d0, # ARABIC LETTER THAL
- 0x0631: 0x00d1, # ARABIC LETTER REH
- 0x0632: 0x00d2, # ARABIC LETTER ZAIN
- 0x0633: 0x00d3, # ARABIC LETTER SEEN
- 0x0634: 0x00d4, # ARABIC LETTER SHEEN
- 0x0635: 0x00d5, # ARABIC LETTER SAD
- 0x0636: 0x00d6, # ARABIC LETTER DAD
- 0x0637: 0x00d7, # ARABIC LETTER TAH
- 0x0638: 0x00d8, # ARABIC LETTER ZAH
- 0x0639: 0x00d9, # ARABIC LETTER AIN
- 0x063a: 0x00da, # ARABIC LETTER GHAIN
- 0x0640: 0x00e0, # ARABIC TATWEEL
- 0x0641: 0x00e1, # ARABIC LETTER FEH
- 0x0642: 0x00e2, # ARABIC LETTER QAF
- 0x0643: 0x00e3, # ARABIC LETTER KAF
- 0x0644: 0x00e4, # ARABIC LETTER LAM
- 0x0645: 0x00e5, # ARABIC LETTER MEEM
- 0x0646: 0x00e6, # ARABIC LETTER NOON
- 0x0647: 0x00e7, # ARABIC LETTER HEH
- 0x0648: 0x00e8, # ARABIC LETTER WAW
- 0x0649: 0x00e9, # ARABIC LETTER ALEF MAKSURA
- 0x064a: 0x00ea, # ARABIC LETTER YEH
- 0x064b: 0x00eb, # ARABIC FATHATAN
- 0x064c: 0x00ec, # ARABIC DAMMATAN
- 0x064d: 0x00ed, # ARABIC KASRATAN
- 0x064e: 0x00ee, # ARABIC FATHA
- 0x064f: 0x00ef, # ARABIC DAMMA
- 0x0650: 0x00f0, # ARABIC KASRA
- 0x0651: 0x00f1, # ARABIC SHADDA
- 0x0652: 0x00f2, # ARABIC SUKUN
- 0x066a: 0x00a5, # ARABIC PERCENT SIGN
- 0x0679: 0x00f4, # ARABIC LETTER TTEH
- 0x067e: 0x00f3, # ARABIC LETTER PEH
- 0x0686: 0x00f5, # ARABIC LETTER TCHEH
- 0x0688: 0x00f9, # ARABIC LETTER DDAL
- 0x0691: 0x00fa, # ARABIC LETTER RREH
- 0x0698: 0x00fe, # ARABIC LETTER JEH
- 0x06a4: 0x00f7, # ARABIC LETTER VEH
- 0x06af: 0x00f8, # ARABIC LETTER GAF
- 0x06ba: 0x008b, # ARABIC LETTER NOON GHUNNA
- 0x06d2: 0x00ff, # ARABIC LETTER YEH BARREE
- 0x06d5: 0x00f6, # ARABIC LETTER AE
- 0x06f0: 0x00b0, # EXTENDED ARABIC-INDIC DIGIT ZERO, right-left (need override)
- 0x06f1: 0x00b1, # EXTENDED ARABIC-INDIC DIGIT ONE, right-left (need override)
- 0x06f2: 0x00b2, # EXTENDED ARABIC-INDIC DIGIT TWO, right-left (need override)
- 0x06f3: 0x00b3, # EXTENDED ARABIC-INDIC DIGIT THREE, right-left (need override)
- 0x06f4: 0x00b4, # EXTENDED ARABIC-INDIC DIGIT FOUR, right-left (need override)
- 0x06f5: 0x00b5, # EXTENDED ARABIC-INDIC DIGIT FIVE, right-left (need override)
- 0x06f6: 0x00b6, # EXTENDED ARABIC-INDIC DIGIT SIX, right-left (need override)
- 0x06f7: 0x00b7, # EXTENDED ARABIC-INDIC DIGIT SEVEN, right-left (need override)
- 0x06f8: 0x00b8, # EXTENDED ARABIC-INDIC DIGIT EIGHT, right-left (need override)
- 0x06f9: 0x00b9, # EXTENDED ARABIC-INDIC DIGIT NINE, right-left (need override)
- 0x2026: 0x0093, # HORIZONTAL ELLIPSIS, right-left
- 0x274a: 0x00c0, # EIGHT TEARDROP-SPOKED PROPELLER ASTERISK, right-left
+ 0x0000: 0x00, # CONTROL CHARACTER
+ 0x0001: 0x01, # CONTROL CHARACTER
+ 0x0002: 0x02, # CONTROL CHARACTER
+ 0x0003: 0x03, # CONTROL CHARACTER
+ 0x0004: 0x04, # CONTROL CHARACTER
+ 0x0005: 0x05, # CONTROL CHARACTER
+ 0x0006: 0x06, # CONTROL CHARACTER
+ 0x0007: 0x07, # CONTROL CHARACTER
+ 0x0008: 0x08, # CONTROL CHARACTER
+ 0x0009: 0x09, # CONTROL CHARACTER
+ 0x000a: 0x0a, # CONTROL CHARACTER
+ 0x000b: 0x0b, # CONTROL CHARACTER
+ 0x000c: 0x0c, # CONTROL CHARACTER
+ 0x000d: 0x0d, # CONTROL CHARACTER
+ 0x000e: 0x0e, # CONTROL CHARACTER
+ 0x000f: 0x0f, # CONTROL CHARACTER
+ 0x0010: 0x10, # CONTROL CHARACTER
+ 0x0011: 0x11, # CONTROL CHARACTER
+ 0x0012: 0x12, # CONTROL CHARACTER
+ 0x0013: 0x13, # CONTROL CHARACTER
+ 0x0014: 0x14, # CONTROL CHARACTER
+ 0x0015: 0x15, # CONTROL CHARACTER
+ 0x0016: 0x16, # CONTROL CHARACTER
+ 0x0017: 0x17, # CONTROL CHARACTER
+ 0x0018: 0x18, # CONTROL CHARACTER
+ 0x0019: 0x19, # CONTROL CHARACTER
+ 0x001a: 0x1a, # CONTROL CHARACTER
+ 0x001b: 0x1b, # CONTROL CHARACTER
+ 0x001c: 0x1c, # CONTROL CHARACTER
+ 0x001d: 0x1d, # CONTROL CHARACTER
+ 0x001e: 0x1e, # CONTROL CHARACTER
+ 0x001f: 0x1f, # CONTROL CHARACTER
+ 0x0020: 0x20, # SPACE, left-right
+ 0x0020: 0xa0, # SPACE, right-left
+ 0x0021: 0x21, # EXCLAMATION MARK, left-right
+ 0x0021: 0xa1, # EXCLAMATION MARK, right-left
+ 0x0022: 0x22, # QUOTATION MARK, left-right
+ 0x0022: 0xa2, # QUOTATION MARK, right-left
+ 0x0023: 0x23, # NUMBER SIGN, left-right
+ 0x0023: 0xa3, # NUMBER SIGN, right-left
+ 0x0024: 0x24, # DOLLAR SIGN, left-right
+ 0x0024: 0xa4, # DOLLAR SIGN, right-left
+ 0x0025: 0x25, # PERCENT SIGN, left-right
+ 0x0026: 0x26, # AMPERSAND, left-right
+ 0x0026: 0xa6, # AMPERSAND, right-left
+ 0x0027: 0x27, # APOSTROPHE, left-right
+ 0x0027: 0xa7, # APOSTROPHE, right-left
+ 0x0028: 0x28, # LEFT PARENTHESIS, left-right
+ 0x0028: 0xa8, # LEFT PARENTHESIS, right-left
+ 0x0029: 0x29, # RIGHT PARENTHESIS, left-right
+ 0x0029: 0xa9, # RIGHT PARENTHESIS, right-left
+ 0x002a: 0x2a, # ASTERISK, left-right
+ 0x002a: 0xaa, # ASTERISK, right-left
+ 0x002b: 0x2b, # PLUS SIGN, left-right
+ 0x002b: 0xab, # PLUS SIGN, right-left
+ 0x002c: 0x2c, # COMMA, left-right; in Arabic-script context, displayed as 0x066C ARABIC THOUSANDS SEPARATOR
+ 0x002d: 0x2d, # HYPHEN-MINUS, left-right
+ 0x002d: 0xad, # HYPHEN-MINUS, right-left
+ 0x002e: 0x2e, # FULL STOP, left-right; in Arabic-script context, displayed as 0x066B ARABIC DECIMAL SEPARATOR
+ 0x002e: 0xae, # FULL STOP, right-left
+ 0x002f: 0x2f, # SOLIDUS, left-right
+ 0x002f: 0xaf, # SOLIDUS, right-left
+ 0x0030: 0x30, # DIGIT ZERO; in Arabic-script context, displayed as 0x06F0 EXTENDED ARABIC-INDIC DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE; in Arabic-script context, displayed as 0x06F1 EXTENDED ARABIC-INDIC DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO; in Arabic-script context, displayed as 0x06F2 EXTENDED ARABIC-INDIC DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE; in Arabic-script context, displayed as 0x06F3 EXTENDED ARABIC-INDIC DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR; in Arabic-script context, displayed as 0x06F4 EXTENDED ARABIC-INDIC DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE; in Arabic-script context, displayed as 0x06F5 EXTENDED ARABIC-INDIC DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX; in Arabic-script context, displayed as 0x06F6 EXTENDED ARABIC-INDIC DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN; in Arabic-script context, displayed as 0x06F7 EXTENDED ARABIC-INDIC DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT; in Arabic-script context, displayed as 0x06F8 EXTENDED ARABIC-INDIC DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE; in Arabic-script context, displayed as 0x06F9 EXTENDED ARABIC-INDIC DIGIT NINE
+ 0x003a: 0x3a, # COLON, left-right
+ 0x003a: 0xba, # COLON, right-left
+ 0x003b: 0x3b, # SEMICOLON, left-right
+ 0x003c: 0x3c, # LESS-THAN SIGN, left-right
+ 0x003c: 0xbc, # LESS-THAN SIGN, right-left
+ 0x003d: 0x3d, # EQUALS SIGN, left-right
+ 0x003d: 0xbd, # EQUALS SIGN, right-left
+ 0x003e: 0x3e, # GREATER-THAN SIGN, left-right
+ 0x003e: 0xbe, # GREATER-THAN SIGN, right-left
+ 0x003f: 0x3f, # QUESTION MARK, left-right
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET, left-right
+ 0x005b: 0xdb, # LEFT SQUARE BRACKET, right-left
+ 0x005c: 0x5c, # REVERSE SOLIDUS, left-right
+ 0x005c: 0xdc, # REVERSE SOLIDUS, right-left
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET, left-right
+ 0x005d: 0xdd, # RIGHT SQUARE BRACKET, right-left
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT, left-right
+ 0x005e: 0xde, # CIRCUMFLEX ACCENT, right-left
+ 0x005f: 0x5f, # LOW LINE, left-right
+ 0x005f: 0xdf, # LOW LINE, right-left
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET, left-right
+ 0x007b: 0xfb, # LEFT CURLY BRACKET, right-left
+ 0x007c: 0x7c, # VERTICAL LINE, left-right
+ 0x007c: 0xfc, # VERTICAL LINE, right-left
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET, left-right
+ 0x007d: 0xfd, # RIGHT CURLY BRACKET, right-left
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # CONTROL CHARACTER
+ 0x00a0: 0x81, # NO-BREAK SPACE, right-left
+ 0x00ab: 0x8c, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK, right-left
+ 0x00bb: 0x98, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK, right-left
+ 0x00c4: 0x80, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c7: 0x82, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c9: 0x83, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00d1: 0x84, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d6: 0x85, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00dc: 0x86, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00e0: 0x88, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0x87, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0x89, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e4: 0x8a, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e7: 0x8d, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0x8f, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0x8e, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0x90, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0x91, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ed: 0x92, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0x94, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0x95, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f1: 0x96, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f3: 0x97, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0x99, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f6: 0x9a, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0x9b, # DIVISION SIGN, right-left
+ 0x00f9: 0x9d, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0x9c, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0x9e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0x9f, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x060c: 0xac, # ARABIC COMMA
+ 0x061b: 0xbb, # ARABIC SEMICOLON
+ 0x061f: 0xbf, # ARABIC QUESTION MARK
+ 0x0621: 0xc1, # ARABIC LETTER HAMZA
+ 0x0622: 0xc2, # ARABIC LETTER ALEF WITH MADDA ABOVE
+ 0x0623: 0xc3, # ARABIC LETTER ALEF WITH HAMZA ABOVE
+ 0x0624: 0xc4, # ARABIC LETTER WAW WITH HAMZA ABOVE
+ 0x0625: 0xc5, # ARABIC LETTER ALEF WITH HAMZA BELOW
+ 0x0626: 0xc6, # ARABIC LETTER YEH WITH HAMZA ABOVE
+ 0x0627: 0xc7, # ARABIC LETTER ALEF
+ 0x0628: 0xc8, # ARABIC LETTER BEH
+ 0x0629: 0xc9, # ARABIC LETTER TEH MARBUTA
+ 0x062a: 0xca, # ARABIC LETTER TEH
+ 0x062b: 0xcb, # ARABIC LETTER THEH
+ 0x062c: 0xcc, # ARABIC LETTER JEEM
+ 0x062d: 0xcd, # ARABIC LETTER HAH
+ 0x062e: 0xce, # ARABIC LETTER KHAH
+ 0x062f: 0xcf, # ARABIC LETTER DAL
+ 0x0630: 0xd0, # ARABIC LETTER THAL
+ 0x0631: 0xd1, # ARABIC LETTER REH
+ 0x0632: 0xd2, # ARABIC LETTER ZAIN
+ 0x0633: 0xd3, # ARABIC LETTER SEEN
+ 0x0634: 0xd4, # ARABIC LETTER SHEEN
+ 0x0635: 0xd5, # ARABIC LETTER SAD
+ 0x0636: 0xd6, # ARABIC LETTER DAD
+ 0x0637: 0xd7, # ARABIC LETTER TAH
+ 0x0638: 0xd8, # ARABIC LETTER ZAH
+ 0x0639: 0xd9, # ARABIC LETTER AIN
+ 0x063a: 0xda, # ARABIC LETTER GHAIN
+ 0x0640: 0xe0, # ARABIC TATWEEL
+ 0x0641: 0xe1, # ARABIC LETTER FEH
+ 0x0642: 0xe2, # ARABIC LETTER QAF
+ 0x0643: 0xe3, # ARABIC LETTER KAF
+ 0x0644: 0xe4, # ARABIC LETTER LAM
+ 0x0645: 0xe5, # ARABIC LETTER MEEM
+ 0x0646: 0xe6, # ARABIC LETTER NOON
+ 0x0647: 0xe7, # ARABIC LETTER HEH
+ 0x0648: 0xe8, # ARABIC LETTER WAW
+ 0x0649: 0xe9, # ARABIC LETTER ALEF MAKSURA
+ 0x064a: 0xea, # ARABIC LETTER YEH
+ 0x064b: 0xeb, # ARABIC FATHATAN
+ 0x064c: 0xec, # ARABIC DAMMATAN
+ 0x064d: 0xed, # ARABIC KASRATAN
+ 0x064e: 0xee, # ARABIC FATHA
+ 0x064f: 0xef, # ARABIC DAMMA
+ 0x0650: 0xf0, # ARABIC KASRA
+ 0x0651: 0xf1, # ARABIC SHADDA
+ 0x0652: 0xf2, # ARABIC SUKUN
+ 0x066a: 0xa5, # ARABIC PERCENT SIGN
+ 0x0679: 0xf4, # ARABIC LETTER TTEH
+ 0x067e: 0xf3, # ARABIC LETTER PEH
+ 0x0686: 0xf5, # ARABIC LETTER TCHEH
+ 0x0688: 0xf9, # ARABIC LETTER DDAL
+ 0x0691: 0xfa, # ARABIC LETTER RREH
+ 0x0698: 0xfe, # ARABIC LETTER JEH
+ 0x06a4: 0xf7, # ARABIC LETTER VEH
+ 0x06af: 0xf8, # ARABIC LETTER GAF
+ 0x06ba: 0x8b, # ARABIC LETTER NOON GHUNNA
+ 0x06d2: 0xff, # ARABIC LETTER YEH BARREE
+ 0x06d5: 0xf6, # ARABIC LETTER AE
+ 0x06f0: 0xb0, # EXTENDED ARABIC-INDIC DIGIT ZERO, right-left (need override)
+ 0x06f1: 0xb1, # EXTENDED ARABIC-INDIC DIGIT ONE, right-left (need override)
+ 0x06f2: 0xb2, # EXTENDED ARABIC-INDIC DIGIT TWO, right-left (need override)
+ 0x06f3: 0xb3, # EXTENDED ARABIC-INDIC DIGIT THREE, right-left (need override)
+ 0x06f4: 0xb4, # EXTENDED ARABIC-INDIC DIGIT FOUR, right-left (need override)
+ 0x06f5: 0xb5, # EXTENDED ARABIC-INDIC DIGIT FIVE, right-left (need override)
+ 0x06f6: 0xb6, # EXTENDED ARABIC-INDIC DIGIT SIX, right-left (need override)
+ 0x06f7: 0xb7, # EXTENDED ARABIC-INDIC DIGIT SEVEN, right-left (need override)
+ 0x06f8: 0xb8, # EXTENDED ARABIC-INDIC DIGIT EIGHT, right-left (need override)
+ 0x06f9: 0xb9, # EXTENDED ARABIC-INDIC DIGIT NINE, right-left (need override)
+ 0x2026: 0x93, # HORIZONTAL ELLIPSIS, right-left
+ 0x274a: 0xc0, # EIGHT TEARDROP-SPOKED PROPELLER ASTERISK, right-left
} \ No newline at end of file
diff --git a/Lib/encodings/mac_greek.py b/Lib/encodings/mac_greek.py
index c4fe1208baa..d0757c1ed45 100644
--- a/Lib/encodings/mac_greek.py
+++ b/Lib/encodings/mac_greek.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/APPLE/GREEK.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/APPLE/GREEK.TXT' with gencodec.py.
"""#"
@@ -28,656 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x0081: 0x00b9, # SUPERSCRIPT ONE
- 0x0082: 0x00b2, # SUPERSCRIPT TWO
- 0x0083: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x0084: 0x00b3, # SUPERSCRIPT THREE
- 0x0085: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x0086: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x0087: 0x0385, # GREEK DIALYTIKA TONOS
- 0x0088: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x0089: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x008a: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x008b: 0x0384, # GREEK TONOS
- 0x008c: 0x00a8, # DIAERESIS
- 0x008d: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x008e: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x008f: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x0090: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x0091: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x0092: 0x00a3, # POUND SIGN
- 0x0093: 0x2122, # TRADE MARK SIGN
- 0x0094: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x0095: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x0096: 0x2022, # BULLET
- 0x0097: 0x00bd, # VULGAR FRACTION ONE HALF
- 0x0098: 0x2030, # PER MILLE SIGN
- 0x0099: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x009a: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x009b: 0x00a6, # BROKEN BAR
- 0x009c: 0x20ac, # EURO SIGN # before Mac OS 9.2.2, was SOFT HYPHEN
- 0x009d: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x009e: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x009f: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00a0: 0x2020, # DAGGER
- 0x00a1: 0x0393, # GREEK CAPITAL LETTER GAMMA
- 0x00a2: 0x0394, # GREEK CAPITAL LETTER DELTA
- 0x00a3: 0x0398, # GREEK CAPITAL LETTER THETA
- 0x00a4: 0x039b, # GREEK CAPITAL LETTER LAMDA
- 0x00a5: 0x039e, # GREEK CAPITAL LETTER XI
- 0x00a6: 0x03a0, # GREEK CAPITAL LETTER PI
- 0x00a7: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00a8: 0x00ae, # REGISTERED SIGN
- 0x00aa: 0x03a3, # GREEK CAPITAL LETTER SIGMA
- 0x00ab: 0x03aa, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- 0x00ac: 0x00a7, # SECTION SIGN
- 0x00ad: 0x2260, # NOT EQUAL TO
- 0x00ae: 0x00b0, # DEGREE SIGN
- 0x00af: 0x00b7, # MIDDLE DOT
- 0x00b0: 0x0391, # GREEK CAPITAL LETTER ALPHA
- 0x00b2: 0x2264, # LESS-THAN OR EQUAL TO
- 0x00b3: 0x2265, # GREATER-THAN OR EQUAL TO
- 0x00b4: 0x00a5, # YEN SIGN
- 0x00b5: 0x0392, # GREEK CAPITAL LETTER BETA
- 0x00b6: 0x0395, # GREEK CAPITAL LETTER EPSILON
- 0x00b7: 0x0396, # GREEK CAPITAL LETTER ZETA
- 0x00b8: 0x0397, # GREEK CAPITAL LETTER ETA
- 0x00b9: 0x0399, # GREEK CAPITAL LETTER IOTA
- 0x00ba: 0x039a, # GREEK CAPITAL LETTER KAPPA
- 0x00bb: 0x039c, # GREEK CAPITAL LETTER MU
- 0x00bc: 0x03a6, # GREEK CAPITAL LETTER PHI
- 0x00bd: 0x03ab, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
- 0x00be: 0x03a8, # GREEK CAPITAL LETTER PSI
- 0x00bf: 0x03a9, # GREEK CAPITAL LETTER OMEGA
- 0x00c0: 0x03ac, # GREEK SMALL LETTER ALPHA WITH TONOS
- 0x00c1: 0x039d, # GREEK CAPITAL LETTER NU
- 0x00c2: 0x00ac, # NOT SIGN
- 0x00c3: 0x039f, # GREEK CAPITAL LETTER OMICRON
- 0x00c4: 0x03a1, # GREEK CAPITAL LETTER RHO
- 0x00c5: 0x2248, # ALMOST EQUAL TO
- 0x00c6: 0x03a4, # GREEK CAPITAL LETTER TAU
- 0x00c7: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c8: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c9: 0x2026, # HORIZONTAL ELLIPSIS
- 0x00ca: 0x00a0, # NO-BREAK SPACE
- 0x00cb: 0x03a5, # GREEK CAPITAL LETTER UPSILON
- 0x00cc: 0x03a7, # GREEK CAPITAL LETTER CHI
- 0x00cd: 0x0386, # GREEK CAPITAL LETTER ALPHA WITH TONOS
- 0x00ce: 0x0388, # GREEK CAPITAL LETTER EPSILON WITH TONOS
- 0x00cf: 0x0153, # LATIN SMALL LIGATURE OE
- 0x00d0: 0x2013, # EN DASH
- 0x00d1: 0x2015, # HORIZONTAL BAR
- 0x00d2: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x00d3: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x00d4: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x00d5: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x00d6: 0x00f7, # DIVISION SIGN
- 0x00d7: 0x0389, # GREEK CAPITAL LETTER ETA WITH TONOS
- 0x00d8: 0x038a, # GREEK CAPITAL LETTER IOTA WITH TONOS
- 0x00d9: 0x038c, # GREEK CAPITAL LETTER OMICRON WITH TONOS
- 0x00da: 0x038e, # GREEK CAPITAL LETTER UPSILON WITH TONOS
- 0x00db: 0x03ad, # GREEK SMALL LETTER EPSILON WITH TONOS
- 0x00dc: 0x03ae, # GREEK SMALL LETTER ETA WITH TONOS
- 0x00dd: 0x03af, # GREEK SMALL LETTER IOTA WITH TONOS
- 0x00de: 0x03cc, # GREEK SMALL LETTER OMICRON WITH TONOS
- 0x00df: 0x038f, # GREEK CAPITAL LETTER OMEGA WITH TONOS
- 0x00e0: 0x03cd, # GREEK SMALL LETTER UPSILON WITH TONOS
- 0x00e1: 0x03b1, # GREEK SMALL LETTER ALPHA
- 0x00e2: 0x03b2, # GREEK SMALL LETTER BETA
- 0x00e3: 0x03c8, # GREEK SMALL LETTER PSI
- 0x00e4: 0x03b4, # GREEK SMALL LETTER DELTA
- 0x00e5: 0x03b5, # GREEK SMALL LETTER EPSILON
- 0x00e6: 0x03c6, # GREEK SMALL LETTER PHI
- 0x00e7: 0x03b3, # GREEK SMALL LETTER GAMMA
- 0x00e8: 0x03b7, # GREEK SMALL LETTER ETA
- 0x00e9: 0x03b9, # GREEK SMALL LETTER IOTA
- 0x00ea: 0x03be, # GREEK SMALL LETTER XI
- 0x00eb: 0x03ba, # GREEK SMALL LETTER KAPPA
- 0x00ec: 0x03bb, # GREEK SMALL LETTER LAMDA
- 0x00ed: 0x03bc, # GREEK SMALL LETTER MU
- 0x00ee: 0x03bd, # GREEK SMALL LETTER NU
- 0x00ef: 0x03bf, # GREEK SMALL LETTER OMICRON
- 0x00f0: 0x03c0, # GREEK SMALL LETTER PI
- 0x00f1: 0x03ce, # GREEK SMALL LETTER OMEGA WITH TONOS
- 0x00f2: 0x03c1, # GREEK SMALL LETTER RHO
- 0x00f3: 0x03c3, # GREEK SMALL LETTER SIGMA
- 0x00f4: 0x03c4, # GREEK SMALL LETTER TAU
- 0x00f5: 0x03b8, # GREEK SMALL LETTER THETA
- 0x00f6: 0x03c9, # GREEK SMALL LETTER OMEGA
- 0x00f7: 0x03c2, # GREEK SMALL LETTER FINAL SIGMA
- 0x00f8: 0x03c7, # GREEK SMALL LETTER CHI
- 0x00f9: 0x03c5, # GREEK SMALL LETTER UPSILON
- 0x00fa: 0x03b6, # GREEK SMALL LETTER ZETA
- 0x00fb: 0x03ca, # GREEK SMALL LETTER IOTA WITH DIALYTIKA
- 0x00fc: 0x03cb, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- 0x00fd: 0x0390, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
- 0x00fe: 0x03b0, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
- 0x00ff: 0x00ad, # SOFT HYPHEN # before Mac OS 9.2.2, was undefined
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> CONTROL CHARACTER
- u'\x01' # 0x0001 -> CONTROL CHARACTER
- u'\x02' # 0x0002 -> CONTROL CHARACTER
- u'\x03' # 0x0003 -> CONTROL CHARACTER
- u'\x04' # 0x0004 -> CONTROL CHARACTER
- u'\x05' # 0x0005 -> CONTROL CHARACTER
- u'\x06' # 0x0006 -> CONTROL CHARACTER
- u'\x07' # 0x0007 -> CONTROL CHARACTER
- u'\x08' # 0x0008 -> CONTROL CHARACTER
- u'\t' # 0x0009 -> CONTROL CHARACTER
- u'\n' # 0x000a -> CONTROL CHARACTER
- u'\x0b' # 0x000b -> CONTROL CHARACTER
- u'\x0c' # 0x000c -> CONTROL CHARACTER
- u'\r' # 0x000d -> CONTROL CHARACTER
- u'\x0e' # 0x000e -> CONTROL CHARACTER
- u'\x0f' # 0x000f -> CONTROL CHARACTER
- u'\x10' # 0x0010 -> CONTROL CHARACTER
- u'\x11' # 0x0011 -> CONTROL CHARACTER
- u'\x12' # 0x0012 -> CONTROL CHARACTER
- u'\x13' # 0x0013 -> CONTROL CHARACTER
- u'\x14' # 0x0014 -> CONTROL CHARACTER
- u'\x15' # 0x0015 -> CONTROL CHARACTER
- u'\x16' # 0x0016 -> CONTROL CHARACTER
- u'\x17' # 0x0017 -> CONTROL CHARACTER
- u'\x18' # 0x0018 -> CONTROL CHARACTER
- u'\x19' # 0x0019 -> CONTROL CHARACTER
- u'\x1a' # 0x001a -> CONTROL CHARACTER
- u'\x1b' # 0x001b -> CONTROL CHARACTER
- u'\x1c' # 0x001c -> CONTROL CHARACTER
- u'\x1d' # 0x001d -> CONTROL CHARACTER
- u'\x1e' # 0x001e -> CONTROL CHARACTER
- u'\x1f' # 0x001f -> CONTROL CHARACTER
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> CONTROL CHARACTER
- u'\xc4' # 0x0080 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xb9' # 0x0081 -> SUPERSCRIPT ONE
- u'\xb2' # 0x0082 -> SUPERSCRIPT TWO
- u'\xc9' # 0x0083 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xb3' # 0x0084 -> SUPERSCRIPT THREE
- u'\xd6' # 0x0085 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xdc' # 0x0086 -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\u0385' # 0x0087 -> GREEK DIALYTIKA TONOS
- u'\xe0' # 0x0088 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe2' # 0x0089 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe4' # 0x008a -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\u0384' # 0x008b -> GREEK TONOS
- u'\xa8' # 0x008c -> DIAERESIS
- u'\xe7' # 0x008d -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe9' # 0x008e -> LATIN SMALL LETTER E WITH ACUTE
- u'\xe8' # 0x008f -> LATIN SMALL LETTER E WITH GRAVE
- u'\xea' # 0x0090 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x0091 -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xa3' # 0x0092 -> POUND SIGN
- u'\u2122' # 0x0093 -> TRADE MARK SIGN
- u'\xee' # 0x0094 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x0095 -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\u2022' # 0x0096 -> BULLET
- u'\xbd' # 0x0097 -> VULGAR FRACTION ONE HALF
- u'\u2030' # 0x0098 -> PER MILLE SIGN
- u'\xf4' # 0x0099 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf6' # 0x009a -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xa6' # 0x009b -> BROKEN BAR
- u'\u20ac' # 0x009c -> EURO SIGN # before Mac OS 9.2.2, was SOFT HYPHEN
- u'\xf9' # 0x009d -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfb' # 0x009e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x009f -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u2020' # 0x00a0 -> DAGGER
- u'\u0393' # 0x00a1 -> GREEK CAPITAL LETTER GAMMA
- u'\u0394' # 0x00a2 -> GREEK CAPITAL LETTER DELTA
- u'\u0398' # 0x00a3 -> GREEK CAPITAL LETTER THETA
- u'\u039b' # 0x00a4 -> GREEK CAPITAL LETTER LAMDA
- u'\u039e' # 0x00a5 -> GREEK CAPITAL LETTER XI
- u'\u03a0' # 0x00a6 -> GREEK CAPITAL LETTER PI
- u'\xdf' # 0x00a7 -> LATIN SMALL LETTER SHARP S
- u'\xae' # 0x00a8 -> REGISTERED SIGN
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u03a3' # 0x00aa -> GREEK CAPITAL LETTER SIGMA
- u'\u03aa' # 0x00ab -> GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- u'\xa7' # 0x00ac -> SECTION SIGN
- u'\u2260' # 0x00ad -> NOT EQUAL TO
- u'\xb0' # 0x00ae -> DEGREE SIGN
- u'\xb7' # 0x00af -> MIDDLE DOT
- u'\u0391' # 0x00b0 -> GREEK CAPITAL LETTER ALPHA
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\u2264' # 0x00b2 -> LESS-THAN OR EQUAL TO
- u'\u2265' # 0x00b3 -> GREATER-THAN OR EQUAL TO
- u'\xa5' # 0x00b4 -> YEN SIGN
- u'\u0392' # 0x00b5 -> GREEK CAPITAL LETTER BETA
- u'\u0395' # 0x00b6 -> GREEK CAPITAL LETTER EPSILON
- u'\u0396' # 0x00b7 -> GREEK CAPITAL LETTER ZETA
- u'\u0397' # 0x00b8 -> GREEK CAPITAL LETTER ETA
- u'\u0399' # 0x00b9 -> GREEK CAPITAL LETTER IOTA
- u'\u039a' # 0x00ba -> GREEK CAPITAL LETTER KAPPA
- u'\u039c' # 0x00bb -> GREEK CAPITAL LETTER MU
- u'\u03a6' # 0x00bc -> GREEK CAPITAL LETTER PHI
- u'\u03ab' # 0x00bd -> GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
- u'\u03a8' # 0x00be -> GREEK CAPITAL LETTER PSI
- u'\u03a9' # 0x00bf -> GREEK CAPITAL LETTER OMEGA
- u'\u03ac' # 0x00c0 -> GREEK SMALL LETTER ALPHA WITH TONOS
- u'\u039d' # 0x00c1 -> GREEK CAPITAL LETTER NU
- u'\xac' # 0x00c2 -> NOT SIGN
- u'\u039f' # 0x00c3 -> GREEK CAPITAL LETTER OMICRON
- u'\u03a1' # 0x00c4 -> GREEK CAPITAL LETTER RHO
- u'\u2248' # 0x00c5 -> ALMOST EQUAL TO
- u'\u03a4' # 0x00c6 -> GREEK CAPITAL LETTER TAU
- u'\xab' # 0x00c7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbb' # 0x00c8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u2026' # 0x00c9 -> HORIZONTAL ELLIPSIS
- u'\xa0' # 0x00ca -> NO-BREAK SPACE
- u'\u03a5' # 0x00cb -> GREEK CAPITAL LETTER UPSILON
- u'\u03a7' # 0x00cc -> GREEK CAPITAL LETTER CHI
- u'\u0386' # 0x00cd -> GREEK CAPITAL LETTER ALPHA WITH TONOS
- u'\u0388' # 0x00ce -> GREEK CAPITAL LETTER EPSILON WITH TONOS
- u'\u0153' # 0x00cf -> LATIN SMALL LIGATURE OE
- u'\u2013' # 0x00d0 -> EN DASH
- u'\u2015' # 0x00d1 -> HORIZONTAL BAR
- u'\u201c' # 0x00d2 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x00d3 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2018' # 0x00d4 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x00d5 -> RIGHT SINGLE QUOTATION MARK
- u'\xf7' # 0x00d6 -> DIVISION SIGN
- u'\u0389' # 0x00d7 -> GREEK CAPITAL LETTER ETA WITH TONOS
- u'\u038a' # 0x00d8 -> GREEK CAPITAL LETTER IOTA WITH TONOS
- u'\u038c' # 0x00d9 -> GREEK CAPITAL LETTER OMICRON WITH TONOS
- u'\u038e' # 0x00da -> GREEK CAPITAL LETTER UPSILON WITH TONOS
- u'\u03ad' # 0x00db -> GREEK SMALL LETTER EPSILON WITH TONOS
- u'\u03ae' # 0x00dc -> GREEK SMALL LETTER ETA WITH TONOS
- u'\u03af' # 0x00dd -> GREEK SMALL LETTER IOTA WITH TONOS
- u'\u03cc' # 0x00de -> GREEK SMALL LETTER OMICRON WITH TONOS
- u'\u038f' # 0x00df -> GREEK CAPITAL LETTER OMEGA WITH TONOS
- u'\u03cd' # 0x00e0 -> GREEK SMALL LETTER UPSILON WITH TONOS
- u'\u03b1' # 0x00e1 -> GREEK SMALL LETTER ALPHA
- u'\u03b2' # 0x00e2 -> GREEK SMALL LETTER BETA
- u'\u03c8' # 0x00e3 -> GREEK SMALL LETTER PSI
- u'\u03b4' # 0x00e4 -> GREEK SMALL LETTER DELTA
- u'\u03b5' # 0x00e5 -> GREEK SMALL LETTER EPSILON
- u'\u03c6' # 0x00e6 -> GREEK SMALL LETTER PHI
- u'\u03b3' # 0x00e7 -> GREEK SMALL LETTER GAMMA
- u'\u03b7' # 0x00e8 -> GREEK SMALL LETTER ETA
- u'\u03b9' # 0x00e9 -> GREEK SMALL LETTER IOTA
- u'\u03be' # 0x00ea -> GREEK SMALL LETTER XI
- u'\u03ba' # 0x00eb -> GREEK SMALL LETTER KAPPA
- u'\u03bb' # 0x00ec -> GREEK SMALL LETTER LAMDA
- u'\u03bc' # 0x00ed -> GREEK SMALL LETTER MU
- u'\u03bd' # 0x00ee -> GREEK SMALL LETTER NU
- u'\u03bf' # 0x00ef -> GREEK SMALL LETTER OMICRON
- u'\u03c0' # 0x00f0 -> GREEK SMALL LETTER PI
- u'\u03ce' # 0x00f1 -> GREEK SMALL LETTER OMEGA WITH TONOS
- u'\u03c1' # 0x00f2 -> GREEK SMALL LETTER RHO
- u'\u03c3' # 0x00f3 -> GREEK SMALL LETTER SIGMA
- u'\u03c4' # 0x00f4 -> GREEK SMALL LETTER TAU
- u'\u03b8' # 0x00f5 -> GREEK SMALL LETTER THETA
- u'\u03c9' # 0x00f6 -> GREEK SMALL LETTER OMEGA
- u'\u03c2' # 0x00f7 -> GREEK SMALL LETTER FINAL SIGMA
- u'\u03c7' # 0x00f8 -> GREEK SMALL LETTER CHI
- u'\u03c5' # 0x00f9 -> GREEK SMALL LETTER UPSILON
- u'\u03b6' # 0x00fa -> GREEK SMALL LETTER ZETA
- u'\u03ca' # 0x00fb -> GREEK SMALL LETTER IOTA WITH DIALYTIKA
- u'\u03cb' # 0x00fc -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- u'\u0390' # 0x00fd -> GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
- u'\u03b0' # 0x00fe -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
- u'\xad' # 0x00ff -> SOFT HYPHEN # before Mac OS 9.2.2, was undefined
+ u'\x00' # 0x00 -> CONTROL CHARACTER
+ u'\x01' # 0x01 -> CONTROL CHARACTER
+ u'\x02' # 0x02 -> CONTROL CHARACTER
+ u'\x03' # 0x03 -> CONTROL CHARACTER
+ u'\x04' # 0x04 -> CONTROL CHARACTER
+ u'\x05' # 0x05 -> CONTROL CHARACTER
+ u'\x06' # 0x06 -> CONTROL CHARACTER
+ u'\x07' # 0x07 -> CONTROL CHARACTER
+ u'\x08' # 0x08 -> CONTROL CHARACTER
+ u'\t' # 0x09 -> CONTROL CHARACTER
+ u'\n' # 0x0a -> CONTROL CHARACTER
+ u'\x0b' # 0x0b -> CONTROL CHARACTER
+ u'\x0c' # 0x0c -> CONTROL CHARACTER
+ u'\r' # 0x0d -> CONTROL CHARACTER
+ u'\x0e' # 0x0e -> CONTROL CHARACTER
+ u'\x0f' # 0x0f -> CONTROL CHARACTER
+ u'\x10' # 0x10 -> CONTROL CHARACTER
+ u'\x11' # 0x11 -> CONTROL CHARACTER
+ u'\x12' # 0x12 -> CONTROL CHARACTER
+ u'\x13' # 0x13 -> CONTROL CHARACTER
+ u'\x14' # 0x14 -> CONTROL CHARACTER
+ u'\x15' # 0x15 -> CONTROL CHARACTER
+ u'\x16' # 0x16 -> CONTROL CHARACTER
+ u'\x17' # 0x17 -> CONTROL CHARACTER
+ u'\x18' # 0x18 -> CONTROL CHARACTER
+ u'\x19' # 0x19 -> CONTROL CHARACTER
+ u'\x1a' # 0x1a -> CONTROL CHARACTER
+ u'\x1b' # 0x1b -> CONTROL CHARACTER
+ u'\x1c' # 0x1c -> CONTROL CHARACTER
+ u'\x1d' # 0x1d -> CONTROL CHARACTER
+ u'\x1e' # 0x1e -> CONTROL CHARACTER
+ u'\x1f' # 0x1f -> CONTROL CHARACTER
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> CONTROL CHARACTER
+ u'\xc4' # 0x80 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xb9' # 0x81 -> SUPERSCRIPT ONE
+ u'\xb2' # 0x82 -> SUPERSCRIPT TWO
+ u'\xc9' # 0x83 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xb3' # 0x84 -> SUPERSCRIPT THREE
+ u'\xd6' # 0x85 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xdc' # 0x86 -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\u0385' # 0x87 -> GREEK DIALYTIKA TONOS
+ u'\xe0' # 0x88 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe2' # 0x89 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe4' # 0x8a -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\u0384' # 0x8b -> GREEK TONOS
+ u'\xa8' # 0x8c -> DIAERESIS
+ u'\xe7' # 0x8d -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe9' # 0x8e -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xe8' # 0x8f -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xea' # 0x90 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0x91 -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xa3' # 0x92 -> POUND SIGN
+ u'\u2122' # 0x93 -> TRADE MARK SIGN
+ u'\xee' # 0x94 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0x95 -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\u2022' # 0x96 -> BULLET
+ u'\xbd' # 0x97 -> VULGAR FRACTION ONE HALF
+ u'\u2030' # 0x98 -> PER MILLE SIGN
+ u'\xf4' # 0x99 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf6' # 0x9a -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xa6' # 0x9b -> BROKEN BAR
+ u'\u20ac' # 0x9c -> EURO SIGN # before Mac OS 9.2.2, was SOFT HYPHEN
+ u'\xf9' # 0x9d -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfb' # 0x9e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0x9f -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u2020' # 0xa0 -> DAGGER
+ u'\u0393' # 0xa1 -> GREEK CAPITAL LETTER GAMMA
+ u'\u0394' # 0xa2 -> GREEK CAPITAL LETTER DELTA
+ u'\u0398' # 0xa3 -> GREEK CAPITAL LETTER THETA
+ u'\u039b' # 0xa4 -> GREEK CAPITAL LETTER LAMDA
+ u'\u039e' # 0xa5 -> GREEK CAPITAL LETTER XI
+ u'\u03a0' # 0xa6 -> GREEK CAPITAL LETTER PI
+ u'\xdf' # 0xa7 -> LATIN SMALL LETTER SHARP S
+ u'\xae' # 0xa8 -> REGISTERED SIGN
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u03a3' # 0xaa -> GREEK CAPITAL LETTER SIGMA
+ u'\u03aa' # 0xab -> GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
+ u'\xa7' # 0xac -> SECTION SIGN
+ u'\u2260' # 0xad -> NOT EQUAL TO
+ u'\xb0' # 0xae -> DEGREE SIGN
+ u'\xb7' # 0xaf -> MIDDLE DOT
+ u'\u0391' # 0xb0 -> GREEK CAPITAL LETTER ALPHA
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\u2264' # 0xb2 -> LESS-THAN OR EQUAL TO
+ u'\u2265' # 0xb3 -> GREATER-THAN OR EQUAL TO
+ u'\xa5' # 0xb4 -> YEN SIGN
+ u'\u0392' # 0xb5 -> GREEK CAPITAL LETTER BETA
+ u'\u0395' # 0xb6 -> GREEK CAPITAL LETTER EPSILON
+ u'\u0396' # 0xb7 -> GREEK CAPITAL LETTER ZETA
+ u'\u0397' # 0xb8 -> GREEK CAPITAL LETTER ETA
+ u'\u0399' # 0xb9 -> GREEK CAPITAL LETTER IOTA
+ u'\u039a' # 0xba -> GREEK CAPITAL LETTER KAPPA
+ u'\u039c' # 0xbb -> GREEK CAPITAL LETTER MU
+ u'\u03a6' # 0xbc -> GREEK CAPITAL LETTER PHI
+ u'\u03ab' # 0xbd -> GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
+ u'\u03a8' # 0xbe -> GREEK CAPITAL LETTER PSI
+ u'\u03a9' # 0xbf -> GREEK CAPITAL LETTER OMEGA
+ u'\u03ac' # 0xc0 -> GREEK SMALL LETTER ALPHA WITH TONOS
+ u'\u039d' # 0xc1 -> GREEK CAPITAL LETTER NU
+ u'\xac' # 0xc2 -> NOT SIGN
+ u'\u039f' # 0xc3 -> GREEK CAPITAL LETTER OMICRON
+ u'\u03a1' # 0xc4 -> GREEK CAPITAL LETTER RHO
+ u'\u2248' # 0xc5 -> ALMOST EQUAL TO
+ u'\u03a4' # 0xc6 -> GREEK CAPITAL LETTER TAU
+ u'\xab' # 0xc7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0xc8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u2026' # 0xc9 -> HORIZONTAL ELLIPSIS
+ u'\xa0' # 0xca -> NO-BREAK SPACE
+ u'\u03a5' # 0xcb -> GREEK CAPITAL LETTER UPSILON
+ u'\u03a7' # 0xcc -> GREEK CAPITAL LETTER CHI
+ u'\u0386' # 0xcd -> GREEK CAPITAL LETTER ALPHA WITH TONOS
+ u'\u0388' # 0xce -> GREEK CAPITAL LETTER EPSILON WITH TONOS
+ u'\u0153' # 0xcf -> LATIN SMALL LIGATURE OE
+ u'\u2013' # 0xd0 -> EN DASH
+ u'\u2015' # 0xd1 -> HORIZONTAL BAR
+ u'\u201c' # 0xd2 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0xd3 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2018' # 0xd4 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0xd5 -> RIGHT SINGLE QUOTATION MARK
+ u'\xf7' # 0xd6 -> DIVISION SIGN
+ u'\u0389' # 0xd7 -> GREEK CAPITAL LETTER ETA WITH TONOS
+ u'\u038a' # 0xd8 -> GREEK CAPITAL LETTER IOTA WITH TONOS
+ u'\u038c' # 0xd9 -> GREEK CAPITAL LETTER OMICRON WITH TONOS
+ u'\u038e' # 0xda -> GREEK CAPITAL LETTER UPSILON WITH TONOS
+ u'\u03ad' # 0xdb -> GREEK SMALL LETTER EPSILON WITH TONOS
+ u'\u03ae' # 0xdc -> GREEK SMALL LETTER ETA WITH TONOS
+ u'\u03af' # 0xdd -> GREEK SMALL LETTER IOTA WITH TONOS
+ u'\u03cc' # 0xde -> GREEK SMALL LETTER OMICRON WITH TONOS
+ u'\u038f' # 0xdf -> GREEK CAPITAL LETTER OMEGA WITH TONOS
+ u'\u03cd' # 0xe0 -> GREEK SMALL LETTER UPSILON WITH TONOS
+ u'\u03b1' # 0xe1 -> GREEK SMALL LETTER ALPHA
+ u'\u03b2' # 0xe2 -> GREEK SMALL LETTER BETA
+ u'\u03c8' # 0xe3 -> GREEK SMALL LETTER PSI
+ u'\u03b4' # 0xe4 -> GREEK SMALL LETTER DELTA
+ u'\u03b5' # 0xe5 -> GREEK SMALL LETTER EPSILON
+ u'\u03c6' # 0xe6 -> GREEK SMALL LETTER PHI
+ u'\u03b3' # 0xe7 -> GREEK SMALL LETTER GAMMA
+ u'\u03b7' # 0xe8 -> GREEK SMALL LETTER ETA
+ u'\u03b9' # 0xe9 -> GREEK SMALL LETTER IOTA
+ u'\u03be' # 0xea -> GREEK SMALL LETTER XI
+ u'\u03ba' # 0xeb -> GREEK SMALL LETTER KAPPA
+ u'\u03bb' # 0xec -> GREEK SMALL LETTER LAMDA
+ u'\u03bc' # 0xed -> GREEK SMALL LETTER MU
+ u'\u03bd' # 0xee -> GREEK SMALL LETTER NU
+ u'\u03bf' # 0xef -> GREEK SMALL LETTER OMICRON
+ u'\u03c0' # 0xf0 -> GREEK SMALL LETTER PI
+ u'\u03ce' # 0xf1 -> GREEK SMALL LETTER OMEGA WITH TONOS
+ u'\u03c1' # 0xf2 -> GREEK SMALL LETTER RHO
+ u'\u03c3' # 0xf3 -> GREEK SMALL LETTER SIGMA
+ u'\u03c4' # 0xf4 -> GREEK SMALL LETTER TAU
+ u'\u03b8' # 0xf5 -> GREEK SMALL LETTER THETA
+ u'\u03c9' # 0xf6 -> GREEK SMALL LETTER OMEGA
+ u'\u03c2' # 0xf7 -> GREEK SMALL LETTER FINAL SIGMA
+ u'\u03c7' # 0xf8 -> GREEK SMALL LETTER CHI
+ u'\u03c5' # 0xf9 -> GREEK SMALL LETTER UPSILON
+ u'\u03b6' # 0xfa -> GREEK SMALL LETTER ZETA
+ u'\u03ca' # 0xfb -> GREEK SMALL LETTER IOTA WITH DIALYTIKA
+ u'\u03cb' # 0xfc -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA
+ u'\u0390' # 0xfd -> GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
+ u'\u03b0' # 0xfe -> GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
+ u'\xad' # 0xff -> SOFT HYPHEN # before Mac OS 9.2.2, was undefined
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # CONTROL CHARACTER
- 0x0001: 0x0001, # CONTROL CHARACTER
- 0x0002: 0x0002, # CONTROL CHARACTER
- 0x0003: 0x0003, # CONTROL CHARACTER
- 0x0004: 0x0004, # CONTROL CHARACTER
- 0x0005: 0x0005, # CONTROL CHARACTER
- 0x0006: 0x0006, # CONTROL CHARACTER
- 0x0007: 0x0007, # CONTROL CHARACTER
- 0x0008: 0x0008, # CONTROL CHARACTER
- 0x0009: 0x0009, # CONTROL CHARACTER
- 0x000a: 0x000a, # CONTROL CHARACTER
- 0x000b: 0x000b, # CONTROL CHARACTER
- 0x000c: 0x000c, # CONTROL CHARACTER
- 0x000d: 0x000d, # CONTROL CHARACTER
- 0x000e: 0x000e, # CONTROL CHARACTER
- 0x000f: 0x000f, # CONTROL CHARACTER
- 0x0010: 0x0010, # CONTROL CHARACTER
- 0x0011: 0x0011, # CONTROL CHARACTER
- 0x0012: 0x0012, # CONTROL CHARACTER
- 0x0013: 0x0013, # CONTROL CHARACTER
- 0x0014: 0x0014, # CONTROL CHARACTER
- 0x0015: 0x0015, # CONTROL CHARACTER
- 0x0016: 0x0016, # CONTROL CHARACTER
- 0x0017: 0x0017, # CONTROL CHARACTER
- 0x0018: 0x0018, # CONTROL CHARACTER
- 0x0019: 0x0019, # CONTROL CHARACTER
- 0x001a: 0x001a, # CONTROL CHARACTER
- 0x001b: 0x001b, # CONTROL CHARACTER
- 0x001c: 0x001c, # CONTROL CHARACTER
- 0x001d: 0x001d, # CONTROL CHARACTER
- 0x001e: 0x001e, # CONTROL CHARACTER
- 0x001f: 0x001f, # CONTROL CHARACTER
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # CONTROL CHARACTER
- 0x00a0: 0x00ca, # NO-BREAK SPACE
- 0x00a3: 0x0092, # POUND SIGN
- 0x00a5: 0x00b4, # YEN SIGN
- 0x00a6: 0x009b, # BROKEN BAR
- 0x00a7: 0x00ac, # SECTION SIGN
- 0x00a8: 0x008c, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00ab: 0x00c7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00c2, # NOT SIGN
- 0x00ad: 0x00ff, # SOFT HYPHEN # before Mac OS 9.2.2, was undefined
- 0x00ae: 0x00a8, # REGISTERED SIGN
- 0x00b0: 0x00ae, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b2: 0x0082, # SUPERSCRIPT TWO
- 0x00b3: 0x0084, # SUPERSCRIPT THREE
- 0x00b7: 0x00af, # MIDDLE DOT
- 0x00b9: 0x0081, # SUPERSCRIPT ONE
- 0x00bb: 0x00c8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bd: 0x0097, # VULGAR FRACTION ONE HALF
- 0x00c4: 0x0080, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c9: 0x0083, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00d6: 0x0085, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00dc: 0x0086, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00a7, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x0088, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e2: 0x0089, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e4: 0x008a, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e7: 0x008d, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x008f, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x008e, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x0090, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x0091, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ee: 0x0094, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x0095, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f4: 0x0099, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f6: 0x009a, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00d6, # DIVISION SIGN
- 0x00f9: 0x009d, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fb: 0x009e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x009f, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x0153: 0x00cf, # LATIN SMALL LIGATURE OE
- 0x0384: 0x008b, # GREEK TONOS
- 0x0385: 0x0087, # GREEK DIALYTIKA TONOS
- 0x0386: 0x00cd, # GREEK CAPITAL LETTER ALPHA WITH TONOS
- 0x0388: 0x00ce, # GREEK CAPITAL LETTER EPSILON WITH TONOS
- 0x0389: 0x00d7, # GREEK CAPITAL LETTER ETA WITH TONOS
- 0x038a: 0x00d8, # GREEK CAPITAL LETTER IOTA WITH TONOS
- 0x038c: 0x00d9, # GREEK CAPITAL LETTER OMICRON WITH TONOS
- 0x038e: 0x00da, # GREEK CAPITAL LETTER UPSILON WITH TONOS
- 0x038f: 0x00df, # GREEK CAPITAL LETTER OMEGA WITH TONOS
- 0x0390: 0x00fd, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
- 0x0391: 0x00b0, # GREEK CAPITAL LETTER ALPHA
- 0x0392: 0x00b5, # GREEK CAPITAL LETTER BETA
- 0x0393: 0x00a1, # GREEK CAPITAL LETTER GAMMA
- 0x0394: 0x00a2, # GREEK CAPITAL LETTER DELTA
- 0x0395: 0x00b6, # GREEK CAPITAL LETTER EPSILON
- 0x0396: 0x00b7, # GREEK CAPITAL LETTER ZETA
- 0x0397: 0x00b8, # GREEK CAPITAL LETTER ETA
- 0x0398: 0x00a3, # GREEK CAPITAL LETTER THETA
- 0x0399: 0x00b9, # GREEK CAPITAL LETTER IOTA
- 0x039a: 0x00ba, # GREEK CAPITAL LETTER KAPPA
- 0x039b: 0x00a4, # GREEK CAPITAL LETTER LAMDA
- 0x039c: 0x00bb, # GREEK CAPITAL LETTER MU
- 0x039d: 0x00c1, # GREEK CAPITAL LETTER NU
- 0x039e: 0x00a5, # GREEK CAPITAL LETTER XI
- 0x039f: 0x00c3, # GREEK CAPITAL LETTER OMICRON
- 0x03a0: 0x00a6, # GREEK CAPITAL LETTER PI
- 0x03a1: 0x00c4, # GREEK CAPITAL LETTER RHO
- 0x03a3: 0x00aa, # GREEK CAPITAL LETTER SIGMA
- 0x03a4: 0x00c6, # GREEK CAPITAL LETTER TAU
- 0x03a5: 0x00cb, # GREEK CAPITAL LETTER UPSILON
- 0x03a6: 0x00bc, # GREEK CAPITAL LETTER PHI
- 0x03a7: 0x00cc, # GREEK CAPITAL LETTER CHI
- 0x03a8: 0x00be, # GREEK CAPITAL LETTER PSI
- 0x03a9: 0x00bf, # GREEK CAPITAL LETTER OMEGA
- 0x03aa: 0x00ab, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- 0x03ab: 0x00bd, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
- 0x03ac: 0x00c0, # GREEK SMALL LETTER ALPHA WITH TONOS
- 0x03ad: 0x00db, # GREEK SMALL LETTER EPSILON WITH TONOS
- 0x03ae: 0x00dc, # GREEK SMALL LETTER ETA WITH TONOS
- 0x03af: 0x00dd, # GREEK SMALL LETTER IOTA WITH TONOS
- 0x03b0: 0x00fe, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
- 0x03b1: 0x00e1, # GREEK SMALL LETTER ALPHA
- 0x03b2: 0x00e2, # GREEK SMALL LETTER BETA
- 0x03b3: 0x00e7, # GREEK SMALL LETTER GAMMA
- 0x03b4: 0x00e4, # GREEK SMALL LETTER DELTA
- 0x03b5: 0x00e5, # GREEK SMALL LETTER EPSILON
- 0x03b6: 0x00fa, # GREEK SMALL LETTER ZETA
- 0x03b7: 0x00e8, # GREEK SMALL LETTER ETA
- 0x03b8: 0x00f5, # GREEK SMALL LETTER THETA
- 0x03b9: 0x00e9, # GREEK SMALL LETTER IOTA
- 0x03ba: 0x00eb, # GREEK SMALL LETTER KAPPA
- 0x03bb: 0x00ec, # GREEK SMALL LETTER LAMDA
- 0x03bc: 0x00ed, # GREEK SMALL LETTER MU
- 0x03bd: 0x00ee, # GREEK SMALL LETTER NU
- 0x03be: 0x00ea, # GREEK SMALL LETTER XI
- 0x03bf: 0x00ef, # GREEK SMALL LETTER OMICRON
- 0x03c0: 0x00f0, # GREEK SMALL LETTER PI
- 0x03c1: 0x00f2, # GREEK SMALL LETTER RHO
- 0x03c2: 0x00f7, # GREEK SMALL LETTER FINAL SIGMA
- 0x03c3: 0x00f3, # GREEK SMALL LETTER SIGMA
- 0x03c4: 0x00f4, # GREEK SMALL LETTER TAU
- 0x03c5: 0x00f9, # GREEK SMALL LETTER UPSILON
- 0x03c6: 0x00e6, # GREEK SMALL LETTER PHI
- 0x03c7: 0x00f8, # GREEK SMALL LETTER CHI
- 0x03c8: 0x00e3, # GREEK SMALL LETTER PSI
- 0x03c9: 0x00f6, # GREEK SMALL LETTER OMEGA
- 0x03ca: 0x00fb, # GREEK SMALL LETTER IOTA WITH DIALYTIKA
- 0x03cb: 0x00fc, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- 0x03cc: 0x00de, # GREEK SMALL LETTER OMICRON WITH TONOS
- 0x03cd: 0x00e0, # GREEK SMALL LETTER UPSILON WITH TONOS
- 0x03ce: 0x00f1, # GREEK SMALL LETTER OMEGA WITH TONOS
- 0x2013: 0x00d0, # EN DASH
- 0x2015: 0x00d1, # HORIZONTAL BAR
- 0x2018: 0x00d4, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x00d5, # RIGHT SINGLE QUOTATION MARK
- 0x201c: 0x00d2, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x00d3, # RIGHT DOUBLE QUOTATION MARK
- 0x2020: 0x00a0, # DAGGER
- 0x2022: 0x0096, # BULLET
- 0x2026: 0x00c9, # HORIZONTAL ELLIPSIS
- 0x2030: 0x0098, # PER MILLE SIGN
- 0x20ac: 0x009c, # EURO SIGN # before Mac OS 9.2.2, was SOFT HYPHEN
- 0x2122: 0x0093, # TRADE MARK SIGN
- 0x2248: 0x00c5, # ALMOST EQUAL TO
- 0x2260: 0x00ad, # NOT EQUAL TO
- 0x2264: 0x00b2, # LESS-THAN OR EQUAL TO
- 0x2265: 0x00b3, # GREATER-THAN OR EQUAL TO
+ 0x0000: 0x00, # CONTROL CHARACTER
+ 0x0001: 0x01, # CONTROL CHARACTER
+ 0x0002: 0x02, # CONTROL CHARACTER
+ 0x0003: 0x03, # CONTROL CHARACTER
+ 0x0004: 0x04, # CONTROL CHARACTER
+ 0x0005: 0x05, # CONTROL CHARACTER
+ 0x0006: 0x06, # CONTROL CHARACTER
+ 0x0007: 0x07, # CONTROL CHARACTER
+ 0x0008: 0x08, # CONTROL CHARACTER
+ 0x0009: 0x09, # CONTROL CHARACTER
+ 0x000a: 0x0a, # CONTROL CHARACTER
+ 0x000b: 0x0b, # CONTROL CHARACTER
+ 0x000c: 0x0c, # CONTROL CHARACTER
+ 0x000d: 0x0d, # CONTROL CHARACTER
+ 0x000e: 0x0e, # CONTROL CHARACTER
+ 0x000f: 0x0f, # CONTROL CHARACTER
+ 0x0010: 0x10, # CONTROL CHARACTER
+ 0x0011: 0x11, # CONTROL CHARACTER
+ 0x0012: 0x12, # CONTROL CHARACTER
+ 0x0013: 0x13, # CONTROL CHARACTER
+ 0x0014: 0x14, # CONTROL CHARACTER
+ 0x0015: 0x15, # CONTROL CHARACTER
+ 0x0016: 0x16, # CONTROL CHARACTER
+ 0x0017: 0x17, # CONTROL CHARACTER
+ 0x0018: 0x18, # CONTROL CHARACTER
+ 0x0019: 0x19, # CONTROL CHARACTER
+ 0x001a: 0x1a, # CONTROL CHARACTER
+ 0x001b: 0x1b, # CONTROL CHARACTER
+ 0x001c: 0x1c, # CONTROL CHARACTER
+ 0x001d: 0x1d, # CONTROL CHARACTER
+ 0x001e: 0x1e, # CONTROL CHARACTER
+ 0x001f: 0x1f, # CONTROL CHARACTER
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # CONTROL CHARACTER
+ 0x00a0: 0xca, # NO-BREAK SPACE
+ 0x00a3: 0x92, # POUND SIGN
+ 0x00a5: 0xb4, # YEN SIGN
+ 0x00a6: 0x9b, # BROKEN BAR
+ 0x00a7: 0xac, # SECTION SIGN
+ 0x00a8: 0x8c, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00ab: 0xc7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xc2, # NOT SIGN
+ 0x00ad: 0xff, # SOFT HYPHEN # before Mac OS 9.2.2, was undefined
+ 0x00ae: 0xa8, # REGISTERED SIGN
+ 0x00b0: 0xae, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b2: 0x82, # SUPERSCRIPT TWO
+ 0x00b3: 0x84, # SUPERSCRIPT THREE
+ 0x00b7: 0xaf, # MIDDLE DOT
+ 0x00b9: 0x81, # SUPERSCRIPT ONE
+ 0x00bb: 0xc8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bd: 0x97, # VULGAR FRACTION ONE HALF
+ 0x00c4: 0x80, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c9: 0x83, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00d6: 0x85, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00dc: 0x86, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xa7, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0x88, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e2: 0x89, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e4: 0x8a, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e7: 0x8d, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0x8f, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0x8e, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0x90, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0x91, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ee: 0x94, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0x95, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f4: 0x99, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f6: 0x9a, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xd6, # DIVISION SIGN
+ 0x00f9: 0x9d, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fb: 0x9e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0x9f, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x0153: 0xcf, # LATIN SMALL LIGATURE OE
+ 0x0384: 0x8b, # GREEK TONOS
+ 0x0385: 0x87, # GREEK DIALYTIKA TONOS
+ 0x0386: 0xcd, # GREEK CAPITAL LETTER ALPHA WITH TONOS
+ 0x0388: 0xce, # GREEK CAPITAL LETTER EPSILON WITH TONOS
+ 0x0389: 0xd7, # GREEK CAPITAL LETTER ETA WITH TONOS
+ 0x038a: 0xd8, # GREEK CAPITAL LETTER IOTA WITH TONOS
+ 0x038c: 0xd9, # GREEK CAPITAL LETTER OMICRON WITH TONOS
+ 0x038e: 0xda, # GREEK CAPITAL LETTER UPSILON WITH TONOS
+ 0x038f: 0xdf, # GREEK CAPITAL LETTER OMEGA WITH TONOS
+ 0x0390: 0xfd, # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
+ 0x0391: 0xb0, # GREEK CAPITAL LETTER ALPHA
+ 0x0392: 0xb5, # GREEK CAPITAL LETTER BETA
+ 0x0393: 0xa1, # GREEK CAPITAL LETTER GAMMA
+ 0x0394: 0xa2, # GREEK CAPITAL LETTER DELTA
+ 0x0395: 0xb6, # GREEK CAPITAL LETTER EPSILON
+ 0x0396: 0xb7, # GREEK CAPITAL LETTER ZETA
+ 0x0397: 0xb8, # GREEK CAPITAL LETTER ETA
+ 0x0398: 0xa3, # GREEK CAPITAL LETTER THETA
+ 0x0399: 0xb9, # GREEK CAPITAL LETTER IOTA
+ 0x039a: 0xba, # GREEK CAPITAL LETTER KAPPA
+ 0x039b: 0xa4, # GREEK CAPITAL LETTER LAMDA
+ 0x039c: 0xbb, # GREEK CAPITAL LETTER MU
+ 0x039d: 0xc1, # GREEK CAPITAL LETTER NU
+ 0x039e: 0xa5, # GREEK CAPITAL LETTER XI
+ 0x039f: 0xc3, # GREEK CAPITAL LETTER OMICRON
+ 0x03a0: 0xa6, # GREEK CAPITAL LETTER PI
+ 0x03a1: 0xc4, # GREEK CAPITAL LETTER RHO
+ 0x03a3: 0xaa, # GREEK CAPITAL LETTER SIGMA
+ 0x03a4: 0xc6, # GREEK CAPITAL LETTER TAU
+ 0x03a5: 0xcb, # GREEK CAPITAL LETTER UPSILON
+ 0x03a6: 0xbc, # GREEK CAPITAL LETTER PHI
+ 0x03a7: 0xcc, # GREEK CAPITAL LETTER CHI
+ 0x03a8: 0xbe, # GREEK CAPITAL LETTER PSI
+ 0x03a9: 0xbf, # GREEK CAPITAL LETTER OMEGA
+ 0x03aa: 0xab, # GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
+ 0x03ab: 0xbd, # GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
+ 0x03ac: 0xc0, # GREEK SMALL LETTER ALPHA WITH TONOS
+ 0x03ad: 0xdb, # GREEK SMALL LETTER EPSILON WITH TONOS
+ 0x03ae: 0xdc, # GREEK SMALL LETTER ETA WITH TONOS
+ 0x03af: 0xdd, # GREEK SMALL LETTER IOTA WITH TONOS
+ 0x03b0: 0xfe, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
+ 0x03b1: 0xe1, # GREEK SMALL LETTER ALPHA
+ 0x03b2: 0xe2, # GREEK SMALL LETTER BETA
+ 0x03b3: 0xe7, # GREEK SMALL LETTER GAMMA
+ 0x03b4: 0xe4, # GREEK SMALL LETTER DELTA
+ 0x03b5: 0xe5, # GREEK SMALL LETTER EPSILON
+ 0x03b6: 0xfa, # GREEK SMALL LETTER ZETA
+ 0x03b7: 0xe8, # GREEK SMALL LETTER ETA
+ 0x03b8: 0xf5, # GREEK SMALL LETTER THETA
+ 0x03b9: 0xe9, # GREEK SMALL LETTER IOTA
+ 0x03ba: 0xeb, # GREEK SMALL LETTER KAPPA
+ 0x03bb: 0xec, # GREEK SMALL LETTER LAMDA
+ 0x03bc: 0xed, # GREEK SMALL LETTER MU
+ 0x03bd: 0xee, # GREEK SMALL LETTER NU
+ 0x03be: 0xea, # GREEK SMALL LETTER XI
+ 0x03bf: 0xef, # GREEK SMALL LETTER OMICRON
+ 0x03c0: 0xf0, # GREEK SMALL LETTER PI
+ 0x03c1: 0xf2, # GREEK SMALL LETTER RHO
+ 0x03c2: 0xf7, # GREEK SMALL LETTER FINAL SIGMA
+ 0x03c3: 0xf3, # GREEK SMALL LETTER SIGMA
+ 0x03c4: 0xf4, # GREEK SMALL LETTER TAU
+ 0x03c5: 0xf9, # GREEK SMALL LETTER UPSILON
+ 0x03c6: 0xe6, # GREEK SMALL LETTER PHI
+ 0x03c7: 0xf8, # GREEK SMALL LETTER CHI
+ 0x03c8: 0xe3, # GREEK SMALL LETTER PSI
+ 0x03c9: 0xf6, # GREEK SMALL LETTER OMEGA
+ 0x03ca: 0xfb, # GREEK SMALL LETTER IOTA WITH DIALYTIKA
+ 0x03cb: 0xfc, # GREEK SMALL LETTER UPSILON WITH DIALYTIKA
+ 0x03cc: 0xde, # GREEK SMALL LETTER OMICRON WITH TONOS
+ 0x03cd: 0xe0, # GREEK SMALL LETTER UPSILON WITH TONOS
+ 0x03ce: 0xf1, # GREEK SMALL LETTER OMEGA WITH TONOS
+ 0x2013: 0xd0, # EN DASH
+ 0x2015: 0xd1, # HORIZONTAL BAR
+ 0x2018: 0xd4, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0xd5, # RIGHT SINGLE QUOTATION MARK
+ 0x201c: 0xd2, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0xd3, # RIGHT DOUBLE QUOTATION MARK
+ 0x2020: 0xa0, # DAGGER
+ 0x2022: 0x96, # BULLET
+ 0x2026: 0xc9, # HORIZONTAL ELLIPSIS
+ 0x2030: 0x98, # PER MILLE SIGN
+ 0x20ac: 0x9c, # EURO SIGN # before Mac OS 9.2.2, was SOFT HYPHEN
+ 0x2122: 0x93, # TRADE MARK SIGN
+ 0x2248: 0xc5, # ALMOST EQUAL TO
+ 0x2260: 0xad, # NOT EQUAL TO
+ 0x2264: 0xb2, # LESS-THAN OR EQUAL TO
+ 0x2265: 0xb3, # GREATER-THAN OR EQUAL TO
} \ No newline at end of file
diff --git a/Lib/encodings/mac_iceland.py b/Lib/encodings/mac_iceland.py
index aa492387d7d..6a30ba2ea76 100644
--- a/Lib/encodings/mac_iceland.py
+++ b/Lib/encodings/mac_iceland.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/APPLE/ICELAND.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/APPLE/ICELAND.TXT' with gencodec.py.
"""#"
@@ -28,652 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x0081: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x0082: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x0083: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x0084: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x0085: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x0086: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x0087: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x0088: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x0089: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x008a: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x008b: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x008c: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x008d: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x008e: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x008f: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x0090: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x0091: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x0092: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x0093: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x0094: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x0095: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x0096: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x0097: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x0098: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x0099: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x009a: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x009b: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x009c: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x009d: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x009e: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x009f: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00a0: 0x00dd, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00a1: 0x00b0, # DEGREE SIGN
- 0x00a4: 0x00a7, # SECTION SIGN
- 0x00a5: 0x2022, # BULLET
- 0x00a6: 0x00b6, # PILCROW SIGN
- 0x00a7: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00a8: 0x00ae, # REGISTERED SIGN
- 0x00aa: 0x2122, # TRADE MARK SIGN
- 0x00ab: 0x00b4, # ACUTE ACCENT
- 0x00ac: 0x00a8, # DIAERESIS
- 0x00ad: 0x2260, # NOT EQUAL TO
- 0x00ae: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00af: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00b0: 0x221e, # INFINITY
- 0x00b2: 0x2264, # LESS-THAN OR EQUAL TO
- 0x00b3: 0x2265, # GREATER-THAN OR EQUAL TO
- 0x00b4: 0x00a5, # YEN SIGN
- 0x00b6: 0x2202, # PARTIAL DIFFERENTIAL
- 0x00b7: 0x2211, # N-ARY SUMMATION
- 0x00b8: 0x220f, # N-ARY PRODUCT
- 0x00b9: 0x03c0, # GREEK SMALL LETTER PI
- 0x00ba: 0x222b, # INTEGRAL
- 0x00bb: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x00bc: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x00bd: 0x03a9, # GREEK CAPITAL LETTER OMEGA
- 0x00be: 0x00e6, # LATIN SMALL LETTER AE
- 0x00bf: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00c0: 0x00bf, # INVERTED QUESTION MARK
- 0x00c1: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00c2: 0x00ac, # NOT SIGN
- 0x00c3: 0x221a, # SQUARE ROOT
- 0x00c4: 0x0192, # LATIN SMALL LETTER F WITH HOOK
- 0x00c5: 0x2248, # ALMOST EQUAL TO
- 0x00c6: 0x2206, # INCREMENT
- 0x00c7: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c8: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c9: 0x2026, # HORIZONTAL ELLIPSIS
- 0x00ca: 0x00a0, # NO-BREAK SPACE
- 0x00cb: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00cc: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00cd: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00ce: 0x0152, # LATIN CAPITAL LIGATURE OE
- 0x00cf: 0x0153, # LATIN SMALL LIGATURE OE
- 0x00d0: 0x2013, # EN DASH
- 0x00d1: 0x2014, # EM DASH
- 0x00d2: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x00d3: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x00d4: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x00d5: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x00d6: 0x00f7, # DIVISION SIGN
- 0x00d7: 0x25ca, # LOZENGE
- 0x00d8: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x00d9: 0x0178, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x00da: 0x2044, # FRACTION SLASH
- 0x00db: 0x20ac, # EURO SIGN
- 0x00dc: 0x00d0, # LATIN CAPITAL LETTER ETH
- 0x00dd: 0x00f0, # LATIN SMALL LETTER ETH
- 0x00df: 0x00fe, # LATIN SMALL LETTER THORN
- 0x00e0: 0x00fd, # LATIN SMALL LETTER Y WITH ACUTE
- 0x00e1: 0x00b7, # MIDDLE DOT
- 0x00e2: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x00e3: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x00e4: 0x2030, # PER MILLE SIGN
- 0x00e5: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00e6: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00e7: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00e8: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00e9: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00ea: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00eb: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00ec: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00ed: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00ee: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00ef: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00f0: 0xf8ff, # Apple logo
- 0x00f1: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00f2: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00f3: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00f4: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00f5: 0x0131, # LATIN SMALL LETTER DOTLESS I
- 0x00f6: 0x02c6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x00f7: 0x02dc, # SMALL TILDE
- 0x00f8: 0x00af, # MACRON
- 0x00f9: 0x02d8, # BREVE
- 0x00fa: 0x02d9, # DOT ABOVE
- 0x00fb: 0x02da, # RING ABOVE
- 0x00fc: 0x00b8, # CEDILLA
- 0x00fd: 0x02dd, # DOUBLE ACUTE ACCENT
- 0x00fe: 0x02db, # OGONEK
- 0x00ff: 0x02c7, # CARON
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> CONTROL CHARACTER
- u'\x01' # 0x0001 -> CONTROL CHARACTER
- u'\x02' # 0x0002 -> CONTROL CHARACTER
- u'\x03' # 0x0003 -> CONTROL CHARACTER
- u'\x04' # 0x0004 -> CONTROL CHARACTER
- u'\x05' # 0x0005 -> CONTROL CHARACTER
- u'\x06' # 0x0006 -> CONTROL CHARACTER
- u'\x07' # 0x0007 -> CONTROL CHARACTER
- u'\x08' # 0x0008 -> CONTROL CHARACTER
- u'\t' # 0x0009 -> CONTROL CHARACTER
- u'\n' # 0x000a -> CONTROL CHARACTER
- u'\x0b' # 0x000b -> CONTROL CHARACTER
- u'\x0c' # 0x000c -> CONTROL CHARACTER
- u'\r' # 0x000d -> CONTROL CHARACTER
- u'\x0e' # 0x000e -> CONTROL CHARACTER
- u'\x0f' # 0x000f -> CONTROL CHARACTER
- u'\x10' # 0x0010 -> CONTROL CHARACTER
- u'\x11' # 0x0011 -> CONTROL CHARACTER
- u'\x12' # 0x0012 -> CONTROL CHARACTER
- u'\x13' # 0x0013 -> CONTROL CHARACTER
- u'\x14' # 0x0014 -> CONTROL CHARACTER
- u'\x15' # 0x0015 -> CONTROL CHARACTER
- u'\x16' # 0x0016 -> CONTROL CHARACTER
- u'\x17' # 0x0017 -> CONTROL CHARACTER
- u'\x18' # 0x0018 -> CONTROL CHARACTER
- u'\x19' # 0x0019 -> CONTROL CHARACTER
- u'\x1a' # 0x001a -> CONTROL CHARACTER
- u'\x1b' # 0x001b -> CONTROL CHARACTER
- u'\x1c' # 0x001c -> CONTROL CHARACTER
- u'\x1d' # 0x001d -> CONTROL CHARACTER
- u'\x1e' # 0x001e -> CONTROL CHARACTER
- u'\x1f' # 0x001f -> CONTROL CHARACTER
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> CONTROL CHARACTER
- u'\xc4' # 0x0080 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x0081 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc7' # 0x0082 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc9' # 0x0083 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xd1' # 0x0084 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd6' # 0x0085 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xdc' # 0x0086 -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xe1' # 0x0087 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe0' # 0x0088 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe2' # 0x0089 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe4' # 0x008a -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe3' # 0x008b -> LATIN SMALL LETTER A WITH TILDE
- u'\xe5' # 0x008c -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe7' # 0x008d -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe9' # 0x008e -> LATIN SMALL LETTER E WITH ACUTE
- u'\xe8' # 0x008f -> LATIN SMALL LETTER E WITH GRAVE
- u'\xea' # 0x0090 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x0091 -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xed' # 0x0092 -> LATIN SMALL LETTER I WITH ACUTE
- u'\xec' # 0x0093 -> LATIN SMALL LETTER I WITH GRAVE
- u'\xee' # 0x0094 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x0095 -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xf1' # 0x0096 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf3' # 0x0097 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf2' # 0x0098 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf4' # 0x0099 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf6' # 0x009a -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf5' # 0x009b -> LATIN SMALL LETTER O WITH TILDE
- u'\xfa' # 0x009c -> LATIN SMALL LETTER U WITH ACUTE
- u'\xf9' # 0x009d -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfb' # 0x009e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x009f -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\xdd' # 0x00a0 -> LATIN CAPITAL LETTER Y WITH ACUTE
- u'\xb0' # 0x00a1 -> DEGREE SIGN
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa7' # 0x00a4 -> SECTION SIGN
- u'\u2022' # 0x00a5 -> BULLET
- u'\xb6' # 0x00a6 -> PILCROW SIGN
- u'\xdf' # 0x00a7 -> LATIN SMALL LETTER SHARP S
- u'\xae' # 0x00a8 -> REGISTERED SIGN
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u2122' # 0x00aa -> TRADE MARK SIGN
- u'\xb4' # 0x00ab -> ACUTE ACCENT
- u'\xa8' # 0x00ac -> DIAERESIS
- u'\u2260' # 0x00ad -> NOT EQUAL TO
- u'\xc6' # 0x00ae -> LATIN CAPITAL LETTER AE
- u'\xd8' # 0x00af -> LATIN CAPITAL LETTER O WITH STROKE
- u'\u221e' # 0x00b0 -> INFINITY
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\u2264' # 0x00b2 -> LESS-THAN OR EQUAL TO
- u'\u2265' # 0x00b3 -> GREATER-THAN OR EQUAL TO
- u'\xa5' # 0x00b4 -> YEN SIGN
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\u2202' # 0x00b6 -> PARTIAL DIFFERENTIAL
- u'\u2211' # 0x00b7 -> N-ARY SUMMATION
- u'\u220f' # 0x00b8 -> N-ARY PRODUCT
- u'\u03c0' # 0x00b9 -> GREEK SMALL LETTER PI
- u'\u222b' # 0x00ba -> INTEGRAL
- u'\xaa' # 0x00bb -> FEMININE ORDINAL INDICATOR
- u'\xba' # 0x00bc -> MASCULINE ORDINAL INDICATOR
- u'\u03a9' # 0x00bd -> GREEK CAPITAL LETTER OMEGA
- u'\xe6' # 0x00be -> LATIN SMALL LETTER AE
- u'\xf8' # 0x00bf -> LATIN SMALL LETTER O WITH STROKE
- u'\xbf' # 0x00c0 -> INVERTED QUESTION MARK
- u'\xa1' # 0x00c1 -> INVERTED EXCLAMATION MARK
- u'\xac' # 0x00c2 -> NOT SIGN
- u'\u221a' # 0x00c3 -> SQUARE ROOT
- u'\u0192' # 0x00c4 -> LATIN SMALL LETTER F WITH HOOK
- u'\u2248' # 0x00c5 -> ALMOST EQUAL TO
- u'\u2206' # 0x00c6 -> INCREMENT
- u'\xab' # 0x00c7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbb' # 0x00c8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u2026' # 0x00c9 -> HORIZONTAL ELLIPSIS
- u'\xa0' # 0x00ca -> NO-BREAK SPACE
- u'\xc0' # 0x00cb -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc3' # 0x00cc -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xd5' # 0x00cd -> LATIN CAPITAL LETTER O WITH TILDE
- u'\u0152' # 0x00ce -> LATIN CAPITAL LIGATURE OE
- u'\u0153' # 0x00cf -> LATIN SMALL LIGATURE OE
- u'\u2013' # 0x00d0 -> EN DASH
- u'\u2014' # 0x00d1 -> EM DASH
- u'\u201c' # 0x00d2 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x00d3 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2018' # 0x00d4 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x00d5 -> RIGHT SINGLE QUOTATION MARK
- u'\xf7' # 0x00d6 -> DIVISION SIGN
- u'\u25ca' # 0x00d7 -> LOZENGE
- u'\xff' # 0x00d8 -> LATIN SMALL LETTER Y WITH DIAERESIS
- u'\u0178' # 0x00d9 -> LATIN CAPITAL LETTER Y WITH DIAERESIS
- u'\u2044' # 0x00da -> FRACTION SLASH
- u'\u20ac' # 0x00db -> EURO SIGN
- u'\xd0' # 0x00dc -> LATIN CAPITAL LETTER ETH
- u'\xf0' # 0x00dd -> LATIN SMALL LETTER ETH
- u'\xde' # 0x00de -> LATIN CAPITAL LETTER THORN
- u'\xfe' # 0x00df -> LATIN SMALL LETTER THORN
- u'\xfd' # 0x00e0 -> LATIN SMALL LETTER Y WITH ACUTE
- u'\xb7' # 0x00e1 -> MIDDLE DOT
- u'\u201a' # 0x00e2 -> SINGLE LOW-9 QUOTATION MARK
- u'\u201e' # 0x00e3 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2030' # 0x00e4 -> PER MILLE SIGN
- u'\xc2' # 0x00e5 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xca' # 0x00e6 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xc1' # 0x00e7 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xcb' # 0x00e8 -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xc8' # 0x00e9 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xcd' # 0x00ea -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00eb -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00ec -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\xcc' # 0x00ed -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xd3' # 0x00ee -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00ef -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\uf8ff' # 0x00f0 -> Apple logo
- u'\xd2' # 0x00f1 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xda' # 0x00f2 -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00f3 -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xd9' # 0x00f4 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\u0131' # 0x00f5 -> LATIN SMALL LETTER DOTLESS I
- u'\u02c6' # 0x00f6 -> MODIFIER LETTER CIRCUMFLEX ACCENT
- u'\u02dc' # 0x00f7 -> SMALL TILDE
- u'\xaf' # 0x00f8 -> MACRON
- u'\u02d8' # 0x00f9 -> BREVE
- u'\u02d9' # 0x00fa -> DOT ABOVE
- u'\u02da' # 0x00fb -> RING ABOVE
- u'\xb8' # 0x00fc -> CEDILLA
- u'\u02dd' # 0x00fd -> DOUBLE ACUTE ACCENT
- u'\u02db' # 0x00fe -> OGONEK
- u'\u02c7' # 0x00ff -> CARON
+ u'\x00' # 0x00 -> CONTROL CHARACTER
+ u'\x01' # 0x01 -> CONTROL CHARACTER
+ u'\x02' # 0x02 -> CONTROL CHARACTER
+ u'\x03' # 0x03 -> CONTROL CHARACTER
+ u'\x04' # 0x04 -> CONTROL CHARACTER
+ u'\x05' # 0x05 -> CONTROL CHARACTER
+ u'\x06' # 0x06 -> CONTROL CHARACTER
+ u'\x07' # 0x07 -> CONTROL CHARACTER
+ u'\x08' # 0x08 -> CONTROL CHARACTER
+ u'\t' # 0x09 -> CONTROL CHARACTER
+ u'\n' # 0x0a -> CONTROL CHARACTER
+ u'\x0b' # 0x0b -> CONTROL CHARACTER
+ u'\x0c' # 0x0c -> CONTROL CHARACTER
+ u'\r' # 0x0d -> CONTROL CHARACTER
+ u'\x0e' # 0x0e -> CONTROL CHARACTER
+ u'\x0f' # 0x0f -> CONTROL CHARACTER
+ u'\x10' # 0x10 -> CONTROL CHARACTER
+ u'\x11' # 0x11 -> CONTROL CHARACTER
+ u'\x12' # 0x12 -> CONTROL CHARACTER
+ u'\x13' # 0x13 -> CONTROL CHARACTER
+ u'\x14' # 0x14 -> CONTROL CHARACTER
+ u'\x15' # 0x15 -> CONTROL CHARACTER
+ u'\x16' # 0x16 -> CONTROL CHARACTER
+ u'\x17' # 0x17 -> CONTROL CHARACTER
+ u'\x18' # 0x18 -> CONTROL CHARACTER
+ u'\x19' # 0x19 -> CONTROL CHARACTER
+ u'\x1a' # 0x1a -> CONTROL CHARACTER
+ u'\x1b' # 0x1b -> CONTROL CHARACTER
+ u'\x1c' # 0x1c -> CONTROL CHARACTER
+ u'\x1d' # 0x1d -> CONTROL CHARACTER
+ u'\x1e' # 0x1e -> CONTROL CHARACTER
+ u'\x1f' # 0x1f -> CONTROL CHARACTER
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> CONTROL CHARACTER
+ u'\xc4' # 0x80 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0x81 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc7' # 0x82 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc9' # 0x83 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xd1' # 0x84 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd6' # 0x85 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xdc' # 0x86 -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xe1' # 0x87 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe0' # 0x88 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe2' # 0x89 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe4' # 0x8a -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe3' # 0x8b -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe5' # 0x8c -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe7' # 0x8d -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe9' # 0x8e -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xe8' # 0x8f -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xea' # 0x90 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0x91 -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xed' # 0x92 -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xec' # 0x93 -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xee' # 0x94 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0x95 -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xf1' # 0x96 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf3' # 0x97 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf2' # 0x98 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf4' # 0x99 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf6' # 0x9a -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf5' # 0x9b -> LATIN SMALL LETTER O WITH TILDE
+ u'\xfa' # 0x9c -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xf9' # 0x9d -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfb' # 0x9e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0x9f -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\xdd' # 0xa0 -> LATIN CAPITAL LETTER Y WITH ACUTE
+ u'\xb0' # 0xa1 -> DEGREE SIGN
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa7' # 0xa4 -> SECTION SIGN
+ u'\u2022' # 0xa5 -> BULLET
+ u'\xb6' # 0xa6 -> PILCROW SIGN
+ u'\xdf' # 0xa7 -> LATIN SMALL LETTER SHARP S
+ u'\xae' # 0xa8 -> REGISTERED SIGN
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u2122' # 0xaa -> TRADE MARK SIGN
+ u'\xb4' # 0xab -> ACUTE ACCENT
+ u'\xa8' # 0xac -> DIAERESIS
+ u'\u2260' # 0xad -> NOT EQUAL TO
+ u'\xc6' # 0xae -> LATIN CAPITAL LETTER AE
+ u'\xd8' # 0xaf -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\u221e' # 0xb0 -> INFINITY
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\u2264' # 0xb2 -> LESS-THAN OR EQUAL TO
+ u'\u2265' # 0xb3 -> GREATER-THAN OR EQUAL TO
+ u'\xa5' # 0xb4 -> YEN SIGN
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\u2202' # 0xb6 -> PARTIAL DIFFERENTIAL
+ u'\u2211' # 0xb7 -> N-ARY SUMMATION
+ u'\u220f' # 0xb8 -> N-ARY PRODUCT
+ u'\u03c0' # 0xb9 -> GREEK SMALL LETTER PI
+ u'\u222b' # 0xba -> INTEGRAL
+ u'\xaa' # 0xbb -> FEMININE ORDINAL INDICATOR
+ u'\xba' # 0xbc -> MASCULINE ORDINAL INDICATOR
+ u'\u03a9' # 0xbd -> GREEK CAPITAL LETTER OMEGA
+ u'\xe6' # 0xbe -> LATIN SMALL LETTER AE
+ u'\xf8' # 0xbf -> LATIN SMALL LETTER O WITH STROKE
+ u'\xbf' # 0xc0 -> INVERTED QUESTION MARK
+ u'\xa1' # 0xc1 -> INVERTED EXCLAMATION MARK
+ u'\xac' # 0xc2 -> NOT SIGN
+ u'\u221a' # 0xc3 -> SQUARE ROOT
+ u'\u0192' # 0xc4 -> LATIN SMALL LETTER F WITH HOOK
+ u'\u2248' # 0xc5 -> ALMOST EQUAL TO
+ u'\u2206' # 0xc6 -> INCREMENT
+ u'\xab' # 0xc7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0xc8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u2026' # 0xc9 -> HORIZONTAL ELLIPSIS
+ u'\xa0' # 0xca -> NO-BREAK SPACE
+ u'\xc0' # 0xcb -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc3' # 0xcc -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xd5' # 0xcd -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\u0152' # 0xce -> LATIN CAPITAL LIGATURE OE
+ u'\u0153' # 0xcf -> LATIN SMALL LIGATURE OE
+ u'\u2013' # 0xd0 -> EN DASH
+ u'\u2014' # 0xd1 -> EM DASH
+ u'\u201c' # 0xd2 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0xd3 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2018' # 0xd4 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0xd5 -> RIGHT SINGLE QUOTATION MARK
+ u'\xf7' # 0xd6 -> DIVISION SIGN
+ u'\u25ca' # 0xd7 -> LOZENGE
+ u'\xff' # 0xd8 -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\u0178' # 0xd9 -> LATIN CAPITAL LETTER Y WITH DIAERESIS
+ u'\u2044' # 0xda -> FRACTION SLASH
+ u'\u20ac' # 0xdb -> EURO SIGN
+ u'\xd0' # 0xdc -> LATIN CAPITAL LETTER ETH
+ u'\xf0' # 0xdd -> LATIN SMALL LETTER ETH
+ u'\xde' # 0xde -> LATIN CAPITAL LETTER THORN
+ u'\xfe' # 0xdf -> LATIN SMALL LETTER THORN
+ u'\xfd' # 0xe0 -> LATIN SMALL LETTER Y WITH ACUTE
+ u'\xb7' # 0xe1 -> MIDDLE DOT
+ u'\u201a' # 0xe2 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u201e' # 0xe3 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2030' # 0xe4 -> PER MILLE SIGN
+ u'\xc2' # 0xe5 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xca' # 0xe6 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xc1' # 0xe7 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xcb' # 0xe8 -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xc8' # 0xe9 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xcd' # 0xea -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xeb -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xec -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xcc' # 0xed -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xd3' # 0xee -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xef -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\uf8ff' # 0xf0 -> Apple logo
+ u'\xd2' # 0xf1 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xda' # 0xf2 -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xf3 -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xd9' # 0xf4 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\u0131' # 0xf5 -> LATIN SMALL LETTER DOTLESS I
+ u'\u02c6' # 0xf6 -> MODIFIER LETTER CIRCUMFLEX ACCENT
+ u'\u02dc' # 0xf7 -> SMALL TILDE
+ u'\xaf' # 0xf8 -> MACRON
+ u'\u02d8' # 0xf9 -> BREVE
+ u'\u02d9' # 0xfa -> DOT ABOVE
+ u'\u02da' # 0xfb -> RING ABOVE
+ u'\xb8' # 0xfc -> CEDILLA
+ u'\u02dd' # 0xfd -> DOUBLE ACUTE ACCENT
+ u'\u02db' # 0xfe -> OGONEK
+ u'\u02c7' # 0xff -> CARON
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # CONTROL CHARACTER
- 0x0001: 0x0001, # CONTROL CHARACTER
- 0x0002: 0x0002, # CONTROL CHARACTER
- 0x0003: 0x0003, # CONTROL CHARACTER
- 0x0004: 0x0004, # CONTROL CHARACTER
- 0x0005: 0x0005, # CONTROL CHARACTER
- 0x0006: 0x0006, # CONTROL CHARACTER
- 0x0007: 0x0007, # CONTROL CHARACTER
- 0x0008: 0x0008, # CONTROL CHARACTER
- 0x0009: 0x0009, # CONTROL CHARACTER
- 0x000a: 0x000a, # CONTROL CHARACTER
- 0x000b: 0x000b, # CONTROL CHARACTER
- 0x000c: 0x000c, # CONTROL CHARACTER
- 0x000d: 0x000d, # CONTROL CHARACTER
- 0x000e: 0x000e, # CONTROL CHARACTER
- 0x000f: 0x000f, # CONTROL CHARACTER
- 0x0010: 0x0010, # CONTROL CHARACTER
- 0x0011: 0x0011, # CONTROL CHARACTER
- 0x0012: 0x0012, # CONTROL CHARACTER
- 0x0013: 0x0013, # CONTROL CHARACTER
- 0x0014: 0x0014, # CONTROL CHARACTER
- 0x0015: 0x0015, # CONTROL CHARACTER
- 0x0016: 0x0016, # CONTROL CHARACTER
- 0x0017: 0x0017, # CONTROL CHARACTER
- 0x0018: 0x0018, # CONTROL CHARACTER
- 0x0019: 0x0019, # CONTROL CHARACTER
- 0x001a: 0x001a, # CONTROL CHARACTER
- 0x001b: 0x001b, # CONTROL CHARACTER
- 0x001c: 0x001c, # CONTROL CHARACTER
- 0x001d: 0x001d, # CONTROL CHARACTER
- 0x001e: 0x001e, # CONTROL CHARACTER
- 0x001f: 0x001f, # CONTROL CHARACTER
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # CONTROL CHARACTER
- 0x00a0: 0x00ca, # NO-BREAK SPACE
- 0x00a1: 0x00c1, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a5: 0x00b4, # YEN SIGN
- 0x00a7: 0x00a4, # SECTION SIGN
- 0x00a8: 0x00ac, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00aa: 0x00bb, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x00c7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00c2, # NOT SIGN
- 0x00ae: 0x00a8, # REGISTERED SIGN
- 0x00af: 0x00f8, # MACRON
- 0x00b0: 0x00a1, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b4: 0x00ab, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00a6, # PILCROW SIGN
- 0x00b7: 0x00e1, # MIDDLE DOT
- 0x00b8: 0x00fc, # CEDILLA
- 0x00ba: 0x00bc, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x00c8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bf: 0x00c0, # INVERTED QUESTION MARK
- 0x00c0: 0x00cb, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00e7, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00e5, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00cc, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x0080, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x0081, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00ae, # LATIN CAPITAL LETTER AE
- 0x00c7: 0x0082, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00e9, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x0083, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00e6, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00e8, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00ed, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00ea, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00eb, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00ec, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d0: 0x00dc, # LATIN CAPITAL LETTER ETH
- 0x00d1: 0x0084, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00f1, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00ee, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00ef, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00cd, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x0085, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d8: 0x00af, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00f4, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00f2, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00f3, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x0086, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00dd: 0x00a0, # LATIN CAPITAL LETTER Y WITH ACUTE
- 0x00de: 0x00de, # LATIN CAPITAL LETTER THORN
- 0x00df: 0x00a7, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x0088, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x0087, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x0089, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x008b, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x008a, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x008c, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00be, # LATIN SMALL LETTER AE
- 0x00e7: 0x008d, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x008f, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x008e, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x0090, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x0091, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x0093, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x0092, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x0094, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x0095, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f0: 0x00dd, # LATIN SMALL LETTER ETH
- 0x00f1: 0x0096, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x0098, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x0097, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x0099, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x009b, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x009a, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00d6, # DIVISION SIGN
- 0x00f8: 0x00bf, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x009d, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x009c, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x009e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x009f, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00fd: 0x00e0, # LATIN SMALL LETTER Y WITH ACUTE
- 0x00fe: 0x00df, # LATIN SMALL LETTER THORN
- 0x00ff: 0x00d8, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x0131: 0x00f5, # LATIN SMALL LETTER DOTLESS I
- 0x0152: 0x00ce, # LATIN CAPITAL LIGATURE OE
- 0x0153: 0x00cf, # LATIN SMALL LIGATURE OE
- 0x0178: 0x00d9, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x0192: 0x00c4, # LATIN SMALL LETTER F WITH HOOK
- 0x02c6: 0x00f6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x02c7: 0x00ff, # CARON
- 0x02d8: 0x00f9, # BREVE
- 0x02d9: 0x00fa, # DOT ABOVE
- 0x02da: 0x00fb, # RING ABOVE
- 0x02db: 0x00fe, # OGONEK
- 0x02dc: 0x00f7, # SMALL TILDE
- 0x02dd: 0x00fd, # DOUBLE ACUTE ACCENT
- 0x03a9: 0x00bd, # GREEK CAPITAL LETTER OMEGA
- 0x03c0: 0x00b9, # GREEK SMALL LETTER PI
- 0x2013: 0x00d0, # EN DASH
- 0x2014: 0x00d1, # EM DASH
- 0x2018: 0x00d4, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x00d5, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x00e2, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x00d2, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x00d3, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x00e3, # DOUBLE LOW-9 QUOTATION MARK
- 0x2022: 0x00a5, # BULLET
- 0x2026: 0x00c9, # HORIZONTAL ELLIPSIS
- 0x2030: 0x00e4, # PER MILLE SIGN
- 0x2044: 0x00da, # FRACTION SLASH
- 0x20ac: 0x00db, # EURO SIGN
- 0x2122: 0x00aa, # TRADE MARK SIGN
- 0x2202: 0x00b6, # PARTIAL DIFFERENTIAL
- 0x2206: 0x00c6, # INCREMENT
- 0x220f: 0x00b8, # N-ARY PRODUCT
- 0x2211: 0x00b7, # N-ARY SUMMATION
- 0x221a: 0x00c3, # SQUARE ROOT
- 0x221e: 0x00b0, # INFINITY
- 0x222b: 0x00ba, # INTEGRAL
- 0x2248: 0x00c5, # ALMOST EQUAL TO
- 0x2260: 0x00ad, # NOT EQUAL TO
- 0x2264: 0x00b2, # LESS-THAN OR EQUAL TO
- 0x2265: 0x00b3, # GREATER-THAN OR EQUAL TO
- 0x25ca: 0x00d7, # LOZENGE
- 0xf8ff: 0x00f0, # Apple logo
+ 0x0000: 0x00, # CONTROL CHARACTER
+ 0x0001: 0x01, # CONTROL CHARACTER
+ 0x0002: 0x02, # CONTROL CHARACTER
+ 0x0003: 0x03, # CONTROL CHARACTER
+ 0x0004: 0x04, # CONTROL CHARACTER
+ 0x0005: 0x05, # CONTROL CHARACTER
+ 0x0006: 0x06, # CONTROL CHARACTER
+ 0x0007: 0x07, # CONTROL CHARACTER
+ 0x0008: 0x08, # CONTROL CHARACTER
+ 0x0009: 0x09, # CONTROL CHARACTER
+ 0x000a: 0x0a, # CONTROL CHARACTER
+ 0x000b: 0x0b, # CONTROL CHARACTER
+ 0x000c: 0x0c, # CONTROL CHARACTER
+ 0x000d: 0x0d, # CONTROL CHARACTER
+ 0x000e: 0x0e, # CONTROL CHARACTER
+ 0x000f: 0x0f, # CONTROL CHARACTER
+ 0x0010: 0x10, # CONTROL CHARACTER
+ 0x0011: 0x11, # CONTROL CHARACTER
+ 0x0012: 0x12, # CONTROL CHARACTER
+ 0x0013: 0x13, # CONTROL CHARACTER
+ 0x0014: 0x14, # CONTROL CHARACTER
+ 0x0015: 0x15, # CONTROL CHARACTER
+ 0x0016: 0x16, # CONTROL CHARACTER
+ 0x0017: 0x17, # CONTROL CHARACTER
+ 0x0018: 0x18, # CONTROL CHARACTER
+ 0x0019: 0x19, # CONTROL CHARACTER
+ 0x001a: 0x1a, # CONTROL CHARACTER
+ 0x001b: 0x1b, # CONTROL CHARACTER
+ 0x001c: 0x1c, # CONTROL CHARACTER
+ 0x001d: 0x1d, # CONTROL CHARACTER
+ 0x001e: 0x1e, # CONTROL CHARACTER
+ 0x001f: 0x1f, # CONTROL CHARACTER
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # CONTROL CHARACTER
+ 0x00a0: 0xca, # NO-BREAK SPACE
+ 0x00a1: 0xc1, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a5: 0xb4, # YEN SIGN
+ 0x00a7: 0xa4, # SECTION SIGN
+ 0x00a8: 0xac, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00aa: 0xbb, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0xc7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xc2, # NOT SIGN
+ 0x00ae: 0xa8, # REGISTERED SIGN
+ 0x00af: 0xf8, # MACRON
+ 0x00b0: 0xa1, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b4: 0xab, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xa6, # PILCROW SIGN
+ 0x00b7: 0xe1, # MIDDLE DOT
+ 0x00b8: 0xfc, # CEDILLA
+ 0x00ba: 0xbc, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0xc8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bf: 0xc0, # INVERTED QUESTION MARK
+ 0x00c0: 0xcb, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xe7, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xe5, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xcc, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0x80, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0x81, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xae, # LATIN CAPITAL LETTER AE
+ 0x00c7: 0x82, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xe9, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0x83, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xe6, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xe8, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xed, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xea, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xeb, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xec, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d0: 0xdc, # LATIN CAPITAL LETTER ETH
+ 0x00d1: 0x84, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xf1, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xee, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xef, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xcd, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0x85, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d8: 0xaf, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xf4, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xf2, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xf3, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0x86, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00dd: 0xa0, # LATIN CAPITAL LETTER Y WITH ACUTE
+ 0x00de: 0xde, # LATIN CAPITAL LETTER THORN
+ 0x00df: 0xa7, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0x88, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0x87, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0x89, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0x8b, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0x8a, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0x8c, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xbe, # LATIN SMALL LETTER AE
+ 0x00e7: 0x8d, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0x8f, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0x8e, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0x90, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0x91, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0x93, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0x92, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0x94, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0x95, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f0: 0xdd, # LATIN SMALL LETTER ETH
+ 0x00f1: 0x96, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0x98, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0x97, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0x99, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0x9b, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0x9a, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xd6, # DIVISION SIGN
+ 0x00f8: 0xbf, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0x9d, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0x9c, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0x9e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0x9f, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00fd: 0xe0, # LATIN SMALL LETTER Y WITH ACUTE
+ 0x00fe: 0xdf, # LATIN SMALL LETTER THORN
+ 0x00ff: 0xd8, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x0131: 0xf5, # LATIN SMALL LETTER DOTLESS I
+ 0x0152: 0xce, # LATIN CAPITAL LIGATURE OE
+ 0x0153: 0xcf, # LATIN SMALL LIGATURE OE
+ 0x0178: 0xd9, # LATIN CAPITAL LETTER Y WITH DIAERESIS
+ 0x0192: 0xc4, # LATIN SMALL LETTER F WITH HOOK
+ 0x02c6: 0xf6, # MODIFIER LETTER CIRCUMFLEX ACCENT
+ 0x02c7: 0xff, # CARON
+ 0x02d8: 0xf9, # BREVE
+ 0x02d9: 0xfa, # DOT ABOVE
+ 0x02da: 0xfb, # RING ABOVE
+ 0x02db: 0xfe, # OGONEK
+ 0x02dc: 0xf7, # SMALL TILDE
+ 0x02dd: 0xfd, # DOUBLE ACUTE ACCENT
+ 0x03a9: 0xbd, # GREEK CAPITAL LETTER OMEGA
+ 0x03c0: 0xb9, # GREEK SMALL LETTER PI
+ 0x2013: 0xd0, # EN DASH
+ 0x2014: 0xd1, # EM DASH
+ 0x2018: 0xd4, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0xd5, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0xe2, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0xd2, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0xd3, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0xe3, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2022: 0xa5, # BULLET
+ 0x2026: 0xc9, # HORIZONTAL ELLIPSIS
+ 0x2030: 0xe4, # PER MILLE SIGN
+ 0x2044: 0xda, # FRACTION SLASH
+ 0x20ac: 0xdb, # EURO SIGN
+ 0x2122: 0xaa, # TRADE MARK SIGN
+ 0x2202: 0xb6, # PARTIAL DIFFERENTIAL
+ 0x2206: 0xc6, # INCREMENT
+ 0x220f: 0xb8, # N-ARY PRODUCT
+ 0x2211: 0xb7, # N-ARY SUMMATION
+ 0x221a: 0xc3, # SQUARE ROOT
+ 0x221e: 0xb0, # INFINITY
+ 0x222b: 0xba, # INTEGRAL
+ 0x2248: 0xc5, # ALMOST EQUAL TO
+ 0x2260: 0xad, # NOT EQUAL TO
+ 0x2264: 0xb2, # LESS-THAN OR EQUAL TO
+ 0x2265: 0xb3, # GREATER-THAN OR EQUAL TO
+ 0x25ca: 0xd7, # LOZENGE
+ 0xf8ff: 0xf0, # Apple logo
} \ No newline at end of file
diff --git a/Lib/encodings/mac_roman.py b/Lib/encodings/mac_roman.py
index ec9b2c978aa..77c2dec3d00 100644
--- a/Lib/encodings/mac_roman.py
+++ b/Lib/encodings/mac_roman.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/APPLE/ROMAN.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/APPLE/ROMAN.TXT' with gencodec.py.
"""#"
@@ -28,653 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x0081: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x0082: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x0083: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x0084: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x0085: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x0086: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x0087: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x0088: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x0089: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x008a: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x008b: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x008c: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x008d: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x008e: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x008f: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x0090: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x0091: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x0092: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x0093: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x0094: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x0095: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x0096: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x0097: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x0098: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x0099: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x009a: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x009b: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x009c: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x009d: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x009e: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x009f: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00a0: 0x2020, # DAGGER
- 0x00a1: 0x00b0, # DEGREE SIGN
- 0x00a4: 0x00a7, # SECTION SIGN
- 0x00a5: 0x2022, # BULLET
- 0x00a6: 0x00b6, # PILCROW SIGN
- 0x00a7: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00a8: 0x00ae, # REGISTERED SIGN
- 0x00aa: 0x2122, # TRADE MARK SIGN
- 0x00ab: 0x00b4, # ACUTE ACCENT
- 0x00ac: 0x00a8, # DIAERESIS
- 0x00ad: 0x2260, # NOT EQUAL TO
- 0x00ae: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00af: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00b0: 0x221e, # INFINITY
- 0x00b2: 0x2264, # LESS-THAN OR EQUAL TO
- 0x00b3: 0x2265, # GREATER-THAN OR EQUAL TO
- 0x00b4: 0x00a5, # YEN SIGN
- 0x00b6: 0x2202, # PARTIAL DIFFERENTIAL
- 0x00b7: 0x2211, # N-ARY SUMMATION
- 0x00b8: 0x220f, # N-ARY PRODUCT
- 0x00b9: 0x03c0, # GREEK SMALL LETTER PI
- 0x00ba: 0x222b, # INTEGRAL
- 0x00bb: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x00bc: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x00bd: 0x03a9, # GREEK CAPITAL LETTER OMEGA
- 0x00be: 0x00e6, # LATIN SMALL LETTER AE
- 0x00bf: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00c0: 0x00bf, # INVERTED QUESTION MARK
- 0x00c1: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00c2: 0x00ac, # NOT SIGN
- 0x00c3: 0x221a, # SQUARE ROOT
- 0x00c4: 0x0192, # LATIN SMALL LETTER F WITH HOOK
- 0x00c5: 0x2248, # ALMOST EQUAL TO
- 0x00c6: 0x2206, # INCREMENT
- 0x00c7: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c8: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c9: 0x2026, # HORIZONTAL ELLIPSIS
- 0x00ca: 0x00a0, # NO-BREAK SPACE
- 0x00cb: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00cc: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00cd: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00ce: 0x0152, # LATIN CAPITAL LIGATURE OE
- 0x00cf: 0x0153, # LATIN SMALL LIGATURE OE
- 0x00d0: 0x2013, # EN DASH
- 0x00d1: 0x2014, # EM DASH
- 0x00d2: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x00d3: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x00d4: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x00d5: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x00d6: 0x00f7, # DIVISION SIGN
- 0x00d7: 0x25ca, # LOZENGE
- 0x00d8: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x00d9: 0x0178, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x00da: 0x2044, # FRACTION SLASH
- 0x00db: 0x20ac, # EURO SIGN
- 0x00dc: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x00dd: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x00de: 0xfb01, # LATIN SMALL LIGATURE FI
- 0x00df: 0xfb02, # LATIN SMALL LIGATURE FL
- 0x00e0: 0x2021, # DOUBLE DAGGER
- 0x00e1: 0x00b7, # MIDDLE DOT
- 0x00e2: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x00e3: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x00e4: 0x2030, # PER MILLE SIGN
- 0x00e5: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00e6: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00e7: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00e8: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00e9: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00ea: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00eb: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00ec: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00ed: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00ee: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00ef: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00f0: 0xf8ff, # Apple logo
- 0x00f1: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00f2: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00f3: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00f4: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00f5: 0x0131, # LATIN SMALL LETTER DOTLESS I
- 0x00f6: 0x02c6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x00f7: 0x02dc, # SMALL TILDE
- 0x00f8: 0x00af, # MACRON
- 0x00f9: 0x02d8, # BREVE
- 0x00fa: 0x02d9, # DOT ABOVE
- 0x00fb: 0x02da, # RING ABOVE
- 0x00fc: 0x00b8, # CEDILLA
- 0x00fd: 0x02dd, # DOUBLE ACUTE ACCENT
- 0x00fe: 0x02db, # OGONEK
- 0x00ff: 0x02c7, # CARON
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> CONTROL CHARACTER
- u'\x01' # 0x0001 -> CONTROL CHARACTER
- u'\x02' # 0x0002 -> CONTROL CHARACTER
- u'\x03' # 0x0003 -> CONTROL CHARACTER
- u'\x04' # 0x0004 -> CONTROL CHARACTER
- u'\x05' # 0x0005 -> CONTROL CHARACTER
- u'\x06' # 0x0006 -> CONTROL CHARACTER
- u'\x07' # 0x0007 -> CONTROL CHARACTER
- u'\x08' # 0x0008 -> CONTROL CHARACTER
- u'\t' # 0x0009 -> CONTROL CHARACTER
- u'\n' # 0x000a -> CONTROL CHARACTER
- u'\x0b' # 0x000b -> CONTROL CHARACTER
- u'\x0c' # 0x000c -> CONTROL CHARACTER
- u'\r' # 0x000d -> CONTROL CHARACTER
- u'\x0e' # 0x000e -> CONTROL CHARACTER
- u'\x0f' # 0x000f -> CONTROL CHARACTER
- u'\x10' # 0x0010 -> CONTROL CHARACTER
- u'\x11' # 0x0011 -> CONTROL CHARACTER
- u'\x12' # 0x0012 -> CONTROL CHARACTER
- u'\x13' # 0x0013 -> CONTROL CHARACTER
- u'\x14' # 0x0014 -> CONTROL CHARACTER
- u'\x15' # 0x0015 -> CONTROL CHARACTER
- u'\x16' # 0x0016 -> CONTROL CHARACTER
- u'\x17' # 0x0017 -> CONTROL CHARACTER
- u'\x18' # 0x0018 -> CONTROL CHARACTER
- u'\x19' # 0x0019 -> CONTROL CHARACTER
- u'\x1a' # 0x001a -> CONTROL CHARACTER
- u'\x1b' # 0x001b -> CONTROL CHARACTER
- u'\x1c' # 0x001c -> CONTROL CHARACTER
- u'\x1d' # 0x001d -> CONTROL CHARACTER
- u'\x1e' # 0x001e -> CONTROL CHARACTER
- u'\x1f' # 0x001f -> CONTROL CHARACTER
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> CONTROL CHARACTER
- u'\xc4' # 0x0080 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x0081 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc7' # 0x0082 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc9' # 0x0083 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xd1' # 0x0084 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd6' # 0x0085 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xdc' # 0x0086 -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xe1' # 0x0087 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe0' # 0x0088 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe2' # 0x0089 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe4' # 0x008a -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe3' # 0x008b -> LATIN SMALL LETTER A WITH TILDE
- u'\xe5' # 0x008c -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe7' # 0x008d -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe9' # 0x008e -> LATIN SMALL LETTER E WITH ACUTE
- u'\xe8' # 0x008f -> LATIN SMALL LETTER E WITH GRAVE
- u'\xea' # 0x0090 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x0091 -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xed' # 0x0092 -> LATIN SMALL LETTER I WITH ACUTE
- u'\xec' # 0x0093 -> LATIN SMALL LETTER I WITH GRAVE
- u'\xee' # 0x0094 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x0095 -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xf1' # 0x0096 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf3' # 0x0097 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf2' # 0x0098 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf4' # 0x0099 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf6' # 0x009a -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf5' # 0x009b -> LATIN SMALL LETTER O WITH TILDE
- u'\xfa' # 0x009c -> LATIN SMALL LETTER U WITH ACUTE
- u'\xf9' # 0x009d -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfb' # 0x009e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x009f -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u2020' # 0x00a0 -> DAGGER
- u'\xb0' # 0x00a1 -> DEGREE SIGN
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa7' # 0x00a4 -> SECTION SIGN
- u'\u2022' # 0x00a5 -> BULLET
- u'\xb6' # 0x00a6 -> PILCROW SIGN
- u'\xdf' # 0x00a7 -> LATIN SMALL LETTER SHARP S
- u'\xae' # 0x00a8 -> REGISTERED SIGN
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u2122' # 0x00aa -> TRADE MARK SIGN
- u'\xb4' # 0x00ab -> ACUTE ACCENT
- u'\xa8' # 0x00ac -> DIAERESIS
- u'\u2260' # 0x00ad -> NOT EQUAL TO
- u'\xc6' # 0x00ae -> LATIN CAPITAL LETTER AE
- u'\xd8' # 0x00af -> LATIN CAPITAL LETTER O WITH STROKE
- u'\u221e' # 0x00b0 -> INFINITY
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\u2264' # 0x00b2 -> LESS-THAN OR EQUAL TO
- u'\u2265' # 0x00b3 -> GREATER-THAN OR EQUAL TO
- u'\xa5' # 0x00b4 -> YEN SIGN
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\u2202' # 0x00b6 -> PARTIAL DIFFERENTIAL
- u'\u2211' # 0x00b7 -> N-ARY SUMMATION
- u'\u220f' # 0x00b8 -> N-ARY PRODUCT
- u'\u03c0' # 0x00b9 -> GREEK SMALL LETTER PI
- u'\u222b' # 0x00ba -> INTEGRAL
- u'\xaa' # 0x00bb -> FEMININE ORDINAL INDICATOR
- u'\xba' # 0x00bc -> MASCULINE ORDINAL INDICATOR
- u'\u03a9' # 0x00bd -> GREEK CAPITAL LETTER OMEGA
- u'\xe6' # 0x00be -> LATIN SMALL LETTER AE
- u'\xf8' # 0x00bf -> LATIN SMALL LETTER O WITH STROKE
- u'\xbf' # 0x00c0 -> INVERTED QUESTION MARK
- u'\xa1' # 0x00c1 -> INVERTED EXCLAMATION MARK
- u'\xac' # 0x00c2 -> NOT SIGN
- u'\u221a' # 0x00c3 -> SQUARE ROOT
- u'\u0192' # 0x00c4 -> LATIN SMALL LETTER F WITH HOOK
- u'\u2248' # 0x00c5 -> ALMOST EQUAL TO
- u'\u2206' # 0x00c6 -> INCREMENT
- u'\xab' # 0x00c7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbb' # 0x00c8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u2026' # 0x00c9 -> HORIZONTAL ELLIPSIS
- u'\xa0' # 0x00ca -> NO-BREAK SPACE
- u'\xc0' # 0x00cb -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc3' # 0x00cc -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xd5' # 0x00cd -> LATIN CAPITAL LETTER O WITH TILDE
- u'\u0152' # 0x00ce -> LATIN CAPITAL LIGATURE OE
- u'\u0153' # 0x00cf -> LATIN SMALL LIGATURE OE
- u'\u2013' # 0x00d0 -> EN DASH
- u'\u2014' # 0x00d1 -> EM DASH
- u'\u201c' # 0x00d2 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x00d3 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2018' # 0x00d4 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x00d5 -> RIGHT SINGLE QUOTATION MARK
- u'\xf7' # 0x00d6 -> DIVISION SIGN
- u'\u25ca' # 0x00d7 -> LOZENGE
- u'\xff' # 0x00d8 -> LATIN SMALL LETTER Y WITH DIAERESIS
- u'\u0178' # 0x00d9 -> LATIN CAPITAL LETTER Y WITH DIAERESIS
- u'\u2044' # 0x00da -> FRACTION SLASH
- u'\u20ac' # 0x00db -> EURO SIGN
- u'\u2039' # 0x00dc -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\u203a' # 0x00dd -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\ufb01' # 0x00de -> LATIN SMALL LIGATURE FI
- u'\ufb02' # 0x00df -> LATIN SMALL LIGATURE FL
- u'\u2021' # 0x00e0 -> DOUBLE DAGGER
- u'\xb7' # 0x00e1 -> MIDDLE DOT
- u'\u201a' # 0x00e2 -> SINGLE LOW-9 QUOTATION MARK
- u'\u201e' # 0x00e3 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2030' # 0x00e4 -> PER MILLE SIGN
- u'\xc2' # 0x00e5 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xca' # 0x00e6 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xc1' # 0x00e7 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xcb' # 0x00e8 -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xc8' # 0x00e9 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xcd' # 0x00ea -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00eb -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00ec -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\xcc' # 0x00ed -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xd3' # 0x00ee -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00ef -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\uf8ff' # 0x00f0 -> Apple logo
- u'\xd2' # 0x00f1 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xda' # 0x00f2 -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00f3 -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xd9' # 0x00f4 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\u0131' # 0x00f5 -> LATIN SMALL LETTER DOTLESS I
- u'\u02c6' # 0x00f6 -> MODIFIER LETTER CIRCUMFLEX ACCENT
- u'\u02dc' # 0x00f7 -> SMALL TILDE
- u'\xaf' # 0x00f8 -> MACRON
- u'\u02d8' # 0x00f9 -> BREVE
- u'\u02d9' # 0x00fa -> DOT ABOVE
- u'\u02da' # 0x00fb -> RING ABOVE
- u'\xb8' # 0x00fc -> CEDILLA
- u'\u02dd' # 0x00fd -> DOUBLE ACUTE ACCENT
- u'\u02db' # 0x00fe -> OGONEK
- u'\u02c7' # 0x00ff -> CARON
+ u'\x00' # 0x00 -> CONTROL CHARACTER
+ u'\x01' # 0x01 -> CONTROL CHARACTER
+ u'\x02' # 0x02 -> CONTROL CHARACTER
+ u'\x03' # 0x03 -> CONTROL CHARACTER
+ u'\x04' # 0x04 -> CONTROL CHARACTER
+ u'\x05' # 0x05 -> CONTROL CHARACTER
+ u'\x06' # 0x06 -> CONTROL CHARACTER
+ u'\x07' # 0x07 -> CONTROL CHARACTER
+ u'\x08' # 0x08 -> CONTROL CHARACTER
+ u'\t' # 0x09 -> CONTROL CHARACTER
+ u'\n' # 0x0a -> CONTROL CHARACTER
+ u'\x0b' # 0x0b -> CONTROL CHARACTER
+ u'\x0c' # 0x0c -> CONTROL CHARACTER
+ u'\r' # 0x0d -> CONTROL CHARACTER
+ u'\x0e' # 0x0e -> CONTROL CHARACTER
+ u'\x0f' # 0x0f -> CONTROL CHARACTER
+ u'\x10' # 0x10 -> CONTROL CHARACTER
+ u'\x11' # 0x11 -> CONTROL CHARACTER
+ u'\x12' # 0x12 -> CONTROL CHARACTER
+ u'\x13' # 0x13 -> CONTROL CHARACTER
+ u'\x14' # 0x14 -> CONTROL CHARACTER
+ u'\x15' # 0x15 -> CONTROL CHARACTER
+ u'\x16' # 0x16 -> CONTROL CHARACTER
+ u'\x17' # 0x17 -> CONTROL CHARACTER
+ u'\x18' # 0x18 -> CONTROL CHARACTER
+ u'\x19' # 0x19 -> CONTROL CHARACTER
+ u'\x1a' # 0x1a -> CONTROL CHARACTER
+ u'\x1b' # 0x1b -> CONTROL CHARACTER
+ u'\x1c' # 0x1c -> CONTROL CHARACTER
+ u'\x1d' # 0x1d -> CONTROL CHARACTER
+ u'\x1e' # 0x1e -> CONTROL CHARACTER
+ u'\x1f' # 0x1f -> CONTROL CHARACTER
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> CONTROL CHARACTER
+ u'\xc4' # 0x80 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0x81 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc7' # 0x82 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc9' # 0x83 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xd1' # 0x84 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd6' # 0x85 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xdc' # 0x86 -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xe1' # 0x87 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe0' # 0x88 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe2' # 0x89 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe4' # 0x8a -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe3' # 0x8b -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe5' # 0x8c -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe7' # 0x8d -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe9' # 0x8e -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xe8' # 0x8f -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xea' # 0x90 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0x91 -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xed' # 0x92 -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xec' # 0x93 -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xee' # 0x94 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0x95 -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xf1' # 0x96 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf3' # 0x97 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf2' # 0x98 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf4' # 0x99 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf6' # 0x9a -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf5' # 0x9b -> LATIN SMALL LETTER O WITH TILDE
+ u'\xfa' # 0x9c -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xf9' # 0x9d -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfb' # 0x9e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0x9f -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u2020' # 0xa0 -> DAGGER
+ u'\xb0' # 0xa1 -> DEGREE SIGN
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa7' # 0xa4 -> SECTION SIGN
+ u'\u2022' # 0xa5 -> BULLET
+ u'\xb6' # 0xa6 -> PILCROW SIGN
+ u'\xdf' # 0xa7 -> LATIN SMALL LETTER SHARP S
+ u'\xae' # 0xa8 -> REGISTERED SIGN
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u2122' # 0xaa -> TRADE MARK SIGN
+ u'\xb4' # 0xab -> ACUTE ACCENT
+ u'\xa8' # 0xac -> DIAERESIS
+ u'\u2260' # 0xad -> NOT EQUAL TO
+ u'\xc6' # 0xae -> LATIN CAPITAL LETTER AE
+ u'\xd8' # 0xaf -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\u221e' # 0xb0 -> INFINITY
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\u2264' # 0xb2 -> LESS-THAN OR EQUAL TO
+ u'\u2265' # 0xb3 -> GREATER-THAN OR EQUAL TO
+ u'\xa5' # 0xb4 -> YEN SIGN
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\u2202' # 0xb6 -> PARTIAL DIFFERENTIAL
+ u'\u2211' # 0xb7 -> N-ARY SUMMATION
+ u'\u220f' # 0xb8 -> N-ARY PRODUCT
+ u'\u03c0' # 0xb9 -> GREEK SMALL LETTER PI
+ u'\u222b' # 0xba -> INTEGRAL
+ u'\xaa' # 0xbb -> FEMININE ORDINAL INDICATOR
+ u'\xba' # 0xbc -> MASCULINE ORDINAL INDICATOR
+ u'\u03a9' # 0xbd -> GREEK CAPITAL LETTER OMEGA
+ u'\xe6' # 0xbe -> LATIN SMALL LETTER AE
+ u'\xf8' # 0xbf -> LATIN SMALL LETTER O WITH STROKE
+ u'\xbf' # 0xc0 -> INVERTED QUESTION MARK
+ u'\xa1' # 0xc1 -> INVERTED EXCLAMATION MARK
+ u'\xac' # 0xc2 -> NOT SIGN
+ u'\u221a' # 0xc3 -> SQUARE ROOT
+ u'\u0192' # 0xc4 -> LATIN SMALL LETTER F WITH HOOK
+ u'\u2248' # 0xc5 -> ALMOST EQUAL TO
+ u'\u2206' # 0xc6 -> INCREMENT
+ u'\xab' # 0xc7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0xc8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u2026' # 0xc9 -> HORIZONTAL ELLIPSIS
+ u'\xa0' # 0xca -> NO-BREAK SPACE
+ u'\xc0' # 0xcb -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc3' # 0xcc -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xd5' # 0xcd -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\u0152' # 0xce -> LATIN CAPITAL LIGATURE OE
+ u'\u0153' # 0xcf -> LATIN SMALL LIGATURE OE
+ u'\u2013' # 0xd0 -> EN DASH
+ u'\u2014' # 0xd1 -> EM DASH
+ u'\u201c' # 0xd2 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0xd3 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2018' # 0xd4 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0xd5 -> RIGHT SINGLE QUOTATION MARK
+ u'\xf7' # 0xd6 -> DIVISION SIGN
+ u'\u25ca' # 0xd7 -> LOZENGE
+ u'\xff' # 0xd8 -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\u0178' # 0xd9 -> LATIN CAPITAL LETTER Y WITH DIAERESIS
+ u'\u2044' # 0xda -> FRACTION SLASH
+ u'\u20ac' # 0xdb -> EURO SIGN
+ u'\u2039' # 0xdc -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\u203a' # 0xdd -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\ufb01' # 0xde -> LATIN SMALL LIGATURE FI
+ u'\ufb02' # 0xdf -> LATIN SMALL LIGATURE FL
+ u'\u2021' # 0xe0 -> DOUBLE DAGGER
+ u'\xb7' # 0xe1 -> MIDDLE DOT
+ u'\u201a' # 0xe2 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u201e' # 0xe3 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2030' # 0xe4 -> PER MILLE SIGN
+ u'\xc2' # 0xe5 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xca' # 0xe6 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xc1' # 0xe7 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xcb' # 0xe8 -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xc8' # 0xe9 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xcd' # 0xea -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xeb -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xec -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xcc' # 0xed -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xd3' # 0xee -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xef -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\uf8ff' # 0xf0 -> Apple logo
+ u'\xd2' # 0xf1 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xda' # 0xf2 -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xf3 -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xd9' # 0xf4 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\u0131' # 0xf5 -> LATIN SMALL LETTER DOTLESS I
+ u'\u02c6' # 0xf6 -> MODIFIER LETTER CIRCUMFLEX ACCENT
+ u'\u02dc' # 0xf7 -> SMALL TILDE
+ u'\xaf' # 0xf8 -> MACRON
+ u'\u02d8' # 0xf9 -> BREVE
+ u'\u02d9' # 0xfa -> DOT ABOVE
+ u'\u02da' # 0xfb -> RING ABOVE
+ u'\xb8' # 0xfc -> CEDILLA
+ u'\u02dd' # 0xfd -> DOUBLE ACUTE ACCENT
+ u'\u02db' # 0xfe -> OGONEK
+ u'\u02c7' # 0xff -> CARON
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # CONTROL CHARACTER
- 0x0001: 0x0001, # CONTROL CHARACTER
- 0x0002: 0x0002, # CONTROL CHARACTER
- 0x0003: 0x0003, # CONTROL CHARACTER
- 0x0004: 0x0004, # CONTROL CHARACTER
- 0x0005: 0x0005, # CONTROL CHARACTER
- 0x0006: 0x0006, # CONTROL CHARACTER
- 0x0007: 0x0007, # CONTROL CHARACTER
- 0x0008: 0x0008, # CONTROL CHARACTER
- 0x0009: 0x0009, # CONTROL CHARACTER
- 0x000a: 0x000a, # CONTROL CHARACTER
- 0x000b: 0x000b, # CONTROL CHARACTER
- 0x000c: 0x000c, # CONTROL CHARACTER
- 0x000d: 0x000d, # CONTROL CHARACTER
- 0x000e: 0x000e, # CONTROL CHARACTER
- 0x000f: 0x000f, # CONTROL CHARACTER
- 0x0010: 0x0010, # CONTROL CHARACTER
- 0x0011: 0x0011, # CONTROL CHARACTER
- 0x0012: 0x0012, # CONTROL CHARACTER
- 0x0013: 0x0013, # CONTROL CHARACTER
- 0x0014: 0x0014, # CONTROL CHARACTER
- 0x0015: 0x0015, # CONTROL CHARACTER
- 0x0016: 0x0016, # CONTROL CHARACTER
- 0x0017: 0x0017, # CONTROL CHARACTER
- 0x0018: 0x0018, # CONTROL CHARACTER
- 0x0019: 0x0019, # CONTROL CHARACTER
- 0x001a: 0x001a, # CONTROL CHARACTER
- 0x001b: 0x001b, # CONTROL CHARACTER
- 0x001c: 0x001c, # CONTROL CHARACTER
- 0x001d: 0x001d, # CONTROL CHARACTER
- 0x001e: 0x001e, # CONTROL CHARACTER
- 0x001f: 0x001f, # CONTROL CHARACTER
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # CONTROL CHARACTER
- 0x00a0: 0x00ca, # NO-BREAK SPACE
- 0x00a1: 0x00c1, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a5: 0x00b4, # YEN SIGN
- 0x00a7: 0x00a4, # SECTION SIGN
- 0x00a8: 0x00ac, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00aa: 0x00bb, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x00c7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00c2, # NOT SIGN
- 0x00ae: 0x00a8, # REGISTERED SIGN
- 0x00af: 0x00f8, # MACRON
- 0x00b0: 0x00a1, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b4: 0x00ab, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00a6, # PILCROW SIGN
- 0x00b7: 0x00e1, # MIDDLE DOT
- 0x00b8: 0x00fc, # CEDILLA
- 0x00ba: 0x00bc, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x00c8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bf: 0x00c0, # INVERTED QUESTION MARK
- 0x00c0: 0x00cb, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00e7, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00e5, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00cc, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x0080, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x0081, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00ae, # LATIN CAPITAL LETTER AE
- 0x00c7: 0x0082, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00e9, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x0083, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00e6, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00e8, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00ed, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00ea, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00eb, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00ec, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d1: 0x0084, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00f1, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00ee, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00ef, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00cd, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x0085, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d8: 0x00af, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00f4, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00f2, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00f3, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x0086, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00a7, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x0088, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x0087, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x0089, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x008b, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x008a, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x008c, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00be, # LATIN SMALL LETTER AE
- 0x00e7: 0x008d, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x008f, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x008e, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x0090, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x0091, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x0093, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x0092, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x0094, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x0095, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f1: 0x0096, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x0098, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x0097, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x0099, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x009b, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x009a, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00d6, # DIVISION SIGN
- 0x00f8: 0x00bf, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x009d, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x009c, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x009e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x009f, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00ff: 0x00d8, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x0131: 0x00f5, # LATIN SMALL LETTER DOTLESS I
- 0x0152: 0x00ce, # LATIN CAPITAL LIGATURE OE
- 0x0153: 0x00cf, # LATIN SMALL LIGATURE OE
- 0x0178: 0x00d9, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x0192: 0x00c4, # LATIN SMALL LETTER F WITH HOOK
- 0x02c6: 0x00f6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x02c7: 0x00ff, # CARON
- 0x02d8: 0x00f9, # BREVE
- 0x02d9: 0x00fa, # DOT ABOVE
- 0x02da: 0x00fb, # RING ABOVE
- 0x02db: 0x00fe, # OGONEK
- 0x02dc: 0x00f7, # SMALL TILDE
- 0x02dd: 0x00fd, # DOUBLE ACUTE ACCENT
- 0x03a9: 0x00bd, # GREEK CAPITAL LETTER OMEGA
- 0x03c0: 0x00b9, # GREEK SMALL LETTER PI
- 0x2013: 0x00d0, # EN DASH
- 0x2014: 0x00d1, # EM DASH
- 0x2018: 0x00d4, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x00d5, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x00e2, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x00d2, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x00d3, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x00e3, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x00a0, # DAGGER
- 0x2021: 0x00e0, # DOUBLE DAGGER
- 0x2022: 0x00a5, # BULLET
- 0x2026: 0x00c9, # HORIZONTAL ELLIPSIS
- 0x2030: 0x00e4, # PER MILLE SIGN
- 0x2039: 0x00dc, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x00dd, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x2044: 0x00da, # FRACTION SLASH
- 0x20ac: 0x00db, # EURO SIGN
- 0x2122: 0x00aa, # TRADE MARK SIGN
- 0x2202: 0x00b6, # PARTIAL DIFFERENTIAL
- 0x2206: 0x00c6, # INCREMENT
- 0x220f: 0x00b8, # N-ARY PRODUCT
- 0x2211: 0x00b7, # N-ARY SUMMATION
- 0x221a: 0x00c3, # SQUARE ROOT
- 0x221e: 0x00b0, # INFINITY
- 0x222b: 0x00ba, # INTEGRAL
- 0x2248: 0x00c5, # ALMOST EQUAL TO
- 0x2260: 0x00ad, # NOT EQUAL TO
- 0x2264: 0x00b2, # LESS-THAN OR EQUAL TO
- 0x2265: 0x00b3, # GREATER-THAN OR EQUAL TO
- 0x25ca: 0x00d7, # LOZENGE
- 0xf8ff: 0x00f0, # Apple logo
- 0xfb01: 0x00de, # LATIN SMALL LIGATURE FI
- 0xfb02: 0x00df, # LATIN SMALL LIGATURE FL
+ 0x0000: 0x00, # CONTROL CHARACTER
+ 0x0001: 0x01, # CONTROL CHARACTER
+ 0x0002: 0x02, # CONTROL CHARACTER
+ 0x0003: 0x03, # CONTROL CHARACTER
+ 0x0004: 0x04, # CONTROL CHARACTER
+ 0x0005: 0x05, # CONTROL CHARACTER
+ 0x0006: 0x06, # CONTROL CHARACTER
+ 0x0007: 0x07, # CONTROL CHARACTER
+ 0x0008: 0x08, # CONTROL CHARACTER
+ 0x0009: 0x09, # CONTROL CHARACTER
+ 0x000a: 0x0a, # CONTROL CHARACTER
+ 0x000b: 0x0b, # CONTROL CHARACTER
+ 0x000c: 0x0c, # CONTROL CHARACTER
+ 0x000d: 0x0d, # CONTROL CHARACTER
+ 0x000e: 0x0e, # CONTROL CHARACTER
+ 0x000f: 0x0f, # CONTROL CHARACTER
+ 0x0010: 0x10, # CONTROL CHARACTER
+ 0x0011: 0x11, # CONTROL CHARACTER
+ 0x0012: 0x12, # CONTROL CHARACTER
+ 0x0013: 0x13, # CONTROL CHARACTER
+ 0x0014: 0x14, # CONTROL CHARACTER
+ 0x0015: 0x15, # CONTROL CHARACTER
+ 0x0016: 0x16, # CONTROL CHARACTER
+ 0x0017: 0x17, # CONTROL CHARACTER
+ 0x0018: 0x18, # CONTROL CHARACTER
+ 0x0019: 0x19, # CONTROL CHARACTER
+ 0x001a: 0x1a, # CONTROL CHARACTER
+ 0x001b: 0x1b, # CONTROL CHARACTER
+ 0x001c: 0x1c, # CONTROL CHARACTER
+ 0x001d: 0x1d, # CONTROL CHARACTER
+ 0x001e: 0x1e, # CONTROL CHARACTER
+ 0x001f: 0x1f, # CONTROL CHARACTER
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # CONTROL CHARACTER
+ 0x00a0: 0xca, # NO-BREAK SPACE
+ 0x00a1: 0xc1, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a5: 0xb4, # YEN SIGN
+ 0x00a7: 0xa4, # SECTION SIGN
+ 0x00a8: 0xac, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00aa: 0xbb, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0xc7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xc2, # NOT SIGN
+ 0x00ae: 0xa8, # REGISTERED SIGN
+ 0x00af: 0xf8, # MACRON
+ 0x00b0: 0xa1, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b4: 0xab, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xa6, # PILCROW SIGN
+ 0x00b7: 0xe1, # MIDDLE DOT
+ 0x00b8: 0xfc, # CEDILLA
+ 0x00ba: 0xbc, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0xc8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bf: 0xc0, # INVERTED QUESTION MARK
+ 0x00c0: 0xcb, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xe7, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xe5, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xcc, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0x80, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0x81, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xae, # LATIN CAPITAL LETTER AE
+ 0x00c7: 0x82, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xe9, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0x83, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xe6, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xe8, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xed, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xea, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xeb, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xec, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d1: 0x84, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xf1, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xee, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xef, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xcd, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0x85, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d8: 0xaf, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xf4, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xf2, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xf3, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0x86, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xa7, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0x88, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0x87, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0x89, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0x8b, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0x8a, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0x8c, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xbe, # LATIN SMALL LETTER AE
+ 0x00e7: 0x8d, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0x8f, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0x8e, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0x90, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0x91, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0x93, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0x92, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0x94, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0x95, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f1: 0x96, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0x98, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0x97, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0x99, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0x9b, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0x9a, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xd6, # DIVISION SIGN
+ 0x00f8: 0xbf, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0x9d, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0x9c, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0x9e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0x9f, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00ff: 0xd8, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x0131: 0xf5, # LATIN SMALL LETTER DOTLESS I
+ 0x0152: 0xce, # LATIN CAPITAL LIGATURE OE
+ 0x0153: 0xcf, # LATIN SMALL LIGATURE OE
+ 0x0178: 0xd9, # LATIN CAPITAL LETTER Y WITH DIAERESIS
+ 0x0192: 0xc4, # LATIN SMALL LETTER F WITH HOOK
+ 0x02c6: 0xf6, # MODIFIER LETTER CIRCUMFLEX ACCENT
+ 0x02c7: 0xff, # CARON
+ 0x02d8: 0xf9, # BREVE
+ 0x02d9: 0xfa, # DOT ABOVE
+ 0x02da: 0xfb, # RING ABOVE
+ 0x02db: 0xfe, # OGONEK
+ 0x02dc: 0xf7, # SMALL TILDE
+ 0x02dd: 0xfd, # DOUBLE ACUTE ACCENT
+ 0x03a9: 0xbd, # GREEK CAPITAL LETTER OMEGA
+ 0x03c0: 0xb9, # GREEK SMALL LETTER PI
+ 0x2013: 0xd0, # EN DASH
+ 0x2014: 0xd1, # EM DASH
+ 0x2018: 0xd4, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0xd5, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0xe2, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0xd2, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0xd3, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0xe3, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0xa0, # DAGGER
+ 0x2021: 0xe0, # DOUBLE DAGGER
+ 0x2022: 0xa5, # BULLET
+ 0x2026: 0xc9, # HORIZONTAL ELLIPSIS
+ 0x2030: 0xe4, # PER MILLE SIGN
+ 0x2039: 0xdc, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0xdd, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x2044: 0xda, # FRACTION SLASH
+ 0x20ac: 0xdb, # EURO SIGN
+ 0x2122: 0xaa, # TRADE MARK SIGN
+ 0x2202: 0xb6, # PARTIAL DIFFERENTIAL
+ 0x2206: 0xc6, # INCREMENT
+ 0x220f: 0xb8, # N-ARY PRODUCT
+ 0x2211: 0xb7, # N-ARY SUMMATION
+ 0x221a: 0xc3, # SQUARE ROOT
+ 0x221e: 0xb0, # INFINITY
+ 0x222b: 0xba, # INTEGRAL
+ 0x2248: 0xc5, # ALMOST EQUAL TO
+ 0x2260: 0xad, # NOT EQUAL TO
+ 0x2264: 0xb2, # LESS-THAN OR EQUAL TO
+ 0x2265: 0xb3, # GREATER-THAN OR EQUAL TO
+ 0x25ca: 0xd7, # LOZENGE
+ 0xf8ff: 0xf0, # Apple logo
+ 0xfb01: 0xde, # LATIN SMALL LIGATURE FI
+ 0xfb02: 0xdf, # LATIN SMALL LIGATURE FL
} \ No newline at end of file
diff --git a/Lib/encodings/mac_romanian.py b/Lib/encodings/mac_romanian.py
index 5deb87bb2ba..aa1d713445a 100644
--- a/Lib/encodings/mac_romanian.py
+++ b/Lib/encodings/mac_romanian.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/APPLE/ROMANIAN.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/APPLE/ROMANIAN.TXT' with gencodec.py.
"""#"
@@ -28,653 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x0081: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x0082: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x0083: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x0084: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x0085: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x0086: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x0087: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x0088: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x0089: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x008a: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x008b: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x008c: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x008d: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x008e: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x008f: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x0090: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x0091: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x0092: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x0093: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x0094: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x0095: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x0096: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x0097: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x0098: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x0099: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x009a: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x009b: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x009c: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x009d: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x009e: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x009f: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00a0: 0x2020, # DAGGER
- 0x00a1: 0x00b0, # DEGREE SIGN
- 0x00a4: 0x00a7, # SECTION SIGN
- 0x00a5: 0x2022, # BULLET
- 0x00a6: 0x00b6, # PILCROW SIGN
- 0x00a7: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00a8: 0x00ae, # REGISTERED SIGN
- 0x00aa: 0x2122, # TRADE MARK SIGN
- 0x00ab: 0x00b4, # ACUTE ACCENT
- 0x00ac: 0x00a8, # DIAERESIS
- 0x00ad: 0x2260, # NOT EQUAL TO
- 0x00ae: 0x0102, # LATIN CAPITAL LETTER A WITH BREVE
- 0x00af: 0x0218, # LATIN CAPITAL LETTER S WITH COMMA BELOW # for Unicode 3.0 and later
- 0x00b0: 0x221e, # INFINITY
- 0x00b2: 0x2264, # LESS-THAN OR EQUAL TO
- 0x00b3: 0x2265, # GREATER-THAN OR EQUAL TO
- 0x00b4: 0x00a5, # YEN SIGN
- 0x00b6: 0x2202, # PARTIAL DIFFERENTIAL
- 0x00b7: 0x2211, # N-ARY SUMMATION
- 0x00b8: 0x220f, # N-ARY PRODUCT
- 0x00b9: 0x03c0, # GREEK SMALL LETTER PI
- 0x00ba: 0x222b, # INTEGRAL
- 0x00bb: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x00bc: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x00bd: 0x03a9, # GREEK CAPITAL LETTER OMEGA
- 0x00be: 0x0103, # LATIN SMALL LETTER A WITH BREVE
- 0x00bf: 0x0219, # LATIN SMALL LETTER S WITH COMMA BELOW # for Unicode 3.0 and later
- 0x00c0: 0x00bf, # INVERTED QUESTION MARK
- 0x00c1: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00c2: 0x00ac, # NOT SIGN
- 0x00c3: 0x221a, # SQUARE ROOT
- 0x00c4: 0x0192, # LATIN SMALL LETTER F WITH HOOK
- 0x00c5: 0x2248, # ALMOST EQUAL TO
- 0x00c6: 0x2206, # INCREMENT
- 0x00c7: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c8: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c9: 0x2026, # HORIZONTAL ELLIPSIS
- 0x00ca: 0x00a0, # NO-BREAK SPACE
- 0x00cb: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00cc: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00cd: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00ce: 0x0152, # LATIN CAPITAL LIGATURE OE
- 0x00cf: 0x0153, # LATIN SMALL LIGATURE OE
- 0x00d0: 0x2013, # EN DASH
- 0x00d1: 0x2014, # EM DASH
- 0x00d2: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x00d3: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x00d4: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x00d5: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x00d6: 0x00f7, # DIVISION SIGN
- 0x00d7: 0x25ca, # LOZENGE
- 0x00d8: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x00d9: 0x0178, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x00da: 0x2044, # FRACTION SLASH
- 0x00db: 0x20ac, # EURO SIGN
- 0x00dc: 0x2039, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x00dd: 0x203a, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x00de: 0x021a, # LATIN CAPITAL LETTER T WITH COMMA BELOW # for Unicode 3.0 and later
- 0x00df: 0x021b, # LATIN SMALL LETTER T WITH COMMA BELOW # for Unicode 3.0 and later
- 0x00e0: 0x2021, # DOUBLE DAGGER
- 0x00e1: 0x00b7, # MIDDLE DOT
- 0x00e2: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x00e3: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x00e4: 0x2030, # PER MILLE SIGN
- 0x00e5: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00e6: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00e7: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00e8: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00e9: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00ea: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00eb: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00ec: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00ed: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00ee: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00ef: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00f0: 0xf8ff, # Apple logo
- 0x00f1: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00f2: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00f3: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00f4: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00f5: 0x0131, # LATIN SMALL LETTER DOTLESS I
- 0x00f6: 0x02c6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x00f7: 0x02dc, # SMALL TILDE
- 0x00f8: 0x00af, # MACRON
- 0x00f9: 0x02d8, # BREVE
- 0x00fa: 0x02d9, # DOT ABOVE
- 0x00fb: 0x02da, # RING ABOVE
- 0x00fc: 0x00b8, # CEDILLA
- 0x00fd: 0x02dd, # DOUBLE ACUTE ACCENT
- 0x00fe: 0x02db, # OGONEK
- 0x00ff: 0x02c7, # CARON
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> CONTROL CHARACTER
- u'\x01' # 0x0001 -> CONTROL CHARACTER
- u'\x02' # 0x0002 -> CONTROL CHARACTER
- u'\x03' # 0x0003 -> CONTROL CHARACTER
- u'\x04' # 0x0004 -> CONTROL CHARACTER
- u'\x05' # 0x0005 -> CONTROL CHARACTER
- u'\x06' # 0x0006 -> CONTROL CHARACTER
- u'\x07' # 0x0007 -> CONTROL CHARACTER
- u'\x08' # 0x0008 -> CONTROL CHARACTER
- u'\t' # 0x0009 -> CONTROL CHARACTER
- u'\n' # 0x000a -> CONTROL CHARACTER
- u'\x0b' # 0x000b -> CONTROL CHARACTER
- u'\x0c' # 0x000c -> CONTROL CHARACTER
- u'\r' # 0x000d -> CONTROL CHARACTER
- u'\x0e' # 0x000e -> CONTROL CHARACTER
- u'\x0f' # 0x000f -> CONTROL CHARACTER
- u'\x10' # 0x0010 -> CONTROL CHARACTER
- u'\x11' # 0x0011 -> CONTROL CHARACTER
- u'\x12' # 0x0012 -> CONTROL CHARACTER
- u'\x13' # 0x0013 -> CONTROL CHARACTER
- u'\x14' # 0x0014 -> CONTROL CHARACTER
- u'\x15' # 0x0015 -> CONTROL CHARACTER
- u'\x16' # 0x0016 -> CONTROL CHARACTER
- u'\x17' # 0x0017 -> CONTROL CHARACTER
- u'\x18' # 0x0018 -> CONTROL CHARACTER
- u'\x19' # 0x0019 -> CONTROL CHARACTER
- u'\x1a' # 0x001a -> CONTROL CHARACTER
- u'\x1b' # 0x001b -> CONTROL CHARACTER
- u'\x1c' # 0x001c -> CONTROL CHARACTER
- u'\x1d' # 0x001d -> CONTROL CHARACTER
- u'\x1e' # 0x001e -> CONTROL CHARACTER
- u'\x1f' # 0x001f -> CONTROL CHARACTER
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> CONTROL CHARACTER
- u'\xc4' # 0x0080 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x0081 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc7' # 0x0082 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc9' # 0x0083 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xd1' # 0x0084 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd6' # 0x0085 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xdc' # 0x0086 -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xe1' # 0x0087 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe0' # 0x0088 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe2' # 0x0089 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe4' # 0x008a -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe3' # 0x008b -> LATIN SMALL LETTER A WITH TILDE
- u'\xe5' # 0x008c -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe7' # 0x008d -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe9' # 0x008e -> LATIN SMALL LETTER E WITH ACUTE
- u'\xe8' # 0x008f -> LATIN SMALL LETTER E WITH GRAVE
- u'\xea' # 0x0090 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x0091 -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xed' # 0x0092 -> LATIN SMALL LETTER I WITH ACUTE
- u'\xec' # 0x0093 -> LATIN SMALL LETTER I WITH GRAVE
- u'\xee' # 0x0094 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x0095 -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xf1' # 0x0096 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf3' # 0x0097 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf2' # 0x0098 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf4' # 0x0099 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf6' # 0x009a -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf5' # 0x009b -> LATIN SMALL LETTER O WITH TILDE
- u'\xfa' # 0x009c -> LATIN SMALL LETTER U WITH ACUTE
- u'\xf9' # 0x009d -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfb' # 0x009e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x009f -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u2020' # 0x00a0 -> DAGGER
- u'\xb0' # 0x00a1 -> DEGREE SIGN
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa7' # 0x00a4 -> SECTION SIGN
- u'\u2022' # 0x00a5 -> BULLET
- u'\xb6' # 0x00a6 -> PILCROW SIGN
- u'\xdf' # 0x00a7 -> LATIN SMALL LETTER SHARP S
- u'\xae' # 0x00a8 -> REGISTERED SIGN
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u2122' # 0x00aa -> TRADE MARK SIGN
- u'\xb4' # 0x00ab -> ACUTE ACCENT
- u'\xa8' # 0x00ac -> DIAERESIS
- u'\u2260' # 0x00ad -> NOT EQUAL TO
- u'\u0102' # 0x00ae -> LATIN CAPITAL LETTER A WITH BREVE
- u'\u0218' # 0x00af -> LATIN CAPITAL LETTER S WITH COMMA BELOW # for Unicode 3.0 and later
- u'\u221e' # 0x00b0 -> INFINITY
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\u2264' # 0x00b2 -> LESS-THAN OR EQUAL TO
- u'\u2265' # 0x00b3 -> GREATER-THAN OR EQUAL TO
- u'\xa5' # 0x00b4 -> YEN SIGN
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\u2202' # 0x00b6 -> PARTIAL DIFFERENTIAL
- u'\u2211' # 0x00b7 -> N-ARY SUMMATION
- u'\u220f' # 0x00b8 -> N-ARY PRODUCT
- u'\u03c0' # 0x00b9 -> GREEK SMALL LETTER PI
- u'\u222b' # 0x00ba -> INTEGRAL
- u'\xaa' # 0x00bb -> FEMININE ORDINAL INDICATOR
- u'\xba' # 0x00bc -> MASCULINE ORDINAL INDICATOR
- u'\u03a9' # 0x00bd -> GREEK CAPITAL LETTER OMEGA
- u'\u0103' # 0x00be -> LATIN SMALL LETTER A WITH BREVE
- u'\u0219' # 0x00bf -> LATIN SMALL LETTER S WITH COMMA BELOW # for Unicode 3.0 and later
- u'\xbf' # 0x00c0 -> INVERTED QUESTION MARK
- u'\xa1' # 0x00c1 -> INVERTED EXCLAMATION MARK
- u'\xac' # 0x00c2 -> NOT SIGN
- u'\u221a' # 0x00c3 -> SQUARE ROOT
- u'\u0192' # 0x00c4 -> LATIN SMALL LETTER F WITH HOOK
- u'\u2248' # 0x00c5 -> ALMOST EQUAL TO
- u'\u2206' # 0x00c6 -> INCREMENT
- u'\xab' # 0x00c7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbb' # 0x00c8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u2026' # 0x00c9 -> HORIZONTAL ELLIPSIS
- u'\xa0' # 0x00ca -> NO-BREAK SPACE
- u'\xc0' # 0x00cb -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc3' # 0x00cc -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xd5' # 0x00cd -> LATIN CAPITAL LETTER O WITH TILDE
- u'\u0152' # 0x00ce -> LATIN CAPITAL LIGATURE OE
- u'\u0153' # 0x00cf -> LATIN SMALL LIGATURE OE
- u'\u2013' # 0x00d0 -> EN DASH
- u'\u2014' # 0x00d1 -> EM DASH
- u'\u201c' # 0x00d2 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x00d3 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2018' # 0x00d4 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x00d5 -> RIGHT SINGLE QUOTATION MARK
- u'\xf7' # 0x00d6 -> DIVISION SIGN
- u'\u25ca' # 0x00d7 -> LOZENGE
- u'\xff' # 0x00d8 -> LATIN SMALL LETTER Y WITH DIAERESIS
- u'\u0178' # 0x00d9 -> LATIN CAPITAL LETTER Y WITH DIAERESIS
- u'\u2044' # 0x00da -> FRACTION SLASH
- u'\u20ac' # 0x00db -> EURO SIGN
- u'\u2039' # 0x00dc -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- u'\u203a' # 0x00dd -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- u'\u021a' # 0x00de -> LATIN CAPITAL LETTER T WITH COMMA BELOW # for Unicode 3.0 and later
- u'\u021b' # 0x00df -> LATIN SMALL LETTER T WITH COMMA BELOW # for Unicode 3.0 and later
- u'\u2021' # 0x00e0 -> DOUBLE DAGGER
- u'\xb7' # 0x00e1 -> MIDDLE DOT
- u'\u201a' # 0x00e2 -> SINGLE LOW-9 QUOTATION MARK
- u'\u201e' # 0x00e3 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2030' # 0x00e4 -> PER MILLE SIGN
- u'\xc2' # 0x00e5 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xca' # 0x00e6 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xc1' # 0x00e7 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xcb' # 0x00e8 -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xc8' # 0x00e9 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xcd' # 0x00ea -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00eb -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00ec -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\xcc' # 0x00ed -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xd3' # 0x00ee -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00ef -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\uf8ff' # 0x00f0 -> Apple logo
- u'\xd2' # 0x00f1 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xda' # 0x00f2 -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00f3 -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xd9' # 0x00f4 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\u0131' # 0x00f5 -> LATIN SMALL LETTER DOTLESS I
- u'\u02c6' # 0x00f6 -> MODIFIER LETTER CIRCUMFLEX ACCENT
- u'\u02dc' # 0x00f7 -> SMALL TILDE
- u'\xaf' # 0x00f8 -> MACRON
- u'\u02d8' # 0x00f9 -> BREVE
- u'\u02d9' # 0x00fa -> DOT ABOVE
- u'\u02da' # 0x00fb -> RING ABOVE
- u'\xb8' # 0x00fc -> CEDILLA
- u'\u02dd' # 0x00fd -> DOUBLE ACUTE ACCENT
- u'\u02db' # 0x00fe -> OGONEK
- u'\u02c7' # 0x00ff -> CARON
+ u'\x00' # 0x00 -> CONTROL CHARACTER
+ u'\x01' # 0x01 -> CONTROL CHARACTER
+ u'\x02' # 0x02 -> CONTROL CHARACTER
+ u'\x03' # 0x03 -> CONTROL CHARACTER
+ u'\x04' # 0x04 -> CONTROL CHARACTER
+ u'\x05' # 0x05 -> CONTROL CHARACTER
+ u'\x06' # 0x06 -> CONTROL CHARACTER
+ u'\x07' # 0x07 -> CONTROL CHARACTER
+ u'\x08' # 0x08 -> CONTROL CHARACTER
+ u'\t' # 0x09 -> CONTROL CHARACTER
+ u'\n' # 0x0a -> CONTROL CHARACTER
+ u'\x0b' # 0x0b -> CONTROL CHARACTER
+ u'\x0c' # 0x0c -> CONTROL CHARACTER
+ u'\r' # 0x0d -> CONTROL CHARACTER
+ u'\x0e' # 0x0e -> CONTROL CHARACTER
+ u'\x0f' # 0x0f -> CONTROL CHARACTER
+ u'\x10' # 0x10 -> CONTROL CHARACTER
+ u'\x11' # 0x11 -> CONTROL CHARACTER
+ u'\x12' # 0x12 -> CONTROL CHARACTER
+ u'\x13' # 0x13 -> CONTROL CHARACTER
+ u'\x14' # 0x14 -> CONTROL CHARACTER
+ u'\x15' # 0x15 -> CONTROL CHARACTER
+ u'\x16' # 0x16 -> CONTROL CHARACTER
+ u'\x17' # 0x17 -> CONTROL CHARACTER
+ u'\x18' # 0x18 -> CONTROL CHARACTER
+ u'\x19' # 0x19 -> CONTROL CHARACTER
+ u'\x1a' # 0x1a -> CONTROL CHARACTER
+ u'\x1b' # 0x1b -> CONTROL CHARACTER
+ u'\x1c' # 0x1c -> CONTROL CHARACTER
+ u'\x1d' # 0x1d -> CONTROL CHARACTER
+ u'\x1e' # 0x1e -> CONTROL CHARACTER
+ u'\x1f' # 0x1f -> CONTROL CHARACTER
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> CONTROL CHARACTER
+ u'\xc4' # 0x80 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0x81 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc7' # 0x82 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc9' # 0x83 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xd1' # 0x84 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd6' # 0x85 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xdc' # 0x86 -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xe1' # 0x87 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe0' # 0x88 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe2' # 0x89 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe4' # 0x8a -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe3' # 0x8b -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe5' # 0x8c -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe7' # 0x8d -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe9' # 0x8e -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xe8' # 0x8f -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xea' # 0x90 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0x91 -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xed' # 0x92 -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xec' # 0x93 -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xee' # 0x94 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0x95 -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xf1' # 0x96 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf3' # 0x97 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf2' # 0x98 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf4' # 0x99 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf6' # 0x9a -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf5' # 0x9b -> LATIN SMALL LETTER O WITH TILDE
+ u'\xfa' # 0x9c -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xf9' # 0x9d -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfb' # 0x9e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0x9f -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u2020' # 0xa0 -> DAGGER
+ u'\xb0' # 0xa1 -> DEGREE SIGN
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa7' # 0xa4 -> SECTION SIGN
+ u'\u2022' # 0xa5 -> BULLET
+ u'\xb6' # 0xa6 -> PILCROW SIGN
+ u'\xdf' # 0xa7 -> LATIN SMALL LETTER SHARP S
+ u'\xae' # 0xa8 -> REGISTERED SIGN
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u2122' # 0xaa -> TRADE MARK SIGN
+ u'\xb4' # 0xab -> ACUTE ACCENT
+ u'\xa8' # 0xac -> DIAERESIS
+ u'\u2260' # 0xad -> NOT EQUAL TO
+ u'\u0102' # 0xae -> LATIN CAPITAL LETTER A WITH BREVE
+ u'\u0218' # 0xaf -> LATIN CAPITAL LETTER S WITH COMMA BELOW # for Unicode 3.0 and later
+ u'\u221e' # 0xb0 -> INFINITY
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\u2264' # 0xb2 -> LESS-THAN OR EQUAL TO
+ u'\u2265' # 0xb3 -> GREATER-THAN OR EQUAL TO
+ u'\xa5' # 0xb4 -> YEN SIGN
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\u2202' # 0xb6 -> PARTIAL DIFFERENTIAL
+ u'\u2211' # 0xb7 -> N-ARY SUMMATION
+ u'\u220f' # 0xb8 -> N-ARY PRODUCT
+ u'\u03c0' # 0xb9 -> GREEK SMALL LETTER PI
+ u'\u222b' # 0xba -> INTEGRAL
+ u'\xaa' # 0xbb -> FEMININE ORDINAL INDICATOR
+ u'\xba' # 0xbc -> MASCULINE ORDINAL INDICATOR
+ u'\u03a9' # 0xbd -> GREEK CAPITAL LETTER OMEGA
+ u'\u0103' # 0xbe -> LATIN SMALL LETTER A WITH BREVE
+ u'\u0219' # 0xbf -> LATIN SMALL LETTER S WITH COMMA BELOW # for Unicode 3.0 and later
+ u'\xbf' # 0xc0 -> INVERTED QUESTION MARK
+ u'\xa1' # 0xc1 -> INVERTED EXCLAMATION MARK
+ u'\xac' # 0xc2 -> NOT SIGN
+ u'\u221a' # 0xc3 -> SQUARE ROOT
+ u'\u0192' # 0xc4 -> LATIN SMALL LETTER F WITH HOOK
+ u'\u2248' # 0xc5 -> ALMOST EQUAL TO
+ u'\u2206' # 0xc6 -> INCREMENT
+ u'\xab' # 0xc7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0xc8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u2026' # 0xc9 -> HORIZONTAL ELLIPSIS
+ u'\xa0' # 0xca -> NO-BREAK SPACE
+ u'\xc0' # 0xcb -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc3' # 0xcc -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xd5' # 0xcd -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\u0152' # 0xce -> LATIN CAPITAL LIGATURE OE
+ u'\u0153' # 0xcf -> LATIN SMALL LIGATURE OE
+ u'\u2013' # 0xd0 -> EN DASH
+ u'\u2014' # 0xd1 -> EM DASH
+ u'\u201c' # 0xd2 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0xd3 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2018' # 0xd4 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0xd5 -> RIGHT SINGLE QUOTATION MARK
+ u'\xf7' # 0xd6 -> DIVISION SIGN
+ u'\u25ca' # 0xd7 -> LOZENGE
+ u'\xff' # 0xd8 -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\u0178' # 0xd9 -> LATIN CAPITAL LETTER Y WITH DIAERESIS
+ u'\u2044' # 0xda -> FRACTION SLASH
+ u'\u20ac' # 0xdb -> EURO SIGN
+ u'\u2039' # 0xdc -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ u'\u203a' # 0xdd -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ u'\u021a' # 0xde -> LATIN CAPITAL LETTER T WITH COMMA BELOW # for Unicode 3.0 and later
+ u'\u021b' # 0xdf -> LATIN SMALL LETTER T WITH COMMA BELOW # for Unicode 3.0 and later
+ u'\u2021' # 0xe0 -> DOUBLE DAGGER
+ u'\xb7' # 0xe1 -> MIDDLE DOT
+ u'\u201a' # 0xe2 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u201e' # 0xe3 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2030' # 0xe4 -> PER MILLE SIGN
+ u'\xc2' # 0xe5 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xca' # 0xe6 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xc1' # 0xe7 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xcb' # 0xe8 -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xc8' # 0xe9 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xcd' # 0xea -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xeb -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xec -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xcc' # 0xed -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xd3' # 0xee -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xef -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\uf8ff' # 0xf0 -> Apple logo
+ u'\xd2' # 0xf1 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xda' # 0xf2 -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xf3 -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xd9' # 0xf4 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\u0131' # 0xf5 -> LATIN SMALL LETTER DOTLESS I
+ u'\u02c6' # 0xf6 -> MODIFIER LETTER CIRCUMFLEX ACCENT
+ u'\u02dc' # 0xf7 -> SMALL TILDE
+ u'\xaf' # 0xf8 -> MACRON
+ u'\u02d8' # 0xf9 -> BREVE
+ u'\u02d9' # 0xfa -> DOT ABOVE
+ u'\u02da' # 0xfb -> RING ABOVE
+ u'\xb8' # 0xfc -> CEDILLA
+ u'\u02dd' # 0xfd -> DOUBLE ACUTE ACCENT
+ u'\u02db' # 0xfe -> OGONEK
+ u'\u02c7' # 0xff -> CARON
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # CONTROL CHARACTER
- 0x0001: 0x0001, # CONTROL CHARACTER
- 0x0002: 0x0002, # CONTROL CHARACTER
- 0x0003: 0x0003, # CONTROL CHARACTER
- 0x0004: 0x0004, # CONTROL CHARACTER
- 0x0005: 0x0005, # CONTROL CHARACTER
- 0x0006: 0x0006, # CONTROL CHARACTER
- 0x0007: 0x0007, # CONTROL CHARACTER
- 0x0008: 0x0008, # CONTROL CHARACTER
- 0x0009: 0x0009, # CONTROL CHARACTER
- 0x000a: 0x000a, # CONTROL CHARACTER
- 0x000b: 0x000b, # CONTROL CHARACTER
- 0x000c: 0x000c, # CONTROL CHARACTER
- 0x000d: 0x000d, # CONTROL CHARACTER
- 0x000e: 0x000e, # CONTROL CHARACTER
- 0x000f: 0x000f, # CONTROL CHARACTER
- 0x0010: 0x0010, # CONTROL CHARACTER
- 0x0011: 0x0011, # CONTROL CHARACTER
- 0x0012: 0x0012, # CONTROL CHARACTER
- 0x0013: 0x0013, # CONTROL CHARACTER
- 0x0014: 0x0014, # CONTROL CHARACTER
- 0x0015: 0x0015, # CONTROL CHARACTER
- 0x0016: 0x0016, # CONTROL CHARACTER
- 0x0017: 0x0017, # CONTROL CHARACTER
- 0x0018: 0x0018, # CONTROL CHARACTER
- 0x0019: 0x0019, # CONTROL CHARACTER
- 0x001a: 0x001a, # CONTROL CHARACTER
- 0x001b: 0x001b, # CONTROL CHARACTER
- 0x001c: 0x001c, # CONTROL CHARACTER
- 0x001d: 0x001d, # CONTROL CHARACTER
- 0x001e: 0x001e, # CONTROL CHARACTER
- 0x001f: 0x001f, # CONTROL CHARACTER
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # CONTROL CHARACTER
- 0x00a0: 0x00ca, # NO-BREAK SPACE
- 0x00a1: 0x00c1, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a5: 0x00b4, # YEN SIGN
- 0x00a7: 0x00a4, # SECTION SIGN
- 0x00a8: 0x00ac, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00aa: 0x00bb, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x00c7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00c2, # NOT SIGN
- 0x00ae: 0x00a8, # REGISTERED SIGN
- 0x00af: 0x00f8, # MACRON
- 0x00b0: 0x00a1, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b4: 0x00ab, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00a6, # PILCROW SIGN
- 0x00b7: 0x00e1, # MIDDLE DOT
- 0x00b8: 0x00fc, # CEDILLA
- 0x00ba: 0x00bc, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x00c8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bf: 0x00c0, # INVERTED QUESTION MARK
- 0x00c0: 0x00cb, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00e7, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00e5, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00cc, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x0080, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x0081, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c7: 0x0082, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00e9, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x0083, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00e6, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00e8, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00ed, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00ea, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00eb, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00ec, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d1: 0x0084, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00f1, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00ee, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00ef, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00cd, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x0085, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d9: 0x00f4, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00f2, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00f3, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x0086, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00a7, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x0088, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x0087, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x0089, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x008b, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x008a, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x008c, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e7: 0x008d, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x008f, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x008e, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x0090, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x0091, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x0093, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x0092, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x0094, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x0095, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f1: 0x0096, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x0098, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x0097, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x0099, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x009b, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x009a, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00d6, # DIVISION SIGN
- 0x00f9: 0x009d, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x009c, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x009e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x009f, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00ff: 0x00d8, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x0102: 0x00ae, # LATIN CAPITAL LETTER A WITH BREVE
- 0x0103: 0x00be, # LATIN SMALL LETTER A WITH BREVE
- 0x0131: 0x00f5, # LATIN SMALL LETTER DOTLESS I
- 0x0152: 0x00ce, # LATIN CAPITAL LIGATURE OE
- 0x0153: 0x00cf, # LATIN SMALL LIGATURE OE
- 0x0178: 0x00d9, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x0192: 0x00c4, # LATIN SMALL LETTER F WITH HOOK
- 0x0218: 0x00af, # LATIN CAPITAL LETTER S WITH COMMA BELOW # for Unicode 3.0 and later
- 0x0219: 0x00bf, # LATIN SMALL LETTER S WITH COMMA BELOW # for Unicode 3.0 and later
- 0x021a: 0x00de, # LATIN CAPITAL LETTER T WITH COMMA BELOW # for Unicode 3.0 and later
- 0x021b: 0x00df, # LATIN SMALL LETTER T WITH COMMA BELOW # for Unicode 3.0 and later
- 0x02c6: 0x00f6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x02c7: 0x00ff, # CARON
- 0x02d8: 0x00f9, # BREVE
- 0x02d9: 0x00fa, # DOT ABOVE
- 0x02da: 0x00fb, # RING ABOVE
- 0x02db: 0x00fe, # OGONEK
- 0x02dc: 0x00f7, # SMALL TILDE
- 0x02dd: 0x00fd, # DOUBLE ACUTE ACCENT
- 0x03a9: 0x00bd, # GREEK CAPITAL LETTER OMEGA
- 0x03c0: 0x00b9, # GREEK SMALL LETTER PI
- 0x2013: 0x00d0, # EN DASH
- 0x2014: 0x00d1, # EM DASH
- 0x2018: 0x00d4, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x00d5, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x00e2, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x00d2, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x00d3, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x00e3, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x00a0, # DAGGER
- 0x2021: 0x00e0, # DOUBLE DAGGER
- 0x2022: 0x00a5, # BULLET
- 0x2026: 0x00c9, # HORIZONTAL ELLIPSIS
- 0x2030: 0x00e4, # PER MILLE SIGN
- 0x2039: 0x00dc, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
- 0x203a: 0x00dd, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
- 0x2044: 0x00da, # FRACTION SLASH
- 0x20ac: 0x00db, # EURO SIGN
- 0x2122: 0x00aa, # TRADE MARK SIGN
- 0x2202: 0x00b6, # PARTIAL DIFFERENTIAL
- 0x2206: 0x00c6, # INCREMENT
- 0x220f: 0x00b8, # N-ARY PRODUCT
- 0x2211: 0x00b7, # N-ARY SUMMATION
- 0x221a: 0x00c3, # SQUARE ROOT
- 0x221e: 0x00b0, # INFINITY
- 0x222b: 0x00ba, # INTEGRAL
- 0x2248: 0x00c5, # ALMOST EQUAL TO
- 0x2260: 0x00ad, # NOT EQUAL TO
- 0x2264: 0x00b2, # LESS-THAN OR EQUAL TO
- 0x2265: 0x00b3, # GREATER-THAN OR EQUAL TO
- 0x25ca: 0x00d7, # LOZENGE
- 0xf8ff: 0x00f0, # Apple logo
+ 0x0000: 0x00, # CONTROL CHARACTER
+ 0x0001: 0x01, # CONTROL CHARACTER
+ 0x0002: 0x02, # CONTROL CHARACTER
+ 0x0003: 0x03, # CONTROL CHARACTER
+ 0x0004: 0x04, # CONTROL CHARACTER
+ 0x0005: 0x05, # CONTROL CHARACTER
+ 0x0006: 0x06, # CONTROL CHARACTER
+ 0x0007: 0x07, # CONTROL CHARACTER
+ 0x0008: 0x08, # CONTROL CHARACTER
+ 0x0009: 0x09, # CONTROL CHARACTER
+ 0x000a: 0x0a, # CONTROL CHARACTER
+ 0x000b: 0x0b, # CONTROL CHARACTER
+ 0x000c: 0x0c, # CONTROL CHARACTER
+ 0x000d: 0x0d, # CONTROL CHARACTER
+ 0x000e: 0x0e, # CONTROL CHARACTER
+ 0x000f: 0x0f, # CONTROL CHARACTER
+ 0x0010: 0x10, # CONTROL CHARACTER
+ 0x0011: 0x11, # CONTROL CHARACTER
+ 0x0012: 0x12, # CONTROL CHARACTER
+ 0x0013: 0x13, # CONTROL CHARACTER
+ 0x0014: 0x14, # CONTROL CHARACTER
+ 0x0015: 0x15, # CONTROL CHARACTER
+ 0x0016: 0x16, # CONTROL CHARACTER
+ 0x0017: 0x17, # CONTROL CHARACTER
+ 0x0018: 0x18, # CONTROL CHARACTER
+ 0x0019: 0x19, # CONTROL CHARACTER
+ 0x001a: 0x1a, # CONTROL CHARACTER
+ 0x001b: 0x1b, # CONTROL CHARACTER
+ 0x001c: 0x1c, # CONTROL CHARACTER
+ 0x001d: 0x1d, # CONTROL CHARACTER
+ 0x001e: 0x1e, # CONTROL CHARACTER
+ 0x001f: 0x1f, # CONTROL CHARACTER
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # CONTROL CHARACTER
+ 0x00a0: 0xca, # NO-BREAK SPACE
+ 0x00a1: 0xc1, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a5: 0xb4, # YEN SIGN
+ 0x00a7: 0xa4, # SECTION SIGN
+ 0x00a8: 0xac, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00aa: 0xbb, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0xc7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xc2, # NOT SIGN
+ 0x00ae: 0xa8, # REGISTERED SIGN
+ 0x00af: 0xf8, # MACRON
+ 0x00b0: 0xa1, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b4: 0xab, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xa6, # PILCROW SIGN
+ 0x00b7: 0xe1, # MIDDLE DOT
+ 0x00b8: 0xfc, # CEDILLA
+ 0x00ba: 0xbc, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0xc8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bf: 0xc0, # INVERTED QUESTION MARK
+ 0x00c0: 0xcb, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xe7, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xe5, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xcc, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0x80, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0x81, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c7: 0x82, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xe9, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0x83, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xe6, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xe8, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xed, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xea, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xeb, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xec, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d1: 0x84, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xf1, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xee, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xef, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xcd, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0x85, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d9: 0xf4, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xf2, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xf3, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0x86, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xa7, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0x88, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0x87, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0x89, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0x8b, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0x8a, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0x8c, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e7: 0x8d, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0x8f, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0x8e, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0x90, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0x91, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0x93, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0x92, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0x94, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0x95, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f1: 0x96, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0x98, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0x97, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0x99, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0x9b, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0x9a, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xd6, # DIVISION SIGN
+ 0x00f9: 0x9d, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0x9c, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0x9e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0x9f, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00ff: 0xd8, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x0102: 0xae, # LATIN CAPITAL LETTER A WITH BREVE
+ 0x0103: 0xbe, # LATIN SMALL LETTER A WITH BREVE
+ 0x0131: 0xf5, # LATIN SMALL LETTER DOTLESS I
+ 0x0152: 0xce, # LATIN CAPITAL LIGATURE OE
+ 0x0153: 0xcf, # LATIN SMALL LIGATURE OE
+ 0x0178: 0xd9, # LATIN CAPITAL LETTER Y WITH DIAERESIS
+ 0x0192: 0xc4, # LATIN SMALL LETTER F WITH HOOK
+ 0x0218: 0xaf, # LATIN CAPITAL LETTER S WITH COMMA BELOW # for Unicode 3.0 and later
+ 0x0219: 0xbf, # LATIN SMALL LETTER S WITH COMMA BELOW # for Unicode 3.0 and later
+ 0x021a: 0xde, # LATIN CAPITAL LETTER T WITH COMMA BELOW # for Unicode 3.0 and later
+ 0x021b: 0xdf, # LATIN SMALL LETTER T WITH COMMA BELOW # for Unicode 3.0 and later
+ 0x02c6: 0xf6, # MODIFIER LETTER CIRCUMFLEX ACCENT
+ 0x02c7: 0xff, # CARON
+ 0x02d8: 0xf9, # BREVE
+ 0x02d9: 0xfa, # DOT ABOVE
+ 0x02da: 0xfb, # RING ABOVE
+ 0x02db: 0xfe, # OGONEK
+ 0x02dc: 0xf7, # SMALL TILDE
+ 0x02dd: 0xfd, # DOUBLE ACUTE ACCENT
+ 0x03a9: 0xbd, # GREEK CAPITAL LETTER OMEGA
+ 0x03c0: 0xb9, # GREEK SMALL LETTER PI
+ 0x2013: 0xd0, # EN DASH
+ 0x2014: 0xd1, # EM DASH
+ 0x2018: 0xd4, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0xd5, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0xe2, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0xd2, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0xd3, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0xe3, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0xa0, # DAGGER
+ 0x2021: 0xe0, # DOUBLE DAGGER
+ 0x2022: 0xa5, # BULLET
+ 0x2026: 0xc9, # HORIZONTAL ELLIPSIS
+ 0x2030: 0xe4, # PER MILLE SIGN
+ 0x2039: 0xdc, # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+ 0x203a: 0xdd, # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+ 0x2044: 0xda, # FRACTION SLASH
+ 0x20ac: 0xdb, # EURO SIGN
+ 0x2122: 0xaa, # TRADE MARK SIGN
+ 0x2202: 0xb6, # PARTIAL DIFFERENTIAL
+ 0x2206: 0xc6, # INCREMENT
+ 0x220f: 0xb8, # N-ARY PRODUCT
+ 0x2211: 0xb7, # N-ARY SUMMATION
+ 0x221a: 0xc3, # SQUARE ROOT
+ 0x221e: 0xb0, # INFINITY
+ 0x222b: 0xba, # INTEGRAL
+ 0x2248: 0xc5, # ALMOST EQUAL TO
+ 0x2260: 0xad, # NOT EQUAL TO
+ 0x2264: 0xb2, # LESS-THAN OR EQUAL TO
+ 0x2265: 0xb3, # GREATER-THAN OR EQUAL TO
+ 0x25ca: 0xd7, # LOZENGE
+ 0xf8ff: 0xf0, # Apple logo
} \ No newline at end of file
diff --git a/Lib/encodings/mac_turkish.py b/Lib/encodings/mac_turkish.py
index a404b35d2a7..e3899b638fa 100644
--- a/Lib/encodings/mac_turkish.py
+++ b/Lib/encodings/mac_turkish.py
@@ -1,4 +1,4 @@
-""" Python Character Mapping Codec generated from 'VENDORS/APPLE/TURKISH.TXT' with gencodec.py.
+""" Python Character Mapping Codec generated from 'MAPPINGS/VENDORS/APPLE/TURKISH.TXT' with gencodec.py.
"""#"
@@ -28,653 +28,525 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-
-decoding_map = codecs.make_identity_dict(range(256))
-decoding_map.update({
- 0x0080: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x0081: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x0082: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x0083: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x0084: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE
- 0x0085: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x0086: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x0087: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE
- 0x0088: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE
- 0x0089: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x008a: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x008b: 0x00e3, # LATIN SMALL LETTER A WITH TILDE
- 0x008c: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x008d: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA
- 0x008e: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE
- 0x008f: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE
- 0x0090: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x0091: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x0092: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE
- 0x0093: 0x00ec, # LATIN SMALL LETTER I WITH GRAVE
- 0x0094: 0x00ee, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x0095: 0x00ef, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x0096: 0x00f1, # LATIN SMALL LETTER N WITH TILDE
- 0x0097: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE
- 0x0098: 0x00f2, # LATIN SMALL LETTER O WITH GRAVE
- 0x0099: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x009a: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x009b: 0x00f5, # LATIN SMALL LETTER O WITH TILDE
- 0x009c: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE
- 0x009d: 0x00f9, # LATIN SMALL LETTER U WITH GRAVE
- 0x009e: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x009f: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00a0: 0x2020, # DAGGER
- 0x00a1: 0x00b0, # DEGREE SIGN
- 0x00a4: 0x00a7, # SECTION SIGN
- 0x00a5: 0x2022, # BULLET
- 0x00a6: 0x00b6, # PILCROW SIGN
- 0x00a7: 0x00df, # LATIN SMALL LETTER SHARP S
- 0x00a8: 0x00ae, # REGISTERED SIGN
- 0x00aa: 0x2122, # TRADE MARK SIGN
- 0x00ab: 0x00b4, # ACUTE ACCENT
- 0x00ac: 0x00a8, # DIAERESIS
- 0x00ad: 0x2260, # NOT EQUAL TO
- 0x00ae: 0x00c6, # LATIN CAPITAL LETTER AE
- 0x00af: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00b0: 0x221e, # INFINITY
- 0x00b2: 0x2264, # LESS-THAN OR EQUAL TO
- 0x00b3: 0x2265, # GREATER-THAN OR EQUAL TO
- 0x00b4: 0x00a5, # YEN SIGN
- 0x00b6: 0x2202, # PARTIAL DIFFERENTIAL
- 0x00b7: 0x2211, # N-ARY SUMMATION
- 0x00b8: 0x220f, # N-ARY PRODUCT
- 0x00b9: 0x03c0, # GREEK SMALL LETTER PI
- 0x00ba: 0x222b, # INTEGRAL
- 0x00bb: 0x00aa, # FEMININE ORDINAL INDICATOR
- 0x00bc: 0x00ba, # MASCULINE ORDINAL INDICATOR
- 0x00bd: 0x03a9, # GREEK CAPITAL LETTER OMEGA
- 0x00be: 0x00e6, # LATIN SMALL LETTER AE
- 0x00bf: 0x00f8, # LATIN SMALL LETTER O WITH STROKE
- 0x00c0: 0x00bf, # INVERTED QUESTION MARK
- 0x00c1: 0x00a1, # INVERTED EXCLAMATION MARK
- 0x00c2: 0x00ac, # NOT SIGN
- 0x00c3: 0x221a, # SQUARE ROOT
- 0x00c4: 0x0192, # LATIN SMALL LETTER F WITH HOOK
- 0x00c5: 0x2248, # ALMOST EQUAL TO
- 0x00c6: 0x2206, # INCREMENT
- 0x00c7: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c8: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00c9: 0x2026, # HORIZONTAL ELLIPSIS
- 0x00ca: 0x00a0, # NO-BREAK SPACE
- 0x00cb: 0x00c0, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00cc: 0x00c3, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00cd: 0x00d5, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00ce: 0x0152, # LATIN CAPITAL LIGATURE OE
- 0x00cf: 0x0153, # LATIN SMALL LIGATURE OE
- 0x00d0: 0x2013, # EN DASH
- 0x00d1: 0x2014, # EM DASH
- 0x00d2: 0x201c, # LEFT DOUBLE QUOTATION MARK
- 0x00d3: 0x201d, # RIGHT DOUBLE QUOTATION MARK
- 0x00d4: 0x2018, # LEFT SINGLE QUOTATION MARK
- 0x00d5: 0x2019, # RIGHT SINGLE QUOTATION MARK
- 0x00d6: 0x00f7, # DIVISION SIGN
- 0x00d7: 0x25ca, # LOZENGE
- 0x00d8: 0x00ff, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x00d9: 0x0178, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x00da: 0x011e, # LATIN CAPITAL LETTER G WITH BREVE
- 0x00db: 0x011f, # LATIN SMALL LETTER G WITH BREVE
- 0x00dc: 0x0130, # LATIN CAPITAL LETTER I WITH DOT ABOVE
- 0x00dd: 0x0131, # LATIN SMALL LETTER DOTLESS I
- 0x00de: 0x015e, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x00df: 0x015f, # LATIN SMALL LETTER S WITH CEDILLA
- 0x00e0: 0x2021, # DOUBLE DAGGER
- 0x00e1: 0x00b7, # MIDDLE DOT
- 0x00e2: 0x201a, # SINGLE LOW-9 QUOTATION MARK
- 0x00e3: 0x201e, # DOUBLE LOW-9 QUOTATION MARK
- 0x00e4: 0x2030, # PER MILLE SIGN
- 0x00e5: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00e6: 0x00ca, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00e7: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00e8: 0x00cb, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00e9: 0x00c8, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00ea: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00eb: 0x00ce, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00ec: 0x00cf, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00ed: 0x00cc, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00ee: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00ef: 0x00d4, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00f0: 0xf8ff, # Apple logo
- 0x00f1: 0x00d2, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00f2: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00f3: 0x00db, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00f4: 0x00d9, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00f5: 0xf8a0, # undefined1
- 0x00f6: 0x02c6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x00f7: 0x02dc, # SMALL TILDE
- 0x00f8: 0x00af, # MACRON
- 0x00f9: 0x02d8, # BREVE
- 0x00fa: 0x02d9, # DOT ABOVE
- 0x00fb: 0x02da, # RING ABOVE
- 0x00fc: 0x00b8, # CEDILLA
- 0x00fd: 0x02dd, # DOUBLE ACUTE ACCENT
- 0x00fe: 0x02db, # OGONEK
- 0x00ff: 0x02c7, # CARON
-})
### Decoding Table
decoding_table = (
- u'\x00' # 0x0000 -> CONTROL CHARACTER
- u'\x01' # 0x0001 -> CONTROL CHARACTER
- u'\x02' # 0x0002 -> CONTROL CHARACTER
- u'\x03' # 0x0003 -> CONTROL CHARACTER
- u'\x04' # 0x0004 -> CONTROL CHARACTER
- u'\x05' # 0x0005 -> CONTROL CHARACTER
- u'\x06' # 0x0006 -> CONTROL CHARACTER
- u'\x07' # 0x0007 -> CONTROL CHARACTER
- u'\x08' # 0x0008 -> CONTROL CHARACTER
- u'\t' # 0x0009 -> CONTROL CHARACTER
- u'\n' # 0x000a -> CONTROL CHARACTER
- u'\x0b' # 0x000b -> CONTROL CHARACTER
- u'\x0c' # 0x000c -> CONTROL CHARACTER
- u'\r' # 0x000d -> CONTROL CHARACTER
- u'\x0e' # 0x000e -> CONTROL CHARACTER
- u'\x0f' # 0x000f -> CONTROL CHARACTER
- u'\x10' # 0x0010 -> CONTROL CHARACTER
- u'\x11' # 0x0011 -> CONTROL CHARACTER
- u'\x12' # 0x0012 -> CONTROL CHARACTER
- u'\x13' # 0x0013 -> CONTROL CHARACTER
- u'\x14' # 0x0014 -> CONTROL CHARACTER
- u'\x15' # 0x0015 -> CONTROL CHARACTER
- u'\x16' # 0x0016 -> CONTROL CHARACTER
- u'\x17' # 0x0017 -> CONTROL CHARACTER
- u'\x18' # 0x0018 -> CONTROL CHARACTER
- u'\x19' # 0x0019 -> CONTROL CHARACTER
- u'\x1a' # 0x001a -> CONTROL CHARACTER
- u'\x1b' # 0x001b -> CONTROL CHARACTER
- u'\x1c' # 0x001c -> CONTROL CHARACTER
- u'\x1d' # 0x001d -> CONTROL CHARACTER
- u'\x1e' # 0x001e -> CONTROL CHARACTER
- u'\x1f' # 0x001f -> CONTROL CHARACTER
- u' ' # 0x0020 -> SPACE
- u'!' # 0x0021 -> EXCLAMATION MARK
- u'"' # 0x0022 -> QUOTATION MARK
- u'#' # 0x0023 -> NUMBER SIGN
- u'$' # 0x0024 -> DOLLAR SIGN
- u'%' # 0x0025 -> PERCENT SIGN
- u'&' # 0x0026 -> AMPERSAND
- u"'" # 0x0027 -> APOSTROPHE
- u'(' # 0x0028 -> LEFT PARENTHESIS
- u')' # 0x0029 -> RIGHT PARENTHESIS
- u'*' # 0x002a -> ASTERISK
- u'+' # 0x002b -> PLUS SIGN
- u',' # 0x002c -> COMMA
- u'-' # 0x002d -> HYPHEN-MINUS
- u'.' # 0x002e -> FULL STOP
- u'/' # 0x002f -> SOLIDUS
- u'0' # 0x0030 -> DIGIT ZERO
- u'1' # 0x0031 -> DIGIT ONE
- u'2' # 0x0032 -> DIGIT TWO
- u'3' # 0x0033 -> DIGIT THREE
- u'4' # 0x0034 -> DIGIT FOUR
- u'5' # 0x0035 -> DIGIT FIVE
- u'6' # 0x0036 -> DIGIT SIX
- u'7' # 0x0037 -> DIGIT SEVEN
- u'8' # 0x0038 -> DIGIT EIGHT
- u'9' # 0x0039 -> DIGIT NINE
- u':' # 0x003a -> COLON
- u';' # 0x003b -> SEMICOLON
- u'<' # 0x003c -> LESS-THAN SIGN
- u'=' # 0x003d -> EQUALS SIGN
- u'>' # 0x003e -> GREATER-THAN SIGN
- u'?' # 0x003f -> QUESTION MARK
- u'@' # 0x0040 -> COMMERCIAL AT
- u'A' # 0x0041 -> LATIN CAPITAL LETTER A
- u'B' # 0x0042 -> LATIN CAPITAL LETTER B
- u'C' # 0x0043 -> LATIN CAPITAL LETTER C
- u'D' # 0x0044 -> LATIN CAPITAL LETTER D
- u'E' # 0x0045 -> LATIN CAPITAL LETTER E
- u'F' # 0x0046 -> LATIN CAPITAL LETTER F
- u'G' # 0x0047 -> LATIN CAPITAL LETTER G
- u'H' # 0x0048 -> LATIN CAPITAL LETTER H
- u'I' # 0x0049 -> LATIN CAPITAL LETTER I
- u'J' # 0x004a -> LATIN CAPITAL LETTER J
- u'K' # 0x004b -> LATIN CAPITAL LETTER K
- u'L' # 0x004c -> LATIN CAPITAL LETTER L
- u'M' # 0x004d -> LATIN CAPITAL LETTER M
- u'N' # 0x004e -> LATIN CAPITAL LETTER N
- u'O' # 0x004f -> LATIN CAPITAL LETTER O
- u'P' # 0x0050 -> LATIN CAPITAL LETTER P
- u'Q' # 0x0051 -> LATIN CAPITAL LETTER Q
- u'R' # 0x0052 -> LATIN CAPITAL LETTER R
- u'S' # 0x0053 -> LATIN CAPITAL LETTER S
- u'T' # 0x0054 -> LATIN CAPITAL LETTER T
- u'U' # 0x0055 -> LATIN CAPITAL LETTER U
- u'V' # 0x0056 -> LATIN CAPITAL LETTER V
- u'W' # 0x0057 -> LATIN CAPITAL LETTER W
- u'X' # 0x0058 -> LATIN CAPITAL LETTER X
- u'Y' # 0x0059 -> LATIN CAPITAL LETTER Y
- u'Z' # 0x005a -> LATIN CAPITAL LETTER Z
- u'[' # 0x005b -> LEFT SQUARE BRACKET
- u'\\' # 0x005c -> REVERSE SOLIDUS
- u']' # 0x005d -> RIGHT SQUARE BRACKET
- u'^' # 0x005e -> CIRCUMFLEX ACCENT
- u'_' # 0x005f -> LOW LINE
- u'`' # 0x0060 -> GRAVE ACCENT
- u'a' # 0x0061 -> LATIN SMALL LETTER A
- u'b' # 0x0062 -> LATIN SMALL LETTER B
- u'c' # 0x0063 -> LATIN SMALL LETTER C
- u'd' # 0x0064 -> LATIN SMALL LETTER D
- u'e' # 0x0065 -> LATIN SMALL LETTER E
- u'f' # 0x0066 -> LATIN SMALL LETTER F
- u'g' # 0x0067 -> LATIN SMALL LETTER G
- u'h' # 0x0068 -> LATIN SMALL LETTER H
- u'i' # 0x0069 -> LATIN SMALL LETTER I
- u'j' # 0x006a -> LATIN SMALL LETTER J
- u'k' # 0x006b -> LATIN SMALL LETTER K
- u'l' # 0x006c -> LATIN SMALL LETTER L
- u'm' # 0x006d -> LATIN SMALL LETTER M
- u'n' # 0x006e -> LATIN SMALL LETTER N
- u'o' # 0x006f -> LATIN SMALL LETTER O
- u'p' # 0x0070 -> LATIN SMALL LETTER P
- u'q' # 0x0071 -> LATIN SMALL LETTER Q
- u'r' # 0x0072 -> LATIN SMALL LETTER R
- u's' # 0x0073 -> LATIN SMALL LETTER S
- u't' # 0x0074 -> LATIN SMALL LETTER T
- u'u' # 0x0075 -> LATIN SMALL LETTER U
- u'v' # 0x0076 -> LATIN SMALL LETTER V
- u'w' # 0x0077 -> LATIN SMALL LETTER W
- u'x' # 0x0078 -> LATIN SMALL LETTER X
- u'y' # 0x0079 -> LATIN SMALL LETTER Y
- u'z' # 0x007a -> LATIN SMALL LETTER Z
- u'{' # 0x007b -> LEFT CURLY BRACKET
- u'|' # 0x007c -> VERTICAL LINE
- u'}' # 0x007d -> RIGHT CURLY BRACKET
- u'~' # 0x007e -> TILDE
- u'\x7f' # 0x007f -> CONTROL CHARACTER
- u'\xc4' # 0x0080 -> LATIN CAPITAL LETTER A WITH DIAERESIS
- u'\xc5' # 0x0081 -> LATIN CAPITAL LETTER A WITH RING ABOVE
- u'\xc7' # 0x0082 -> LATIN CAPITAL LETTER C WITH CEDILLA
- u'\xc9' # 0x0083 -> LATIN CAPITAL LETTER E WITH ACUTE
- u'\xd1' # 0x0084 -> LATIN CAPITAL LETTER N WITH TILDE
- u'\xd6' # 0x0085 -> LATIN CAPITAL LETTER O WITH DIAERESIS
- u'\xdc' # 0x0086 -> LATIN CAPITAL LETTER U WITH DIAERESIS
- u'\xe1' # 0x0087 -> LATIN SMALL LETTER A WITH ACUTE
- u'\xe0' # 0x0088 -> LATIN SMALL LETTER A WITH GRAVE
- u'\xe2' # 0x0089 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
- u'\xe4' # 0x008a -> LATIN SMALL LETTER A WITH DIAERESIS
- u'\xe3' # 0x008b -> LATIN SMALL LETTER A WITH TILDE
- u'\xe5' # 0x008c -> LATIN SMALL LETTER A WITH RING ABOVE
- u'\xe7' # 0x008d -> LATIN SMALL LETTER C WITH CEDILLA
- u'\xe9' # 0x008e -> LATIN SMALL LETTER E WITH ACUTE
- u'\xe8' # 0x008f -> LATIN SMALL LETTER E WITH GRAVE
- u'\xea' # 0x0090 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
- u'\xeb' # 0x0091 -> LATIN SMALL LETTER E WITH DIAERESIS
- u'\xed' # 0x0092 -> LATIN SMALL LETTER I WITH ACUTE
- u'\xec' # 0x0093 -> LATIN SMALL LETTER I WITH GRAVE
- u'\xee' # 0x0094 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
- u'\xef' # 0x0095 -> LATIN SMALL LETTER I WITH DIAERESIS
- u'\xf1' # 0x0096 -> LATIN SMALL LETTER N WITH TILDE
- u'\xf3' # 0x0097 -> LATIN SMALL LETTER O WITH ACUTE
- u'\xf2' # 0x0098 -> LATIN SMALL LETTER O WITH GRAVE
- u'\xf4' # 0x0099 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
- u'\xf6' # 0x009a -> LATIN SMALL LETTER O WITH DIAERESIS
- u'\xf5' # 0x009b -> LATIN SMALL LETTER O WITH TILDE
- u'\xfa' # 0x009c -> LATIN SMALL LETTER U WITH ACUTE
- u'\xf9' # 0x009d -> LATIN SMALL LETTER U WITH GRAVE
- u'\xfb' # 0x009e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
- u'\xfc' # 0x009f -> LATIN SMALL LETTER U WITH DIAERESIS
- u'\u2020' # 0x00a0 -> DAGGER
- u'\xb0' # 0x00a1 -> DEGREE SIGN
- u'\xa2' # 0x00a2 -> CENT SIGN
- u'\xa3' # 0x00a3 -> POUND SIGN
- u'\xa7' # 0x00a4 -> SECTION SIGN
- u'\u2022' # 0x00a5 -> BULLET
- u'\xb6' # 0x00a6 -> PILCROW SIGN
- u'\xdf' # 0x00a7 -> LATIN SMALL LETTER SHARP S
- u'\xae' # 0x00a8 -> REGISTERED SIGN
- u'\xa9' # 0x00a9 -> COPYRIGHT SIGN
- u'\u2122' # 0x00aa -> TRADE MARK SIGN
- u'\xb4' # 0x00ab -> ACUTE ACCENT
- u'\xa8' # 0x00ac -> DIAERESIS
- u'\u2260' # 0x00ad -> NOT EQUAL TO
- u'\xc6' # 0x00ae -> LATIN CAPITAL LETTER AE
- u'\xd8' # 0x00af -> LATIN CAPITAL LETTER O WITH STROKE
- u'\u221e' # 0x00b0 -> INFINITY
- u'\xb1' # 0x00b1 -> PLUS-MINUS SIGN
- u'\u2264' # 0x00b2 -> LESS-THAN OR EQUAL TO
- u'\u2265' # 0x00b3 -> GREATER-THAN OR EQUAL TO
- u'\xa5' # 0x00b4 -> YEN SIGN
- u'\xb5' # 0x00b5 -> MICRO SIGN
- u'\u2202' # 0x00b6 -> PARTIAL DIFFERENTIAL
- u'\u2211' # 0x00b7 -> N-ARY SUMMATION
- u'\u220f' # 0x00b8 -> N-ARY PRODUCT
- u'\u03c0' # 0x00b9 -> GREEK SMALL LETTER PI
- u'\u222b' # 0x00ba -> INTEGRAL
- u'\xaa' # 0x00bb -> FEMININE ORDINAL INDICATOR
- u'\xba' # 0x00bc -> MASCULINE ORDINAL INDICATOR
- u'\u03a9' # 0x00bd -> GREEK CAPITAL LETTER OMEGA
- u'\xe6' # 0x00be -> LATIN SMALL LETTER AE
- u'\xf8' # 0x00bf -> LATIN SMALL LETTER O WITH STROKE
- u'\xbf' # 0x00c0 -> INVERTED QUESTION MARK
- u'\xa1' # 0x00c1 -> INVERTED EXCLAMATION MARK
- u'\xac' # 0x00c2 -> NOT SIGN
- u'\u221a' # 0x00c3 -> SQUARE ROOT
- u'\u0192' # 0x00c4 -> LATIN SMALL LETTER F WITH HOOK
- u'\u2248' # 0x00c5 -> ALMOST EQUAL TO
- u'\u2206' # 0x00c6 -> INCREMENT
- u'\xab' # 0x00c7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\xbb' # 0x00c8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- u'\u2026' # 0x00c9 -> HORIZONTAL ELLIPSIS
- u'\xa0' # 0x00ca -> NO-BREAK SPACE
- u'\xc0' # 0x00cb -> LATIN CAPITAL LETTER A WITH GRAVE
- u'\xc3' # 0x00cc -> LATIN CAPITAL LETTER A WITH TILDE
- u'\xd5' # 0x00cd -> LATIN CAPITAL LETTER O WITH TILDE
- u'\u0152' # 0x00ce -> LATIN CAPITAL LIGATURE OE
- u'\u0153' # 0x00cf -> LATIN SMALL LIGATURE OE
- u'\u2013' # 0x00d0 -> EN DASH
- u'\u2014' # 0x00d1 -> EM DASH
- u'\u201c' # 0x00d2 -> LEFT DOUBLE QUOTATION MARK
- u'\u201d' # 0x00d3 -> RIGHT DOUBLE QUOTATION MARK
- u'\u2018' # 0x00d4 -> LEFT SINGLE QUOTATION MARK
- u'\u2019' # 0x00d5 -> RIGHT SINGLE QUOTATION MARK
- u'\xf7' # 0x00d6 -> DIVISION SIGN
- u'\u25ca' # 0x00d7 -> LOZENGE
- u'\xff' # 0x00d8 -> LATIN SMALL LETTER Y WITH DIAERESIS
- u'\u0178' # 0x00d9 -> LATIN CAPITAL LETTER Y WITH DIAERESIS
- u'\u011e' # 0x00da -> LATIN CAPITAL LETTER G WITH BREVE
- u'\u011f' # 0x00db -> LATIN SMALL LETTER G WITH BREVE
- u'\u0130' # 0x00dc -> LATIN CAPITAL LETTER I WITH DOT ABOVE
- u'\u0131' # 0x00dd -> LATIN SMALL LETTER DOTLESS I
- u'\u015e' # 0x00de -> LATIN CAPITAL LETTER S WITH CEDILLA
- u'\u015f' # 0x00df -> LATIN SMALL LETTER S WITH CEDILLA
- u'\u2021' # 0x00e0 -> DOUBLE DAGGER
- u'\xb7' # 0x00e1 -> MIDDLE DOT
- u'\u201a' # 0x00e2 -> SINGLE LOW-9 QUOTATION MARK
- u'\u201e' # 0x00e3 -> DOUBLE LOW-9 QUOTATION MARK
- u'\u2030' # 0x00e4 -> PER MILLE SIGN
- u'\xc2' # 0x00e5 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- u'\xca' # 0x00e6 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- u'\xc1' # 0x00e7 -> LATIN CAPITAL LETTER A WITH ACUTE
- u'\xcb' # 0x00e8 -> LATIN CAPITAL LETTER E WITH DIAERESIS
- u'\xc8' # 0x00e9 -> LATIN CAPITAL LETTER E WITH GRAVE
- u'\xcd' # 0x00ea -> LATIN CAPITAL LETTER I WITH ACUTE
- u'\xce' # 0x00eb -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- u'\xcf' # 0x00ec -> LATIN CAPITAL LETTER I WITH DIAERESIS
- u'\xcc' # 0x00ed -> LATIN CAPITAL LETTER I WITH GRAVE
- u'\xd3' # 0x00ee -> LATIN CAPITAL LETTER O WITH ACUTE
- u'\xd4' # 0x00ef -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- u'\uf8ff' # 0x00f0 -> Apple logo
- u'\xd2' # 0x00f1 -> LATIN CAPITAL LETTER O WITH GRAVE
- u'\xda' # 0x00f2 -> LATIN CAPITAL LETTER U WITH ACUTE
- u'\xdb' # 0x00f3 -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- u'\xd9' # 0x00f4 -> LATIN CAPITAL LETTER U WITH GRAVE
- u'\uf8a0' # 0x00f5 -> undefined1
- u'\u02c6' # 0x00f6 -> MODIFIER LETTER CIRCUMFLEX ACCENT
- u'\u02dc' # 0x00f7 -> SMALL TILDE
- u'\xaf' # 0x00f8 -> MACRON
- u'\u02d8' # 0x00f9 -> BREVE
- u'\u02d9' # 0x00fa -> DOT ABOVE
- u'\u02da' # 0x00fb -> RING ABOVE
- u'\xb8' # 0x00fc -> CEDILLA
- u'\u02dd' # 0x00fd -> DOUBLE ACUTE ACCENT
- u'\u02db' # 0x00fe -> OGONEK
- u'\u02c7' # 0x00ff -> CARON
+ u'\x00' # 0x00 -> CONTROL CHARACTER
+ u'\x01' # 0x01 -> CONTROL CHARACTER
+ u'\x02' # 0x02 -> CONTROL CHARACTER
+ u'\x03' # 0x03 -> CONTROL CHARACTER
+ u'\x04' # 0x04 -> CONTROL CHARACTER
+ u'\x05' # 0x05 -> CONTROL CHARACTER
+ u'\x06' # 0x06 -> CONTROL CHARACTER
+ u'\x07' # 0x07 -> CONTROL CHARACTER
+ u'\x08' # 0x08 -> CONTROL CHARACTER
+ u'\t' # 0x09 -> CONTROL CHARACTER
+ u'\n' # 0x0a -> CONTROL CHARACTER
+ u'\x0b' # 0x0b -> CONTROL CHARACTER
+ u'\x0c' # 0x0c -> CONTROL CHARACTER
+ u'\r' # 0x0d -> CONTROL CHARACTER
+ u'\x0e' # 0x0e -> CONTROL CHARACTER
+ u'\x0f' # 0x0f -> CONTROL CHARACTER
+ u'\x10' # 0x10 -> CONTROL CHARACTER
+ u'\x11' # 0x11 -> CONTROL CHARACTER
+ u'\x12' # 0x12 -> CONTROL CHARACTER
+ u'\x13' # 0x13 -> CONTROL CHARACTER
+ u'\x14' # 0x14 -> CONTROL CHARACTER
+ u'\x15' # 0x15 -> CONTROL CHARACTER
+ u'\x16' # 0x16 -> CONTROL CHARACTER
+ u'\x17' # 0x17 -> CONTROL CHARACTER
+ u'\x18' # 0x18 -> CONTROL CHARACTER
+ u'\x19' # 0x19 -> CONTROL CHARACTER
+ u'\x1a' # 0x1a -> CONTROL CHARACTER
+ u'\x1b' # 0x1b -> CONTROL CHARACTER
+ u'\x1c' # 0x1c -> CONTROL CHARACTER
+ u'\x1d' # 0x1d -> CONTROL CHARACTER
+ u'\x1e' # 0x1e -> CONTROL CHARACTER
+ u'\x1f' # 0x1f -> CONTROL CHARACTER
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> CONTROL CHARACTER
+ u'\xc4' # 0x80 -> LATIN CAPITAL LETTER A WITH DIAERESIS
+ u'\xc5' # 0x81 -> LATIN CAPITAL LETTER A WITH RING ABOVE
+ u'\xc7' # 0x82 -> LATIN CAPITAL LETTER C WITH CEDILLA
+ u'\xc9' # 0x83 -> LATIN CAPITAL LETTER E WITH ACUTE
+ u'\xd1' # 0x84 -> LATIN CAPITAL LETTER N WITH TILDE
+ u'\xd6' # 0x85 -> LATIN CAPITAL LETTER O WITH DIAERESIS
+ u'\xdc' # 0x86 -> LATIN CAPITAL LETTER U WITH DIAERESIS
+ u'\xe1' # 0x87 -> LATIN SMALL LETTER A WITH ACUTE
+ u'\xe0' # 0x88 -> LATIN SMALL LETTER A WITH GRAVE
+ u'\xe2' # 0x89 -> LATIN SMALL LETTER A WITH CIRCUMFLEX
+ u'\xe4' # 0x8a -> LATIN SMALL LETTER A WITH DIAERESIS
+ u'\xe3' # 0x8b -> LATIN SMALL LETTER A WITH TILDE
+ u'\xe5' # 0x8c -> LATIN SMALL LETTER A WITH RING ABOVE
+ u'\xe7' # 0x8d -> LATIN SMALL LETTER C WITH CEDILLA
+ u'\xe9' # 0x8e -> LATIN SMALL LETTER E WITH ACUTE
+ u'\xe8' # 0x8f -> LATIN SMALL LETTER E WITH GRAVE
+ u'\xea' # 0x90 -> LATIN SMALL LETTER E WITH CIRCUMFLEX
+ u'\xeb' # 0x91 -> LATIN SMALL LETTER E WITH DIAERESIS
+ u'\xed' # 0x92 -> LATIN SMALL LETTER I WITH ACUTE
+ u'\xec' # 0x93 -> LATIN SMALL LETTER I WITH GRAVE
+ u'\xee' # 0x94 -> LATIN SMALL LETTER I WITH CIRCUMFLEX
+ u'\xef' # 0x95 -> LATIN SMALL LETTER I WITH DIAERESIS
+ u'\xf1' # 0x96 -> LATIN SMALL LETTER N WITH TILDE
+ u'\xf3' # 0x97 -> LATIN SMALL LETTER O WITH ACUTE
+ u'\xf2' # 0x98 -> LATIN SMALL LETTER O WITH GRAVE
+ u'\xf4' # 0x99 -> LATIN SMALL LETTER O WITH CIRCUMFLEX
+ u'\xf6' # 0x9a -> LATIN SMALL LETTER O WITH DIAERESIS
+ u'\xf5' # 0x9b -> LATIN SMALL LETTER O WITH TILDE
+ u'\xfa' # 0x9c -> LATIN SMALL LETTER U WITH ACUTE
+ u'\xf9' # 0x9d -> LATIN SMALL LETTER U WITH GRAVE
+ u'\xfb' # 0x9e -> LATIN SMALL LETTER U WITH CIRCUMFLEX
+ u'\xfc' # 0x9f -> LATIN SMALL LETTER U WITH DIAERESIS
+ u'\u2020' # 0xa0 -> DAGGER
+ u'\xb0' # 0xa1 -> DEGREE SIGN
+ u'\xa2' # 0xa2 -> CENT SIGN
+ u'\xa3' # 0xa3 -> POUND SIGN
+ u'\xa7' # 0xa4 -> SECTION SIGN
+ u'\u2022' # 0xa5 -> BULLET
+ u'\xb6' # 0xa6 -> PILCROW SIGN
+ u'\xdf' # 0xa7 -> LATIN SMALL LETTER SHARP S
+ u'\xae' # 0xa8 -> REGISTERED SIGN
+ u'\xa9' # 0xa9 -> COPYRIGHT SIGN
+ u'\u2122' # 0xaa -> TRADE MARK SIGN
+ u'\xb4' # 0xab -> ACUTE ACCENT
+ u'\xa8' # 0xac -> DIAERESIS
+ u'\u2260' # 0xad -> NOT EQUAL TO
+ u'\xc6' # 0xae -> LATIN CAPITAL LETTER AE
+ u'\xd8' # 0xaf -> LATIN CAPITAL LETTER O WITH STROKE
+ u'\u221e' # 0xb0 -> INFINITY
+ u'\xb1' # 0xb1 -> PLUS-MINUS SIGN
+ u'\u2264' # 0xb2 -> LESS-THAN OR EQUAL TO
+ u'\u2265' # 0xb3 -> GREATER-THAN OR EQUAL TO
+ u'\xa5' # 0xb4 -> YEN SIGN
+ u'\xb5' # 0xb5 -> MICRO SIGN
+ u'\u2202' # 0xb6 -> PARTIAL DIFFERENTIAL
+ u'\u2211' # 0xb7 -> N-ARY SUMMATION
+ u'\u220f' # 0xb8 -> N-ARY PRODUCT
+ u'\u03c0' # 0xb9 -> GREEK SMALL LETTER PI
+ u'\u222b' # 0xba -> INTEGRAL
+ u'\xaa' # 0xbb -> FEMININE ORDINAL INDICATOR
+ u'\xba' # 0xbc -> MASCULINE ORDINAL INDICATOR
+ u'\u03a9' # 0xbd -> GREEK CAPITAL LETTER OMEGA
+ u'\xe6' # 0xbe -> LATIN SMALL LETTER AE
+ u'\xf8' # 0xbf -> LATIN SMALL LETTER O WITH STROKE
+ u'\xbf' # 0xc0 -> INVERTED QUESTION MARK
+ u'\xa1' # 0xc1 -> INVERTED EXCLAMATION MARK
+ u'\xac' # 0xc2 -> NOT SIGN
+ u'\u221a' # 0xc3 -> SQUARE ROOT
+ u'\u0192' # 0xc4 -> LATIN SMALL LETTER F WITH HOOK
+ u'\u2248' # 0xc5 -> ALMOST EQUAL TO
+ u'\u2206' # 0xc6 -> INCREMENT
+ u'\xab' # 0xc7 -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\xbb' # 0xc8 -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ u'\u2026' # 0xc9 -> HORIZONTAL ELLIPSIS
+ u'\xa0' # 0xca -> NO-BREAK SPACE
+ u'\xc0' # 0xcb -> LATIN CAPITAL LETTER A WITH GRAVE
+ u'\xc3' # 0xcc -> LATIN CAPITAL LETTER A WITH TILDE
+ u'\xd5' # 0xcd -> LATIN CAPITAL LETTER O WITH TILDE
+ u'\u0152' # 0xce -> LATIN CAPITAL LIGATURE OE
+ u'\u0153' # 0xcf -> LATIN SMALL LIGATURE OE
+ u'\u2013' # 0xd0 -> EN DASH
+ u'\u2014' # 0xd1 -> EM DASH
+ u'\u201c' # 0xd2 -> LEFT DOUBLE QUOTATION MARK
+ u'\u201d' # 0xd3 -> RIGHT DOUBLE QUOTATION MARK
+ u'\u2018' # 0xd4 -> LEFT SINGLE QUOTATION MARK
+ u'\u2019' # 0xd5 -> RIGHT SINGLE QUOTATION MARK
+ u'\xf7' # 0xd6 -> DIVISION SIGN
+ u'\u25ca' # 0xd7 -> LOZENGE
+ u'\xff' # 0xd8 -> LATIN SMALL LETTER Y WITH DIAERESIS
+ u'\u0178' # 0xd9 -> LATIN CAPITAL LETTER Y WITH DIAERESIS
+ u'\u011e' # 0xda -> LATIN CAPITAL LETTER G WITH BREVE
+ u'\u011f' # 0xdb -> LATIN SMALL LETTER G WITH BREVE
+ u'\u0130' # 0xdc -> LATIN CAPITAL LETTER I WITH DOT ABOVE
+ u'\u0131' # 0xdd -> LATIN SMALL LETTER DOTLESS I
+ u'\u015e' # 0xde -> LATIN CAPITAL LETTER S WITH CEDILLA
+ u'\u015f' # 0xdf -> LATIN SMALL LETTER S WITH CEDILLA
+ u'\u2021' # 0xe0 -> DOUBLE DAGGER
+ u'\xb7' # 0xe1 -> MIDDLE DOT
+ u'\u201a' # 0xe2 -> SINGLE LOW-9 QUOTATION MARK
+ u'\u201e' # 0xe3 -> DOUBLE LOW-9 QUOTATION MARK
+ u'\u2030' # 0xe4 -> PER MILLE SIGN
+ u'\xc2' # 0xe5 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ u'\xca' # 0xe6 -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ u'\xc1' # 0xe7 -> LATIN CAPITAL LETTER A WITH ACUTE
+ u'\xcb' # 0xe8 -> LATIN CAPITAL LETTER E WITH DIAERESIS
+ u'\xc8' # 0xe9 -> LATIN CAPITAL LETTER E WITH GRAVE
+ u'\xcd' # 0xea -> LATIN CAPITAL LETTER I WITH ACUTE
+ u'\xce' # 0xeb -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ u'\xcf' # 0xec -> LATIN CAPITAL LETTER I WITH DIAERESIS
+ u'\xcc' # 0xed -> LATIN CAPITAL LETTER I WITH GRAVE
+ u'\xd3' # 0xee -> LATIN CAPITAL LETTER O WITH ACUTE
+ u'\xd4' # 0xef -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ u'\uf8ff' # 0xf0 -> Apple logo
+ u'\xd2' # 0xf1 -> LATIN CAPITAL LETTER O WITH GRAVE
+ u'\xda' # 0xf2 -> LATIN CAPITAL LETTER U WITH ACUTE
+ u'\xdb' # 0xf3 -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ u'\xd9' # 0xf4 -> LATIN CAPITAL LETTER U WITH GRAVE
+ u'\uf8a0' # 0xf5 -> undefined1
+ u'\u02c6' # 0xf6 -> MODIFIER LETTER CIRCUMFLEX ACCENT
+ u'\u02dc' # 0xf7 -> SMALL TILDE
+ u'\xaf' # 0xf8 -> MACRON
+ u'\u02d8' # 0xf9 -> BREVE
+ u'\u02d9' # 0xfa -> DOT ABOVE
+ u'\u02da' # 0xfb -> RING ABOVE
+ u'\xb8' # 0xfc -> CEDILLA
+ u'\u02dd' # 0xfd -> DOUBLE ACUTE ACCENT
+ u'\u02db' # 0xfe -> OGONEK
+ u'\u02c7' # 0xff -> CARON
)
### Encoding Map
encoding_map = {
- 0x0000: 0x0000, # CONTROL CHARACTER
- 0x0001: 0x0001, # CONTROL CHARACTER
- 0x0002: 0x0002, # CONTROL CHARACTER
- 0x0003: 0x0003, # CONTROL CHARACTER
- 0x0004: 0x0004, # CONTROL CHARACTER
- 0x0005: 0x0005, # CONTROL CHARACTER
- 0x0006: 0x0006, # CONTROL CHARACTER
- 0x0007: 0x0007, # CONTROL CHARACTER
- 0x0008: 0x0008, # CONTROL CHARACTER
- 0x0009: 0x0009, # CONTROL CHARACTER
- 0x000a: 0x000a, # CONTROL CHARACTER
- 0x000b: 0x000b, # CONTROL CHARACTER
- 0x000c: 0x000c, # CONTROL CHARACTER
- 0x000d: 0x000d, # CONTROL CHARACTER
- 0x000e: 0x000e, # CONTROL CHARACTER
- 0x000f: 0x000f, # CONTROL CHARACTER
- 0x0010: 0x0010, # CONTROL CHARACTER
- 0x0011: 0x0011, # CONTROL CHARACTER
- 0x0012: 0x0012, # CONTROL CHARACTER
- 0x0013: 0x0013, # CONTROL CHARACTER
- 0x0014: 0x0014, # CONTROL CHARACTER
- 0x0015: 0x0015, # CONTROL CHARACTER
- 0x0016: 0x0016, # CONTROL CHARACTER
- 0x0017: 0x0017, # CONTROL CHARACTER
- 0x0018: 0x0018, # CONTROL CHARACTER
- 0x0019: 0x0019, # CONTROL CHARACTER
- 0x001a: 0x001a, # CONTROL CHARACTER
- 0x001b: 0x001b, # CONTROL CHARACTER
- 0x001c: 0x001c, # CONTROL CHARACTER
- 0x001d: 0x001d, # CONTROL CHARACTER
- 0x001e: 0x001e, # CONTROL CHARACTER
- 0x001f: 0x001f, # CONTROL CHARACTER
- 0x0020: 0x0020, # SPACE
- 0x0021: 0x0021, # EXCLAMATION MARK
- 0x0022: 0x0022, # QUOTATION MARK
- 0x0023: 0x0023, # NUMBER SIGN
- 0x0024: 0x0024, # DOLLAR SIGN
- 0x0025: 0x0025, # PERCENT SIGN
- 0x0026: 0x0026, # AMPERSAND
- 0x0027: 0x0027, # APOSTROPHE
- 0x0028: 0x0028, # LEFT PARENTHESIS
- 0x0029: 0x0029, # RIGHT PARENTHESIS
- 0x002a: 0x002a, # ASTERISK
- 0x002b: 0x002b, # PLUS SIGN
- 0x002c: 0x002c, # COMMA
- 0x002d: 0x002d, # HYPHEN-MINUS
- 0x002e: 0x002e, # FULL STOP
- 0x002f: 0x002f, # SOLIDUS
- 0x0030: 0x0030, # DIGIT ZERO
- 0x0031: 0x0031, # DIGIT ONE
- 0x0032: 0x0032, # DIGIT TWO
- 0x0033: 0x0033, # DIGIT THREE
- 0x0034: 0x0034, # DIGIT FOUR
- 0x0035: 0x0035, # DIGIT FIVE
- 0x0036: 0x0036, # DIGIT SIX
- 0x0037: 0x0037, # DIGIT SEVEN
- 0x0038: 0x0038, # DIGIT EIGHT
- 0x0039: 0x0039, # DIGIT NINE
- 0x003a: 0x003a, # COLON
- 0x003b: 0x003b, # SEMICOLON
- 0x003c: 0x003c, # LESS-THAN SIGN
- 0x003d: 0x003d, # EQUALS SIGN
- 0x003e: 0x003e, # GREATER-THAN SIGN
- 0x003f: 0x003f, # QUESTION MARK
- 0x0040: 0x0040, # COMMERCIAL AT
- 0x0041: 0x0041, # LATIN CAPITAL LETTER A
- 0x0042: 0x0042, # LATIN CAPITAL LETTER B
- 0x0043: 0x0043, # LATIN CAPITAL LETTER C
- 0x0044: 0x0044, # LATIN CAPITAL LETTER D
- 0x0045: 0x0045, # LATIN CAPITAL LETTER E
- 0x0046: 0x0046, # LATIN CAPITAL LETTER F
- 0x0047: 0x0047, # LATIN CAPITAL LETTER G
- 0x0048: 0x0048, # LATIN CAPITAL LETTER H
- 0x0049: 0x0049, # LATIN CAPITAL LETTER I
- 0x004a: 0x004a, # LATIN CAPITAL LETTER J
- 0x004b: 0x004b, # LATIN CAPITAL LETTER K
- 0x004c: 0x004c, # LATIN CAPITAL LETTER L
- 0x004d: 0x004d, # LATIN CAPITAL LETTER M
- 0x004e: 0x004e, # LATIN CAPITAL LETTER N
- 0x004f: 0x004f, # LATIN CAPITAL LETTER O
- 0x0050: 0x0050, # LATIN CAPITAL LETTER P
- 0x0051: 0x0051, # LATIN CAPITAL LETTER Q
- 0x0052: 0x0052, # LATIN CAPITAL LETTER R
- 0x0053: 0x0053, # LATIN CAPITAL LETTER S
- 0x0054: 0x0054, # LATIN CAPITAL LETTER T
- 0x0055: 0x0055, # LATIN CAPITAL LETTER U
- 0x0056: 0x0056, # LATIN CAPITAL LETTER V
- 0x0057: 0x0057, # LATIN CAPITAL LETTER W
- 0x0058: 0x0058, # LATIN CAPITAL LETTER X
- 0x0059: 0x0059, # LATIN CAPITAL LETTER Y
- 0x005a: 0x005a, # LATIN CAPITAL LETTER Z
- 0x005b: 0x005b, # LEFT SQUARE BRACKET
- 0x005c: 0x005c, # REVERSE SOLIDUS
- 0x005d: 0x005d, # RIGHT SQUARE BRACKET
- 0x005e: 0x005e, # CIRCUMFLEX ACCENT
- 0x005f: 0x005f, # LOW LINE
- 0x0060: 0x0060, # GRAVE ACCENT
- 0x0061: 0x0061, # LATIN SMALL LETTER A
- 0x0062: 0x0062, # LATIN SMALL LETTER B
- 0x0063: 0x0063, # LATIN SMALL LETTER C
- 0x0064: 0x0064, # LATIN SMALL LETTER D
- 0x0065: 0x0065, # LATIN SMALL LETTER E
- 0x0066: 0x0066, # LATIN SMALL LETTER F
- 0x0067: 0x0067, # LATIN SMALL LETTER G
- 0x0068: 0x0068, # LATIN SMALL LETTER H
- 0x0069: 0x0069, # LATIN SMALL LETTER I
- 0x006a: 0x006a, # LATIN SMALL LETTER J
- 0x006b: 0x006b, # LATIN SMALL LETTER K
- 0x006c: 0x006c, # LATIN SMALL LETTER L
- 0x006d: 0x006d, # LATIN SMALL LETTER M
- 0x006e: 0x006e, # LATIN SMALL LETTER N
- 0x006f: 0x006f, # LATIN SMALL LETTER O
- 0x0070: 0x0070, # LATIN SMALL LETTER P
- 0x0071: 0x0071, # LATIN SMALL LETTER Q
- 0x0072: 0x0072, # LATIN SMALL LETTER R
- 0x0073: 0x0073, # LATIN SMALL LETTER S
- 0x0074: 0x0074, # LATIN SMALL LETTER T
- 0x0075: 0x0075, # LATIN SMALL LETTER U
- 0x0076: 0x0076, # LATIN SMALL LETTER V
- 0x0077: 0x0077, # LATIN SMALL LETTER W
- 0x0078: 0x0078, # LATIN SMALL LETTER X
- 0x0079: 0x0079, # LATIN SMALL LETTER Y
- 0x007a: 0x007a, # LATIN SMALL LETTER Z
- 0x007b: 0x007b, # LEFT CURLY BRACKET
- 0x007c: 0x007c, # VERTICAL LINE
- 0x007d: 0x007d, # RIGHT CURLY BRACKET
- 0x007e: 0x007e, # TILDE
- 0x007f: 0x007f, # CONTROL CHARACTER
- 0x00a0: 0x00ca, # NO-BREAK SPACE
- 0x00a1: 0x00c1, # INVERTED EXCLAMATION MARK
- 0x00a2: 0x00a2, # CENT SIGN
- 0x00a3: 0x00a3, # POUND SIGN
- 0x00a5: 0x00b4, # YEN SIGN
- 0x00a7: 0x00a4, # SECTION SIGN
- 0x00a8: 0x00ac, # DIAERESIS
- 0x00a9: 0x00a9, # COPYRIGHT SIGN
- 0x00aa: 0x00bb, # FEMININE ORDINAL INDICATOR
- 0x00ab: 0x00c7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00ac: 0x00c2, # NOT SIGN
- 0x00ae: 0x00a8, # REGISTERED SIGN
- 0x00af: 0x00f8, # MACRON
- 0x00b0: 0x00a1, # DEGREE SIGN
- 0x00b1: 0x00b1, # PLUS-MINUS SIGN
- 0x00b4: 0x00ab, # ACUTE ACCENT
- 0x00b5: 0x00b5, # MICRO SIGN
- 0x00b6: 0x00a6, # PILCROW SIGN
- 0x00b7: 0x00e1, # MIDDLE DOT
- 0x00b8: 0x00fc, # CEDILLA
- 0x00ba: 0x00bc, # MASCULINE ORDINAL INDICATOR
- 0x00bb: 0x00c8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
- 0x00bf: 0x00c0, # INVERTED QUESTION MARK
- 0x00c0: 0x00cb, # LATIN CAPITAL LETTER A WITH GRAVE
- 0x00c1: 0x00e7, # LATIN CAPITAL LETTER A WITH ACUTE
- 0x00c2: 0x00e5, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
- 0x00c3: 0x00cc, # LATIN CAPITAL LETTER A WITH TILDE
- 0x00c4: 0x0080, # LATIN CAPITAL LETTER A WITH DIAERESIS
- 0x00c5: 0x0081, # LATIN CAPITAL LETTER A WITH RING ABOVE
- 0x00c6: 0x00ae, # LATIN CAPITAL LETTER AE
- 0x00c7: 0x0082, # LATIN CAPITAL LETTER C WITH CEDILLA
- 0x00c8: 0x00e9, # LATIN CAPITAL LETTER E WITH GRAVE
- 0x00c9: 0x0083, # LATIN CAPITAL LETTER E WITH ACUTE
- 0x00ca: 0x00e6, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
- 0x00cb: 0x00e8, # LATIN CAPITAL LETTER E WITH DIAERESIS
- 0x00cc: 0x00ed, # LATIN CAPITAL LETTER I WITH GRAVE
- 0x00cd: 0x00ea, # LATIN CAPITAL LETTER I WITH ACUTE
- 0x00ce: 0x00eb, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
- 0x00cf: 0x00ec, # LATIN CAPITAL LETTER I WITH DIAERESIS
- 0x00d1: 0x0084, # LATIN CAPITAL LETTER N WITH TILDE
- 0x00d2: 0x00f1, # LATIN CAPITAL LETTER O WITH GRAVE
- 0x00d3: 0x00ee, # LATIN CAPITAL LETTER O WITH ACUTE
- 0x00d4: 0x00ef, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
- 0x00d5: 0x00cd, # LATIN CAPITAL LETTER O WITH TILDE
- 0x00d6: 0x0085, # LATIN CAPITAL LETTER O WITH DIAERESIS
- 0x00d8: 0x00af, # LATIN CAPITAL LETTER O WITH STROKE
- 0x00d9: 0x00f4, # LATIN CAPITAL LETTER U WITH GRAVE
- 0x00da: 0x00f2, # LATIN CAPITAL LETTER U WITH ACUTE
- 0x00db: 0x00f3, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
- 0x00dc: 0x0086, # LATIN CAPITAL LETTER U WITH DIAERESIS
- 0x00df: 0x00a7, # LATIN SMALL LETTER SHARP S
- 0x00e0: 0x0088, # LATIN SMALL LETTER A WITH GRAVE
- 0x00e1: 0x0087, # LATIN SMALL LETTER A WITH ACUTE
- 0x00e2: 0x0089, # LATIN SMALL LETTER A WITH CIRCUMFLEX
- 0x00e3: 0x008b, # LATIN SMALL LETTER A WITH TILDE
- 0x00e4: 0x008a, # LATIN SMALL LETTER A WITH DIAERESIS
- 0x00e5: 0x008c, # LATIN SMALL LETTER A WITH RING ABOVE
- 0x00e6: 0x00be, # LATIN SMALL LETTER AE
- 0x00e7: 0x008d, # LATIN SMALL LETTER C WITH CEDILLA
- 0x00e8: 0x008f, # LATIN SMALL LETTER E WITH GRAVE
- 0x00e9: 0x008e, # LATIN SMALL LETTER E WITH ACUTE
- 0x00ea: 0x0090, # LATIN SMALL LETTER E WITH CIRCUMFLEX
- 0x00eb: 0x0091, # LATIN SMALL LETTER E WITH DIAERESIS
- 0x00ec: 0x0093, # LATIN SMALL LETTER I WITH GRAVE
- 0x00ed: 0x0092, # LATIN SMALL LETTER I WITH ACUTE
- 0x00ee: 0x0094, # LATIN SMALL LETTER I WITH CIRCUMFLEX
- 0x00ef: 0x0095, # LATIN SMALL LETTER I WITH DIAERESIS
- 0x00f1: 0x0096, # LATIN SMALL LETTER N WITH TILDE
- 0x00f2: 0x0098, # LATIN SMALL LETTER O WITH GRAVE
- 0x00f3: 0x0097, # LATIN SMALL LETTER O WITH ACUTE
- 0x00f4: 0x0099, # LATIN SMALL LETTER O WITH CIRCUMFLEX
- 0x00f5: 0x009b, # LATIN SMALL LETTER O WITH TILDE
- 0x00f6: 0x009a, # LATIN SMALL LETTER O WITH DIAERESIS
- 0x00f7: 0x00d6, # DIVISION SIGN
- 0x00f8: 0x00bf, # LATIN SMALL LETTER O WITH STROKE
- 0x00f9: 0x009d, # LATIN SMALL LETTER U WITH GRAVE
- 0x00fa: 0x009c, # LATIN SMALL LETTER U WITH ACUTE
- 0x00fb: 0x009e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
- 0x00fc: 0x009f, # LATIN SMALL LETTER U WITH DIAERESIS
- 0x00ff: 0x00d8, # LATIN SMALL LETTER Y WITH DIAERESIS
- 0x011e: 0x00da, # LATIN CAPITAL LETTER G WITH BREVE
- 0x011f: 0x00db, # LATIN SMALL LETTER G WITH BREVE
- 0x0130: 0x00dc, # LATIN CAPITAL LETTER I WITH DOT ABOVE
- 0x0131: 0x00dd, # LATIN SMALL LETTER DOTLESS I
- 0x0152: 0x00ce, # LATIN CAPITAL LIGATURE OE
- 0x0153: 0x00cf, # LATIN SMALL LIGATURE OE
- 0x015e: 0x00de, # LATIN CAPITAL LETTER S WITH CEDILLA
- 0x015f: 0x00df, # LATIN SMALL LETTER S WITH CEDILLA
- 0x0178: 0x00d9, # LATIN CAPITAL LETTER Y WITH DIAERESIS
- 0x0192: 0x00c4, # LATIN SMALL LETTER F WITH HOOK
- 0x02c6: 0x00f6, # MODIFIER LETTER CIRCUMFLEX ACCENT
- 0x02c7: 0x00ff, # CARON
- 0x02d8: 0x00f9, # BREVE
- 0x02d9: 0x00fa, # DOT ABOVE
- 0x02da: 0x00fb, # RING ABOVE
- 0x02db: 0x00fe, # OGONEK
- 0x02dc: 0x00f7, # SMALL TILDE
- 0x02dd: 0x00fd, # DOUBLE ACUTE ACCENT
- 0x03a9: 0x00bd, # GREEK CAPITAL LETTER OMEGA
- 0x03c0: 0x00b9, # GREEK SMALL LETTER PI
- 0x2013: 0x00d0, # EN DASH
- 0x2014: 0x00d1, # EM DASH
- 0x2018: 0x00d4, # LEFT SINGLE QUOTATION MARK
- 0x2019: 0x00d5, # RIGHT SINGLE QUOTATION MARK
- 0x201a: 0x00e2, # SINGLE LOW-9 QUOTATION MARK
- 0x201c: 0x00d2, # LEFT DOUBLE QUOTATION MARK
- 0x201d: 0x00d3, # RIGHT DOUBLE QUOTATION MARK
- 0x201e: 0x00e3, # DOUBLE LOW-9 QUOTATION MARK
- 0x2020: 0x00a0, # DAGGER
- 0x2021: 0x00e0, # DOUBLE DAGGER
- 0x2022: 0x00a5, # BULLET
- 0x2026: 0x00c9, # HORIZONTAL ELLIPSIS
- 0x2030: 0x00e4, # PER MILLE SIGN
- 0x2122: 0x00aa, # TRADE MARK SIGN
- 0x2202: 0x00b6, # PARTIAL DIFFERENTIAL
- 0x2206: 0x00c6, # INCREMENT
- 0x220f: 0x00b8, # N-ARY PRODUCT
- 0x2211: 0x00b7, # N-ARY SUMMATION
- 0x221a: 0x00c3, # SQUARE ROOT
- 0x221e: 0x00b0, # INFINITY
- 0x222b: 0x00ba, # INTEGRAL
- 0x2248: 0x00c5, # ALMOST EQUAL TO
- 0x2260: 0x00ad, # NOT EQUAL TO
- 0x2264: 0x00b2, # LESS-THAN OR EQUAL TO
- 0x2265: 0x00b3, # GREATER-THAN OR EQUAL TO
- 0x25ca: 0x00d7, # LOZENGE
- 0xf8a0: 0x00f5, # undefined1
- 0xf8ff: 0x00f0, # Apple logo
+ 0x0000: 0x00, # CONTROL CHARACTER
+ 0x0001: 0x01, # CONTROL CHARACTER
+ 0x0002: 0x02, # CONTROL CHARACTER
+ 0x0003: 0x03, # CONTROL CHARACTER
+ 0x0004: 0x04, # CONTROL CHARACTER
+ 0x0005: 0x05, # CONTROL CHARACTER
+ 0x0006: 0x06, # CONTROL CHARACTER
+ 0x0007: 0x07, # CONTROL CHARACTER
+ 0x0008: 0x08, # CONTROL CHARACTER
+ 0x0009: 0x09, # CONTROL CHARACTER
+ 0x000a: 0x0a, # CONTROL CHARACTER
+ 0x000b: 0x0b, # CONTROL CHARACTER
+ 0x000c: 0x0c, # CONTROL CHARACTER
+ 0x000d: 0x0d, # CONTROL CHARACTER
+ 0x000e: 0x0e, # CONTROL CHARACTER
+ 0x000f: 0x0f, # CONTROL CHARACTER
+ 0x0010: 0x10, # CONTROL CHARACTER
+ 0x0011: 0x11, # CONTROL CHARACTER
+ 0x0012: 0x12, # CONTROL CHARACTER
+ 0x0013: 0x13, # CONTROL CHARACTER
+ 0x0014: 0x14, # CONTROL CHARACTER
+ 0x0015: 0x15, # CONTROL CHARACTER
+ 0x0016: 0x16, # CONTROL CHARACTER
+ 0x0017: 0x17, # CONTROL CHARACTER
+ 0x0018: 0x18, # CONTROL CHARACTER
+ 0x0019: 0x19, # CONTROL CHARACTER
+ 0x001a: 0x1a, # CONTROL CHARACTER
+ 0x001b: 0x1b, # CONTROL CHARACTER
+ 0x001c: 0x1c, # CONTROL CHARACTER
+ 0x001d: 0x1d, # CONTROL CHARACTER
+ 0x001e: 0x1e, # CONTROL CHARACTER
+ 0x001f: 0x1f, # CONTROL CHARACTER
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # CONTROL CHARACTER
+ 0x00a0: 0xca, # NO-BREAK SPACE
+ 0x00a1: 0xc1, # INVERTED EXCLAMATION MARK
+ 0x00a2: 0xa2, # CENT SIGN
+ 0x00a3: 0xa3, # POUND SIGN
+ 0x00a5: 0xb4, # YEN SIGN
+ 0x00a7: 0xa4, # SECTION SIGN
+ 0x00a8: 0xac, # DIAERESIS
+ 0x00a9: 0xa9, # COPYRIGHT SIGN
+ 0x00aa: 0xbb, # FEMININE ORDINAL INDICATOR
+ 0x00ab: 0xc7, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00ac: 0xc2, # NOT SIGN
+ 0x00ae: 0xa8, # REGISTERED SIGN
+ 0x00af: 0xf8, # MACRON
+ 0x00b0: 0xa1, # DEGREE SIGN
+ 0x00b1: 0xb1, # PLUS-MINUS SIGN
+ 0x00b4: 0xab, # ACUTE ACCENT
+ 0x00b5: 0xb5, # MICRO SIGN
+ 0x00b6: 0xa6, # PILCROW SIGN
+ 0x00b7: 0xe1, # MIDDLE DOT
+ 0x00b8: 0xfc, # CEDILLA
+ 0x00ba: 0xbc, # MASCULINE ORDINAL INDICATOR
+ 0x00bb: 0xc8, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+ 0x00bf: 0xc0, # INVERTED QUESTION MARK
+ 0x00c0: 0xcb, # LATIN CAPITAL LETTER A WITH GRAVE
+ 0x00c1: 0xe7, # LATIN CAPITAL LETTER A WITH ACUTE
+ 0x00c2: 0xe5, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+ 0x00c3: 0xcc, # LATIN CAPITAL LETTER A WITH TILDE
+ 0x00c4: 0x80, # LATIN CAPITAL LETTER A WITH DIAERESIS
+ 0x00c5: 0x81, # LATIN CAPITAL LETTER A WITH RING ABOVE
+ 0x00c6: 0xae, # LATIN CAPITAL LETTER AE
+ 0x00c7: 0x82, # LATIN CAPITAL LETTER C WITH CEDILLA
+ 0x00c8: 0xe9, # LATIN CAPITAL LETTER E WITH GRAVE
+ 0x00c9: 0x83, # LATIN CAPITAL LETTER E WITH ACUTE
+ 0x00ca: 0xe6, # LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+ 0x00cb: 0xe8, # LATIN CAPITAL LETTER E WITH DIAERESIS
+ 0x00cc: 0xed, # LATIN CAPITAL LETTER I WITH GRAVE
+ 0x00cd: 0xea, # LATIN CAPITAL LETTER I WITH ACUTE
+ 0x00ce: 0xeb, # LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+ 0x00cf: 0xec, # LATIN CAPITAL LETTER I WITH DIAERESIS
+ 0x00d1: 0x84, # LATIN CAPITAL LETTER N WITH TILDE
+ 0x00d2: 0xf1, # LATIN CAPITAL LETTER O WITH GRAVE
+ 0x00d3: 0xee, # LATIN CAPITAL LETTER O WITH ACUTE
+ 0x00d4: 0xef, # LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+ 0x00d5: 0xcd, # LATIN CAPITAL LETTER O WITH TILDE
+ 0x00d6: 0x85, # LATIN CAPITAL LETTER O WITH DIAERESIS
+ 0x00d8: 0xaf, # LATIN CAPITAL LETTER O WITH STROKE
+ 0x00d9: 0xf4, # LATIN CAPITAL LETTER U WITH GRAVE
+ 0x00da: 0xf2, # LATIN CAPITAL LETTER U WITH ACUTE
+ 0x00db: 0xf3, # LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+ 0x00dc: 0x86, # LATIN CAPITAL LETTER U WITH DIAERESIS
+ 0x00df: 0xa7, # LATIN SMALL LETTER SHARP S
+ 0x00e0: 0x88, # LATIN SMALL LETTER A WITH GRAVE
+ 0x00e1: 0x87, # LATIN SMALL LETTER A WITH ACUTE
+ 0x00e2: 0x89, # LATIN SMALL LETTER A WITH CIRCUMFLEX
+ 0x00e3: 0x8b, # LATIN SMALL LETTER A WITH TILDE
+ 0x00e4: 0x8a, # LATIN SMALL LETTER A WITH DIAERESIS
+ 0x00e5: 0x8c, # LATIN SMALL LETTER A WITH RING ABOVE
+ 0x00e6: 0xbe, # LATIN SMALL LETTER AE
+ 0x00e7: 0x8d, # LATIN SMALL LETTER C WITH CEDILLA
+ 0x00e8: 0x8f, # LATIN SMALL LETTER E WITH GRAVE
+ 0x00e9: 0x8e, # LATIN SMALL LETTER E WITH ACUTE
+ 0x00ea: 0x90, # LATIN SMALL LETTER E WITH CIRCUMFLEX
+ 0x00eb: 0x91, # LATIN SMALL LETTER E WITH DIAERESIS
+ 0x00ec: 0x93, # LATIN SMALL LETTER I WITH GRAVE
+ 0x00ed: 0x92, # LATIN SMALL LETTER I WITH ACUTE
+ 0x00ee: 0x94, # LATIN SMALL LETTER I WITH CIRCUMFLEX
+ 0x00ef: 0x95, # LATIN SMALL LETTER I WITH DIAERESIS
+ 0x00f1: 0x96, # LATIN SMALL LETTER N WITH TILDE
+ 0x00f2: 0x98, # LATIN SMALL LETTER O WITH GRAVE
+ 0x00f3: 0x97, # LATIN SMALL LETTER O WITH ACUTE
+ 0x00f4: 0x99, # LATIN SMALL LETTER O WITH CIRCUMFLEX
+ 0x00f5: 0x9b, # LATIN SMALL LETTER O WITH TILDE
+ 0x00f6: 0x9a, # LATIN SMALL LETTER O WITH DIAERESIS
+ 0x00f7: 0xd6, # DIVISION SIGN
+ 0x00f8: 0xbf, # LATIN SMALL LETTER O WITH STROKE
+ 0x00f9: 0x9d, # LATIN SMALL LETTER U WITH GRAVE
+ 0x00fa: 0x9c, # LATIN SMALL LETTER U WITH ACUTE
+ 0x00fb: 0x9e, # LATIN SMALL LETTER U WITH CIRCUMFLEX
+ 0x00fc: 0x9f, # LATIN SMALL LETTER U WITH DIAERESIS
+ 0x00ff: 0xd8, # LATIN SMALL LETTER Y WITH DIAERESIS
+ 0x011e: 0xda, # LATIN CAPITAL LETTER G WITH BREVE
+ 0x011f: 0xdb, # LATIN SMALL LETTER G WITH BREVE
+ 0x0130: 0xdc, # LATIN CAPITAL LETTER I WITH DOT ABOVE
+ 0x0131: 0xdd, # LATIN SMALL LETTER DOTLESS I
+ 0x0152: 0xce, # LATIN CAPITAL LIGATURE OE
+ 0x0153: 0xcf, # LATIN SMALL LIGATURE OE
+ 0x015e: 0xde, # LATIN CAPITAL LETTER S WITH CEDILLA
+ 0x015f: 0xdf, # LATIN SMALL LETTER S WITH CEDILLA
+ 0x0178: 0xd9, # LATIN CAPITAL LETTER Y WITH DIAERESIS
+ 0x0192: 0xc4, # LATIN SMALL LETTER F WITH HOOK
+ 0x02c6: 0xf6, # MODIFIER LETTER CIRCUMFLEX ACCENT
+ 0x02c7: 0xff, # CARON
+ 0x02d8: 0xf9, # BREVE
+ 0x02d9: 0xfa, # DOT ABOVE
+ 0x02da: 0xfb, # RING ABOVE
+ 0x02db: 0xfe, # OGONEK
+ 0x02dc: 0xf7, # SMALL TILDE
+ 0x02dd: 0xfd, # DOUBLE ACUTE ACCENT
+ 0x03a9: 0xbd, # GREEK CAPITAL LETTER OMEGA
+ 0x03c0: 0xb9, # GREEK SMALL LETTER PI
+ 0x2013: 0xd0, # EN DASH
+ 0x2014: 0xd1, # EM DASH
+ 0x2018: 0xd4, # LEFT SINGLE QUOTATION MARK
+ 0x2019: 0xd5, # RIGHT SINGLE QUOTATION MARK
+ 0x201a: 0xe2, # SINGLE LOW-9 QUOTATION MARK
+ 0x201c: 0xd2, # LEFT DOUBLE QUOTATION MARK
+ 0x201d: 0xd3, # RIGHT DOUBLE QUOTATION MARK
+ 0x201e: 0xe3, # DOUBLE LOW-9 QUOTATION MARK
+ 0x2020: 0xa0, # DAGGER
+ 0x2021: 0xe0, # DOUBLE DAGGER
+ 0x2022: 0xa5, # BULLET
+ 0x2026: 0xc9, # HORIZONTAL ELLIPSIS
+ 0x2030: 0xe4, # PER MILLE SIGN
+ 0x2122: 0xaa, # TRADE MARK SIGN
+ 0x2202: 0xb6, # PARTIAL DIFFERENTIAL
+ 0x2206: 0xc6, # INCREMENT
+ 0x220f: 0xb8, # N-ARY PRODUCT
+ 0x2211: 0xb7, # N-ARY SUMMATION
+ 0x221a: 0xc3, # SQUARE ROOT
+ 0x221e: 0xb0, # INFINITY
+ 0x222b: 0xba, # INTEGRAL
+ 0x2248: 0xc5, # ALMOST EQUAL TO
+ 0x2260: 0xad, # NOT EQUAL TO
+ 0x2264: 0xb2, # LESS-THAN OR EQUAL TO
+ 0x2265: 0xb3, # GREATER-THAN OR EQUAL TO
+ 0x25ca: 0xd7, # LOZENGE
+ 0xf8a0: 0xf5, # undefined1
+ 0xf8ff: 0xf0, # Apple logo
} \ No newline at end of file
diff --git a/Lib/encodings/tis_620.py b/Lib/encodings/tis_620.py
index 6e1229e3850..f7c3f016844 100644
--- a/Lib/encodings/tis_620.py
+++ b/Lib/encodings/tis_620.py
@@ -1,14 +1,8 @@
-""" Python Character Mapping Codec for TIS-620.
-
- According to
- ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-11.TXT the
- TIS-620 is the identical to ISO_8859-11 with the 0xA0 (no-break
- space) mapping removed.
+""" Python Character Mapping Codec generated from 'python-mappings/TIS-620.TXT' with gencodec.py.
"""#"
import codecs
-from encodings.iso8859_11 import decoding_map
### Codec APIs
@@ -20,8 +14,8 @@ class Codec(codecs.Codec):
def decode(self,input,errors='strict'):
- return codecs.charmap_decode(input,errors,decoding_map)
-
+ return codecs.charmap_decode(input,errors,decoding_table)
+
class StreamWriter(Codec,codecs.StreamWriter):
pass
@@ -34,13 +28,516 @@ def getregentry():
return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
-### Decoding Map
-decoding_map = decoding_map.copy()
-decoding_map.update({
- 0x00a0: None,
-})
+### Decoding Table
+
+decoding_table = (
+ u'\x00' # 0x00 -> NULL
+ u'\x01' # 0x01 -> START OF HEADING
+ u'\x02' # 0x02 -> START OF TEXT
+ u'\x03' # 0x03 -> END OF TEXT
+ u'\x04' # 0x04 -> END OF TRANSMISSION
+ u'\x05' # 0x05 -> ENQUIRY
+ u'\x06' # 0x06 -> ACKNOWLEDGE
+ u'\x07' # 0x07 -> BELL
+ u'\x08' # 0x08 -> BACKSPACE
+ u'\t' # 0x09 -> HORIZONTAL TABULATION
+ u'\n' # 0x0a -> LINE FEED
+ u'\x0b' # 0x0b -> VERTICAL TABULATION
+ u'\x0c' # 0x0c -> FORM FEED
+ u'\r' # 0x0d -> CARRIAGE RETURN
+ u'\x0e' # 0x0e -> SHIFT OUT
+ u'\x0f' # 0x0f -> SHIFT IN
+ u'\x10' # 0x10 -> DATA LINK ESCAPE
+ u'\x11' # 0x11 -> DEVICE CONTROL ONE
+ u'\x12' # 0x12 -> DEVICE CONTROL TWO
+ u'\x13' # 0x13 -> DEVICE CONTROL THREE
+ u'\x14' # 0x14 -> DEVICE CONTROL FOUR
+ u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE
+ u'\x16' # 0x16 -> SYNCHRONOUS IDLE
+ u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK
+ u'\x18' # 0x18 -> CANCEL
+ u'\x19' # 0x19 -> END OF MEDIUM
+ u'\x1a' # 0x1a -> SUBSTITUTE
+ u'\x1b' # 0x1b -> ESCAPE
+ u'\x1c' # 0x1c -> FILE SEPARATOR
+ u'\x1d' # 0x1d -> GROUP SEPARATOR
+ u'\x1e' # 0x1e -> RECORD SEPARATOR
+ u'\x1f' # 0x1f -> UNIT SEPARATOR
+ u' ' # 0x20 -> SPACE
+ u'!' # 0x21 -> EXCLAMATION MARK
+ u'"' # 0x22 -> QUOTATION MARK
+ u'#' # 0x23 -> NUMBER SIGN
+ u'$' # 0x24 -> DOLLAR SIGN
+ u'%' # 0x25 -> PERCENT SIGN
+ u'&' # 0x26 -> AMPERSAND
+ u"'" # 0x27 -> APOSTROPHE
+ u'(' # 0x28 -> LEFT PARENTHESIS
+ u')' # 0x29 -> RIGHT PARENTHESIS
+ u'*' # 0x2a -> ASTERISK
+ u'+' # 0x2b -> PLUS SIGN
+ u',' # 0x2c -> COMMA
+ u'-' # 0x2d -> HYPHEN-MINUS
+ u'.' # 0x2e -> FULL STOP
+ u'/' # 0x2f -> SOLIDUS
+ u'0' # 0x30 -> DIGIT ZERO
+ u'1' # 0x31 -> DIGIT ONE
+ u'2' # 0x32 -> DIGIT TWO
+ u'3' # 0x33 -> DIGIT THREE
+ u'4' # 0x34 -> DIGIT FOUR
+ u'5' # 0x35 -> DIGIT FIVE
+ u'6' # 0x36 -> DIGIT SIX
+ u'7' # 0x37 -> DIGIT SEVEN
+ u'8' # 0x38 -> DIGIT EIGHT
+ u'9' # 0x39 -> DIGIT NINE
+ u':' # 0x3a -> COLON
+ u';' # 0x3b -> SEMICOLON
+ u'<' # 0x3c -> LESS-THAN SIGN
+ u'=' # 0x3d -> EQUALS SIGN
+ u'>' # 0x3e -> GREATER-THAN SIGN
+ u'?' # 0x3f -> QUESTION MARK
+ u'@' # 0x40 -> COMMERCIAL AT
+ u'A' # 0x41 -> LATIN CAPITAL LETTER A
+ u'B' # 0x42 -> LATIN CAPITAL LETTER B
+ u'C' # 0x43 -> LATIN CAPITAL LETTER C
+ u'D' # 0x44 -> LATIN CAPITAL LETTER D
+ u'E' # 0x45 -> LATIN CAPITAL LETTER E
+ u'F' # 0x46 -> LATIN CAPITAL LETTER F
+ u'G' # 0x47 -> LATIN CAPITAL LETTER G
+ u'H' # 0x48 -> LATIN CAPITAL LETTER H
+ u'I' # 0x49 -> LATIN CAPITAL LETTER I
+ u'J' # 0x4a -> LATIN CAPITAL LETTER J
+ u'K' # 0x4b -> LATIN CAPITAL LETTER K
+ u'L' # 0x4c -> LATIN CAPITAL LETTER L
+ u'M' # 0x4d -> LATIN CAPITAL LETTER M
+ u'N' # 0x4e -> LATIN CAPITAL LETTER N
+ u'O' # 0x4f -> LATIN CAPITAL LETTER O
+ u'P' # 0x50 -> LATIN CAPITAL LETTER P
+ u'Q' # 0x51 -> LATIN CAPITAL LETTER Q
+ u'R' # 0x52 -> LATIN CAPITAL LETTER R
+ u'S' # 0x53 -> LATIN CAPITAL LETTER S
+ u'T' # 0x54 -> LATIN CAPITAL LETTER T
+ u'U' # 0x55 -> LATIN CAPITAL LETTER U
+ u'V' # 0x56 -> LATIN CAPITAL LETTER V
+ u'W' # 0x57 -> LATIN CAPITAL LETTER W
+ u'X' # 0x58 -> LATIN CAPITAL LETTER X
+ u'Y' # 0x59 -> LATIN CAPITAL LETTER Y
+ u'Z' # 0x5a -> LATIN CAPITAL LETTER Z
+ u'[' # 0x5b -> LEFT SQUARE BRACKET
+ u'\\' # 0x5c -> REVERSE SOLIDUS
+ u']' # 0x5d -> RIGHT SQUARE BRACKET
+ u'^' # 0x5e -> CIRCUMFLEX ACCENT
+ u'_' # 0x5f -> LOW LINE
+ u'`' # 0x60 -> GRAVE ACCENT
+ u'a' # 0x61 -> LATIN SMALL LETTER A
+ u'b' # 0x62 -> LATIN SMALL LETTER B
+ u'c' # 0x63 -> LATIN SMALL LETTER C
+ u'd' # 0x64 -> LATIN SMALL LETTER D
+ u'e' # 0x65 -> LATIN SMALL LETTER E
+ u'f' # 0x66 -> LATIN SMALL LETTER F
+ u'g' # 0x67 -> LATIN SMALL LETTER G
+ u'h' # 0x68 -> LATIN SMALL LETTER H
+ u'i' # 0x69 -> LATIN SMALL LETTER I
+ u'j' # 0x6a -> LATIN SMALL LETTER J
+ u'k' # 0x6b -> LATIN SMALL LETTER K
+ u'l' # 0x6c -> LATIN SMALL LETTER L
+ u'm' # 0x6d -> LATIN SMALL LETTER M
+ u'n' # 0x6e -> LATIN SMALL LETTER N
+ u'o' # 0x6f -> LATIN SMALL LETTER O
+ u'p' # 0x70 -> LATIN SMALL LETTER P
+ u'q' # 0x71 -> LATIN SMALL LETTER Q
+ u'r' # 0x72 -> LATIN SMALL LETTER R
+ u's' # 0x73 -> LATIN SMALL LETTER S
+ u't' # 0x74 -> LATIN SMALL LETTER T
+ u'u' # 0x75 -> LATIN SMALL LETTER U
+ u'v' # 0x76 -> LATIN SMALL LETTER V
+ u'w' # 0x77 -> LATIN SMALL LETTER W
+ u'x' # 0x78 -> LATIN SMALL LETTER X
+ u'y' # 0x79 -> LATIN SMALL LETTER Y
+ u'z' # 0x7a -> LATIN SMALL LETTER Z
+ u'{' # 0x7b -> LEFT CURLY BRACKET
+ u'|' # 0x7c -> VERTICAL LINE
+ u'}' # 0x7d -> RIGHT CURLY BRACKET
+ u'~' # 0x7e -> TILDE
+ u'\x7f' # 0x7f -> DELETE
+ u'\x80' # 0x80 -> <control>
+ u'\x81' # 0x81 -> <control>
+ u'\x82' # 0x82 -> <control>
+ u'\x83' # 0x83 -> <control>
+ u'\x84' # 0x84 -> <control>
+ u'\x85' # 0x85 -> <control>
+ u'\x86' # 0x86 -> <control>
+ u'\x87' # 0x87 -> <control>
+ u'\x88' # 0x88 -> <control>
+ u'\x89' # 0x89 -> <control>
+ u'\x8a' # 0x8a -> <control>
+ u'\x8b' # 0x8b -> <control>
+ u'\x8c' # 0x8c -> <control>
+ u'\x8d' # 0x8d -> <control>
+ u'\x8e' # 0x8e -> <control>
+ u'\x8f' # 0x8f -> <control>
+ u'\x90' # 0x90 -> <control>
+ u'\x91' # 0x91 -> <control>
+ u'\x92' # 0x92 -> <control>
+ u'\x93' # 0x93 -> <control>
+ u'\x94' # 0x94 -> <control>
+ u'\x95' # 0x95 -> <control>
+ u'\x96' # 0x96 -> <control>
+ u'\x97' # 0x97 -> <control>
+ u'\x98' # 0x98 -> <control>
+ u'\x99' # 0x99 -> <control>
+ u'\x9a' # 0x9a -> <control>
+ u'\x9b' # 0x9b -> <control>
+ u'\x9c' # 0x9c -> <control>
+ u'\x9d' # 0x9d -> <control>
+ u'\x9e' # 0x9e -> <control>
+ u'\x9f' # 0x9f -> <control>
+ u'\ufffe'
+ u'\u0e01' # 0xa1 -> THAI CHARACTER KO KAI
+ u'\u0e02' # 0xa2 -> THAI CHARACTER KHO KHAI
+ u'\u0e03' # 0xa3 -> THAI CHARACTER KHO KHUAT
+ u'\u0e04' # 0xa4 -> THAI CHARACTER KHO KHWAI
+ u'\u0e05' # 0xa5 -> THAI CHARACTER KHO KHON
+ u'\u0e06' # 0xa6 -> THAI CHARACTER KHO RAKHANG
+ u'\u0e07' # 0xa7 -> THAI CHARACTER NGO NGU
+ u'\u0e08' # 0xa8 -> THAI CHARACTER CHO CHAN
+ u'\u0e09' # 0xa9 -> THAI CHARACTER CHO CHING
+ u'\u0e0a' # 0xaa -> THAI CHARACTER CHO CHANG
+ u'\u0e0b' # 0xab -> THAI CHARACTER SO SO
+ u'\u0e0c' # 0xac -> THAI CHARACTER CHO CHOE
+ u'\u0e0d' # 0xad -> THAI CHARACTER YO YING
+ u'\u0e0e' # 0xae -> THAI CHARACTER DO CHADA
+ u'\u0e0f' # 0xaf -> THAI CHARACTER TO PATAK
+ u'\u0e10' # 0xb0 -> THAI CHARACTER THO THAN
+ u'\u0e11' # 0xb1 -> THAI CHARACTER THO NANGMONTHO
+ u'\u0e12' # 0xb2 -> THAI CHARACTER THO PHUTHAO
+ u'\u0e13' # 0xb3 -> THAI CHARACTER NO NEN
+ u'\u0e14' # 0xb4 -> THAI CHARACTER DO DEK
+ u'\u0e15' # 0xb5 -> THAI CHARACTER TO TAO
+ u'\u0e16' # 0xb6 -> THAI CHARACTER THO THUNG
+ u'\u0e17' # 0xb7 -> THAI CHARACTER THO THAHAN
+ u'\u0e18' # 0xb8 -> THAI CHARACTER THO THONG
+ u'\u0e19' # 0xb9 -> THAI CHARACTER NO NU
+ u'\u0e1a' # 0xba -> THAI CHARACTER BO BAIMAI
+ u'\u0e1b' # 0xbb -> THAI CHARACTER PO PLA
+ u'\u0e1c' # 0xbc -> THAI CHARACTER PHO PHUNG
+ u'\u0e1d' # 0xbd -> THAI CHARACTER FO FA
+ u'\u0e1e' # 0xbe -> THAI CHARACTER PHO PHAN
+ u'\u0e1f' # 0xbf -> THAI CHARACTER FO FAN
+ u'\u0e20' # 0xc0 -> THAI CHARACTER PHO SAMPHAO
+ u'\u0e21' # 0xc1 -> THAI CHARACTER MO MA
+ u'\u0e22' # 0xc2 -> THAI CHARACTER YO YAK
+ u'\u0e23' # 0xc3 -> THAI CHARACTER RO RUA
+ u'\u0e24' # 0xc4 -> THAI CHARACTER RU
+ u'\u0e25' # 0xc5 -> THAI CHARACTER LO LING
+ u'\u0e26' # 0xc6 -> THAI CHARACTER LU
+ u'\u0e27' # 0xc7 -> THAI CHARACTER WO WAEN
+ u'\u0e28' # 0xc8 -> THAI CHARACTER SO SALA
+ u'\u0e29' # 0xc9 -> THAI CHARACTER SO RUSI
+ u'\u0e2a' # 0xca -> THAI CHARACTER SO SUA
+ u'\u0e2b' # 0xcb -> THAI CHARACTER HO HIP
+ u'\u0e2c' # 0xcc -> THAI CHARACTER LO CHULA
+ u'\u0e2d' # 0xcd -> THAI CHARACTER O ANG
+ u'\u0e2e' # 0xce -> THAI CHARACTER HO NOKHUK
+ u'\u0e2f' # 0xcf -> THAI CHARACTER PAIYANNOI
+ u'\u0e30' # 0xd0 -> THAI CHARACTER SARA A
+ u'\u0e31' # 0xd1 -> THAI CHARACTER MAI HAN-AKAT
+ u'\u0e32' # 0xd2 -> THAI CHARACTER SARA AA
+ u'\u0e33' # 0xd3 -> THAI CHARACTER SARA AM
+ u'\u0e34' # 0xd4 -> THAI CHARACTER SARA I
+ u'\u0e35' # 0xd5 -> THAI CHARACTER SARA II
+ u'\u0e36' # 0xd6 -> THAI CHARACTER SARA UE
+ u'\u0e37' # 0xd7 -> THAI CHARACTER SARA UEE
+ u'\u0e38' # 0xd8 -> THAI CHARACTER SARA U
+ u'\u0e39' # 0xd9 -> THAI CHARACTER SARA UU
+ u'\u0e3a' # 0xda -> THAI CHARACTER PHINTHU
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\u0e3f' # 0xdf -> THAI CURRENCY SYMBOL BAHT
+ u'\u0e40' # 0xe0 -> THAI CHARACTER SARA E
+ u'\u0e41' # 0xe1 -> THAI CHARACTER SARA AE
+ u'\u0e42' # 0xe2 -> THAI CHARACTER SARA O
+ u'\u0e43' # 0xe3 -> THAI CHARACTER SARA AI MAIMUAN
+ u'\u0e44' # 0xe4 -> THAI CHARACTER SARA AI MAIMALAI
+ u'\u0e45' # 0xe5 -> THAI CHARACTER LAKKHANGYAO
+ u'\u0e46' # 0xe6 -> THAI CHARACTER MAIYAMOK
+ u'\u0e47' # 0xe7 -> THAI CHARACTER MAITAIKHU
+ u'\u0e48' # 0xe8 -> THAI CHARACTER MAI EK
+ u'\u0e49' # 0xe9 -> THAI CHARACTER MAI THO
+ u'\u0e4a' # 0xea -> THAI CHARACTER MAI TRI
+ u'\u0e4b' # 0xeb -> THAI CHARACTER MAI CHATTAWA
+ u'\u0e4c' # 0xec -> THAI CHARACTER THANTHAKHAT
+ u'\u0e4d' # 0xed -> THAI CHARACTER NIKHAHIT
+ u'\u0e4e' # 0xee -> THAI CHARACTER YAMAKKAN
+ u'\u0e4f' # 0xef -> THAI CHARACTER FONGMAN
+ u'\u0e50' # 0xf0 -> THAI DIGIT ZERO
+ u'\u0e51' # 0xf1 -> THAI DIGIT ONE
+ u'\u0e52' # 0xf2 -> THAI DIGIT TWO
+ u'\u0e53' # 0xf3 -> THAI DIGIT THREE
+ u'\u0e54' # 0xf4 -> THAI DIGIT FOUR
+ u'\u0e55' # 0xf5 -> THAI DIGIT FIVE
+ u'\u0e56' # 0xf6 -> THAI DIGIT SIX
+ u'\u0e57' # 0xf7 -> THAI DIGIT SEVEN
+ u'\u0e58' # 0xf8 -> THAI DIGIT EIGHT
+ u'\u0e59' # 0xf9 -> THAI DIGIT NINE
+ u'\u0e5a' # 0xfa -> THAI CHARACTER ANGKHANKHU
+ u'\u0e5b' # 0xfb -> THAI CHARACTER KHOMUT
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+ u'\ufffe'
+)
### Encoding Map
-encoding_map = codecs.make_encoding_map(decoding_map)
+encoding_map = {
+ 0x0000: 0x00, # NULL
+ 0x0001: 0x01, # START OF HEADING
+ 0x0002: 0x02, # START OF TEXT
+ 0x0003: 0x03, # END OF TEXT
+ 0x0004: 0x04, # END OF TRANSMISSION
+ 0x0005: 0x05, # ENQUIRY
+ 0x0006: 0x06, # ACKNOWLEDGE
+ 0x0007: 0x07, # BELL
+ 0x0008: 0x08, # BACKSPACE
+ 0x0009: 0x09, # HORIZONTAL TABULATION
+ 0x000a: 0x0a, # LINE FEED
+ 0x000b: 0x0b, # VERTICAL TABULATION
+ 0x000c: 0x0c, # FORM FEED
+ 0x000d: 0x0d, # CARRIAGE RETURN
+ 0x000e: 0x0e, # SHIFT OUT
+ 0x000f: 0x0f, # SHIFT IN
+ 0x0010: 0x10, # DATA LINK ESCAPE
+ 0x0011: 0x11, # DEVICE CONTROL ONE
+ 0x0012: 0x12, # DEVICE CONTROL TWO
+ 0x0013: 0x13, # DEVICE CONTROL THREE
+ 0x0014: 0x14, # DEVICE CONTROL FOUR
+ 0x0015: 0x15, # NEGATIVE ACKNOWLEDGE
+ 0x0016: 0x16, # SYNCHRONOUS IDLE
+ 0x0017: 0x17, # END OF TRANSMISSION BLOCK
+ 0x0018: 0x18, # CANCEL
+ 0x0019: 0x19, # END OF MEDIUM
+ 0x001a: 0x1a, # SUBSTITUTE
+ 0x001b: 0x1b, # ESCAPE
+ 0x001c: 0x1c, # FILE SEPARATOR
+ 0x001d: 0x1d, # GROUP SEPARATOR
+ 0x001e: 0x1e, # RECORD SEPARATOR
+ 0x001f: 0x1f, # UNIT SEPARATOR
+ 0x0020: 0x20, # SPACE
+ 0x0021: 0x21, # EXCLAMATION MARK
+ 0x0022: 0x22, # QUOTATION MARK
+ 0x0023: 0x23, # NUMBER SIGN
+ 0x0024: 0x24, # DOLLAR SIGN
+ 0x0025: 0x25, # PERCENT SIGN
+ 0x0026: 0x26, # AMPERSAND
+ 0x0027: 0x27, # APOSTROPHE
+ 0x0028: 0x28, # LEFT PARENTHESIS
+ 0x0029: 0x29, # RIGHT PARENTHESIS
+ 0x002a: 0x2a, # ASTERISK
+ 0x002b: 0x2b, # PLUS SIGN
+ 0x002c: 0x2c, # COMMA
+ 0x002d: 0x2d, # HYPHEN-MINUS
+ 0x002e: 0x2e, # FULL STOP
+ 0x002f: 0x2f, # SOLIDUS
+ 0x0030: 0x30, # DIGIT ZERO
+ 0x0031: 0x31, # DIGIT ONE
+ 0x0032: 0x32, # DIGIT TWO
+ 0x0033: 0x33, # DIGIT THREE
+ 0x0034: 0x34, # DIGIT FOUR
+ 0x0035: 0x35, # DIGIT FIVE
+ 0x0036: 0x36, # DIGIT SIX
+ 0x0037: 0x37, # DIGIT SEVEN
+ 0x0038: 0x38, # DIGIT EIGHT
+ 0x0039: 0x39, # DIGIT NINE
+ 0x003a: 0x3a, # COLON
+ 0x003b: 0x3b, # SEMICOLON
+ 0x003c: 0x3c, # LESS-THAN SIGN
+ 0x003d: 0x3d, # EQUALS SIGN
+ 0x003e: 0x3e, # GREATER-THAN SIGN
+ 0x003f: 0x3f, # QUESTION MARK
+ 0x0040: 0x40, # COMMERCIAL AT
+ 0x0041: 0x41, # LATIN CAPITAL LETTER A
+ 0x0042: 0x42, # LATIN CAPITAL LETTER B
+ 0x0043: 0x43, # LATIN CAPITAL LETTER C
+ 0x0044: 0x44, # LATIN CAPITAL LETTER D
+ 0x0045: 0x45, # LATIN CAPITAL LETTER E
+ 0x0046: 0x46, # LATIN CAPITAL LETTER F
+ 0x0047: 0x47, # LATIN CAPITAL LETTER G
+ 0x0048: 0x48, # LATIN CAPITAL LETTER H
+ 0x0049: 0x49, # LATIN CAPITAL LETTER I
+ 0x004a: 0x4a, # LATIN CAPITAL LETTER J
+ 0x004b: 0x4b, # LATIN CAPITAL LETTER K
+ 0x004c: 0x4c, # LATIN CAPITAL LETTER L
+ 0x004d: 0x4d, # LATIN CAPITAL LETTER M
+ 0x004e: 0x4e, # LATIN CAPITAL LETTER N
+ 0x004f: 0x4f, # LATIN CAPITAL LETTER O
+ 0x0050: 0x50, # LATIN CAPITAL LETTER P
+ 0x0051: 0x51, # LATIN CAPITAL LETTER Q
+ 0x0052: 0x52, # LATIN CAPITAL LETTER R
+ 0x0053: 0x53, # LATIN CAPITAL LETTER S
+ 0x0054: 0x54, # LATIN CAPITAL LETTER T
+ 0x0055: 0x55, # LATIN CAPITAL LETTER U
+ 0x0056: 0x56, # LATIN CAPITAL LETTER V
+ 0x0057: 0x57, # LATIN CAPITAL LETTER W
+ 0x0058: 0x58, # LATIN CAPITAL LETTER X
+ 0x0059: 0x59, # LATIN CAPITAL LETTER Y
+ 0x005a: 0x5a, # LATIN CAPITAL LETTER Z
+ 0x005b: 0x5b, # LEFT SQUARE BRACKET
+ 0x005c: 0x5c, # REVERSE SOLIDUS
+ 0x005d: 0x5d, # RIGHT SQUARE BRACKET
+ 0x005e: 0x5e, # CIRCUMFLEX ACCENT
+ 0x005f: 0x5f, # LOW LINE
+ 0x0060: 0x60, # GRAVE ACCENT
+ 0x0061: 0x61, # LATIN SMALL LETTER A
+ 0x0062: 0x62, # LATIN SMALL LETTER B
+ 0x0063: 0x63, # LATIN SMALL LETTER C
+ 0x0064: 0x64, # LATIN SMALL LETTER D
+ 0x0065: 0x65, # LATIN SMALL LETTER E
+ 0x0066: 0x66, # LATIN SMALL LETTER F
+ 0x0067: 0x67, # LATIN SMALL LETTER G
+ 0x0068: 0x68, # LATIN SMALL LETTER H
+ 0x0069: 0x69, # LATIN SMALL LETTER I
+ 0x006a: 0x6a, # LATIN SMALL LETTER J
+ 0x006b: 0x6b, # LATIN SMALL LETTER K
+ 0x006c: 0x6c, # LATIN SMALL LETTER L
+ 0x006d: 0x6d, # LATIN SMALL LETTER M
+ 0x006e: 0x6e, # LATIN SMALL LETTER N
+ 0x006f: 0x6f, # LATIN SMALL LETTER O
+ 0x0070: 0x70, # LATIN SMALL LETTER P
+ 0x0071: 0x71, # LATIN SMALL LETTER Q
+ 0x0072: 0x72, # LATIN SMALL LETTER R
+ 0x0073: 0x73, # LATIN SMALL LETTER S
+ 0x0074: 0x74, # LATIN SMALL LETTER T
+ 0x0075: 0x75, # LATIN SMALL LETTER U
+ 0x0076: 0x76, # LATIN SMALL LETTER V
+ 0x0077: 0x77, # LATIN SMALL LETTER W
+ 0x0078: 0x78, # LATIN SMALL LETTER X
+ 0x0079: 0x79, # LATIN SMALL LETTER Y
+ 0x007a: 0x7a, # LATIN SMALL LETTER Z
+ 0x007b: 0x7b, # LEFT CURLY BRACKET
+ 0x007c: 0x7c, # VERTICAL LINE
+ 0x007d: 0x7d, # RIGHT CURLY BRACKET
+ 0x007e: 0x7e, # TILDE
+ 0x007f: 0x7f, # DELETE
+ 0x0080: 0x80, # <control>
+ 0x0081: 0x81, # <control>
+ 0x0082: 0x82, # <control>
+ 0x0083: 0x83, # <control>
+ 0x0084: 0x84, # <control>
+ 0x0085: 0x85, # <control>
+ 0x0086: 0x86, # <control>
+ 0x0087: 0x87, # <control>
+ 0x0088: 0x88, # <control>
+ 0x0089: 0x89, # <control>
+ 0x008a: 0x8a, # <control>
+ 0x008b: 0x8b, # <control>
+ 0x008c: 0x8c, # <control>
+ 0x008d: 0x8d, # <control>
+ 0x008e: 0x8e, # <control>
+ 0x008f: 0x8f, # <control>
+ 0x0090: 0x90, # <control>
+ 0x0091: 0x91, # <control>
+ 0x0092: 0x92, # <control>
+ 0x0093: 0x93, # <control>
+ 0x0094: 0x94, # <control>
+ 0x0095: 0x95, # <control>
+ 0x0096: 0x96, # <control>
+ 0x0097: 0x97, # <control>
+ 0x0098: 0x98, # <control>
+ 0x0099: 0x99, # <control>
+ 0x009a: 0x9a, # <control>
+ 0x009b: 0x9b, # <control>
+ 0x009c: 0x9c, # <control>
+ 0x009d: 0x9d, # <control>
+ 0x009e: 0x9e, # <control>
+ 0x009f: 0x9f, # <control>
+ 0x0e01: 0xa1, # THAI CHARACTER KO KAI
+ 0x0e02: 0xa2, # THAI CHARACTER KHO KHAI
+ 0x0e03: 0xa3, # THAI CHARACTER KHO KHUAT
+ 0x0e04: 0xa4, # THAI CHARACTER KHO KHWAI
+ 0x0e05: 0xa5, # THAI CHARACTER KHO KHON
+ 0x0e06: 0xa6, # THAI CHARACTER KHO RAKHANG
+ 0x0e07: 0xa7, # THAI CHARACTER NGO NGU
+ 0x0e08: 0xa8, # THAI CHARACTER CHO CHAN
+ 0x0e09: 0xa9, # THAI CHARACTER CHO CHING
+ 0x0e0a: 0xaa, # THAI CHARACTER CHO CHANG
+ 0x0e0b: 0xab, # THAI CHARACTER SO SO
+ 0x0e0c: 0xac, # THAI CHARACTER CHO CHOE
+ 0x0e0d: 0xad, # THAI CHARACTER YO YING
+ 0x0e0e: 0xae, # THAI CHARACTER DO CHADA
+ 0x0e0f: 0xaf, # THAI CHARACTER TO PATAK
+ 0x0e10: 0xb0, # THAI CHARACTER THO THAN
+ 0x0e11: 0xb1, # THAI CHARACTER THO NANGMONTHO
+ 0x0e12: 0xb2, # THAI CHARACTER THO PHUTHAO
+ 0x0e13: 0xb3, # THAI CHARACTER NO NEN
+ 0x0e14: 0xb4, # THAI CHARACTER DO DEK
+ 0x0e15: 0xb5, # THAI CHARACTER TO TAO
+ 0x0e16: 0xb6, # THAI CHARACTER THO THUNG
+ 0x0e17: 0xb7, # THAI CHARACTER THO THAHAN
+ 0x0e18: 0xb8, # THAI CHARACTER THO THONG
+ 0x0e19: 0xb9, # THAI CHARACTER NO NU
+ 0x0e1a: 0xba, # THAI CHARACTER BO BAIMAI
+ 0x0e1b: 0xbb, # THAI CHARACTER PO PLA
+ 0x0e1c: 0xbc, # THAI CHARACTER PHO PHUNG
+ 0x0e1d: 0xbd, # THAI CHARACTER FO FA
+ 0x0e1e: 0xbe, # THAI CHARACTER PHO PHAN
+ 0x0e1f: 0xbf, # THAI CHARACTER FO FAN
+ 0x0e20: 0xc0, # THAI CHARACTER PHO SAMPHAO
+ 0x0e21: 0xc1, # THAI CHARACTER MO MA
+ 0x0e22: 0xc2, # THAI CHARACTER YO YAK
+ 0x0e23: 0xc3, # THAI CHARACTER RO RUA
+ 0x0e24: 0xc4, # THAI CHARACTER RU
+ 0x0e25: 0xc5, # THAI CHARACTER LO LING
+ 0x0e26: 0xc6, # THAI CHARACTER LU
+ 0x0e27: 0xc7, # THAI CHARACTER WO WAEN
+ 0x0e28: 0xc8, # THAI CHARACTER SO SALA
+ 0x0e29: 0xc9, # THAI CHARACTER SO RUSI
+ 0x0e2a: 0xca, # THAI CHARACTER SO SUA
+ 0x0e2b: 0xcb, # THAI CHARACTER HO HIP
+ 0x0e2c: 0xcc, # THAI CHARACTER LO CHULA
+ 0x0e2d: 0xcd, # THAI CHARACTER O ANG
+ 0x0e2e: 0xce, # THAI CHARACTER HO NOKHUK
+ 0x0e2f: 0xcf, # THAI CHARACTER PAIYANNOI
+ 0x0e30: 0xd0, # THAI CHARACTER SARA A
+ 0x0e31: 0xd1, # THAI CHARACTER MAI HAN-AKAT
+ 0x0e32: 0xd2, # THAI CHARACTER SARA AA
+ 0x0e33: 0xd3, # THAI CHARACTER SARA AM
+ 0x0e34: 0xd4, # THAI CHARACTER SARA I
+ 0x0e35: 0xd5, # THAI CHARACTER SARA II
+ 0x0e36: 0xd6, # THAI CHARACTER SARA UE
+ 0x0e37: 0xd7, # THAI CHARACTER SARA UEE
+ 0x0e38: 0xd8, # THAI CHARACTER SARA U
+ 0x0e39: 0xd9, # THAI CHARACTER SARA UU
+ 0x0e3a: 0xda, # THAI CHARACTER PHINTHU
+ 0x0e3f: 0xdf, # THAI CURRENCY SYMBOL BAHT
+ 0x0e40: 0xe0, # THAI CHARACTER SARA E
+ 0x0e41: 0xe1, # THAI CHARACTER SARA AE
+ 0x0e42: 0xe2, # THAI CHARACTER SARA O
+ 0x0e43: 0xe3, # THAI CHARACTER SARA AI MAIMUAN
+ 0x0e44: 0xe4, # THAI CHARACTER SARA AI MAIMALAI
+ 0x0e45: 0xe5, # THAI CHARACTER LAKKHANGYAO
+ 0x0e46: 0xe6, # THAI CHARACTER MAIYAMOK
+ 0x0e47: 0xe7, # THAI CHARACTER MAITAIKHU
+ 0x0e48: 0xe8, # THAI CHARACTER MAI EK
+ 0x0e49: 0xe9, # THAI CHARACTER MAI THO
+ 0x0e4a: 0xea, # THAI CHARACTER MAI TRI
+ 0x0e4b: 0xeb, # THAI CHARACTER MAI CHATTAWA
+ 0x0e4c: 0xec, # THAI CHARACTER THANTHAKHAT
+ 0x0e4d: 0xed, # THAI CHARACTER NIKHAHIT
+ 0x0e4e: 0xee, # THAI CHARACTER YAMAKKAN
+ 0x0e4f: 0xef, # THAI CHARACTER FONGMAN
+ 0x0e50: 0xf0, # THAI DIGIT ZERO
+ 0x0e51: 0xf1, # THAI DIGIT ONE
+ 0x0e52: 0xf2, # THAI DIGIT TWO
+ 0x0e53: 0xf3, # THAI DIGIT THREE
+ 0x0e54: 0xf4, # THAI DIGIT FOUR
+ 0x0e55: 0xf5, # THAI DIGIT FIVE
+ 0x0e56: 0xf6, # THAI DIGIT SIX
+ 0x0e57: 0xf7, # THAI DIGIT SEVEN
+ 0x0e58: 0xf8, # THAI DIGIT EIGHT
+ 0x0e59: 0xf9, # THAI DIGIT NINE
+ 0x0e5a: 0xfa, # THAI CHARACTER ANGKHANKHU
+ 0x0e5b: 0xfb, # THAI CHARACTER KHOMUT
+} \ No newline at end of file