10a8c90248264a8b26970b4473770bcc3df8515fJosh Gao""" Python Character Mapping Codec cp1254 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1254.TXT' with gencodec.py. 20a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 30a8c90248264a8b26970b4473770bcc3df8515fJosh Gao"""#" 40a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 50a8c90248264a8b26970b4473770bcc3df8515fJosh Gaoimport codecs 60a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 70a8c90248264a8b26970b4473770bcc3df8515fJosh Gao### Codec APIs 80a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 90a8c90248264a8b26970b4473770bcc3df8515fJosh Gaoclass Codec(codecs.Codec): 100a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 110a8c90248264a8b26970b4473770bcc3df8515fJosh Gao def encode(self,input,errors='strict'): 120a8c90248264a8b26970b4473770bcc3df8515fJosh Gao return codecs.charmap_encode(input,errors,encoding_table) 130a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 140a8c90248264a8b26970b4473770bcc3df8515fJosh Gao def decode(self,input,errors='strict'): 150a8c90248264a8b26970b4473770bcc3df8515fJosh Gao return codecs.charmap_decode(input,errors,decoding_table) 160a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 170a8c90248264a8b26970b4473770bcc3df8515fJosh Gaoclass IncrementalEncoder(codecs.IncrementalEncoder): 180a8c90248264a8b26970b4473770bcc3df8515fJosh Gao def encode(self, input, final=False): 190a8c90248264a8b26970b4473770bcc3df8515fJosh Gao return codecs.charmap_encode(input,self.errors,encoding_table)[0] 200a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 210a8c90248264a8b26970b4473770bcc3df8515fJosh Gaoclass IncrementalDecoder(codecs.IncrementalDecoder): 220a8c90248264a8b26970b4473770bcc3df8515fJosh Gao def decode(self, input, final=False): 230a8c90248264a8b26970b4473770bcc3df8515fJosh Gao return codecs.charmap_decode(input,self.errors,decoding_table)[0] 240a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 250a8c90248264a8b26970b4473770bcc3df8515fJosh Gaoclass StreamWriter(Codec,codecs.StreamWriter): 260a8c90248264a8b26970b4473770bcc3df8515fJosh Gao pass 270a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 280a8c90248264a8b26970b4473770bcc3df8515fJosh Gaoclass StreamReader(Codec,codecs.StreamReader): 290a8c90248264a8b26970b4473770bcc3df8515fJosh Gao pass 300a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 310a8c90248264a8b26970b4473770bcc3df8515fJosh Gao### encodings module API 320a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 330a8c90248264a8b26970b4473770bcc3df8515fJosh Gaodef getregentry(): 340a8c90248264a8b26970b4473770bcc3df8515fJosh Gao return codecs.CodecInfo( 350a8c90248264a8b26970b4473770bcc3df8515fJosh Gao name='cp1254', 360a8c90248264a8b26970b4473770bcc3df8515fJosh Gao encode=Codec().encode, 370a8c90248264a8b26970b4473770bcc3df8515fJosh Gao decode=Codec().decode, 380a8c90248264a8b26970b4473770bcc3df8515fJosh Gao incrementalencoder=IncrementalEncoder, 390a8c90248264a8b26970b4473770bcc3df8515fJosh Gao incrementaldecoder=IncrementalDecoder, 400a8c90248264a8b26970b4473770bcc3df8515fJosh Gao streamreader=StreamReader, 410a8c90248264a8b26970b4473770bcc3df8515fJosh Gao streamwriter=StreamWriter, 420a8c90248264a8b26970b4473770bcc3df8515fJosh Gao ) 430a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 440a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 450a8c90248264a8b26970b4473770bcc3df8515fJosh Gao### Decoding Table 460a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 470a8c90248264a8b26970b4473770bcc3df8515fJosh Gaodecoding_table = ( 480a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x00' # 0x00 -> NULL 490a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x01' # 0x01 -> START OF HEADING 500a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x02' # 0x02 -> START OF TEXT 510a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x03' # 0x03 -> END OF TEXT 520a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x04' # 0x04 -> END OF TRANSMISSION 530a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x05' # 0x05 -> ENQUIRY 540a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x06' # 0x06 -> ACKNOWLEDGE 550a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x07' # 0x07 -> BELL 560a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x08' # 0x08 -> BACKSPACE 570a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\t' # 0x09 -> HORIZONTAL TABULATION 580a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\n' # 0x0A -> LINE FEED 590a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x0b' # 0x0B -> VERTICAL TABULATION 600a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x0c' # 0x0C -> FORM FEED 610a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\r' # 0x0D -> CARRIAGE RETURN 620a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x0e' # 0x0E -> SHIFT OUT 630a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x0f' # 0x0F -> SHIFT IN 640a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x10' # 0x10 -> DATA LINK ESCAPE 650a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x11' # 0x11 -> DEVICE CONTROL ONE 660a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x12' # 0x12 -> DEVICE CONTROL TWO 670a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x13' # 0x13 -> DEVICE CONTROL THREE 680a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x14' # 0x14 -> DEVICE CONTROL FOUR 690a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x15' # 0x15 -> NEGATIVE ACKNOWLEDGE 700a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x16' # 0x16 -> SYNCHRONOUS IDLE 710a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x17' # 0x17 -> END OF TRANSMISSION BLOCK 720a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x18' # 0x18 -> CANCEL 730a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x19' # 0x19 -> END OF MEDIUM 740a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x1a' # 0x1A -> SUBSTITUTE 750a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x1b' # 0x1B -> ESCAPE 760a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x1c' # 0x1C -> FILE SEPARATOR 770a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x1d' # 0x1D -> GROUP SEPARATOR 780a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x1e' # 0x1E -> RECORD SEPARATOR 790a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x1f' # 0x1F -> UNIT SEPARATOR 800a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u' ' # 0x20 -> SPACE 810a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'!' # 0x21 -> EXCLAMATION MARK 820a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'"' # 0x22 -> QUOTATION MARK 830a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'#' # 0x23 -> NUMBER SIGN 840a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'$' # 0x24 -> DOLLAR SIGN 850a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'%' # 0x25 -> PERCENT SIGN 860a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'&' # 0x26 -> AMPERSAND 870a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u"'" # 0x27 -> APOSTROPHE 880a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'(' # 0x28 -> LEFT PARENTHESIS 890a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u')' # 0x29 -> RIGHT PARENTHESIS 900a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'*' # 0x2A -> ASTERISK 910a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'+' # 0x2B -> PLUS SIGN 920a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u',' # 0x2C -> COMMA 930a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'-' # 0x2D -> HYPHEN-MINUS 940a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'.' # 0x2E -> FULL STOP 950a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'/' # 0x2F -> SOLIDUS 960a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'0' # 0x30 -> DIGIT ZERO 970a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'1' # 0x31 -> DIGIT ONE 980a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'2' # 0x32 -> DIGIT TWO 990a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'3' # 0x33 -> DIGIT THREE 1000a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'4' # 0x34 -> DIGIT FOUR 1010a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'5' # 0x35 -> DIGIT FIVE 1020a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'6' # 0x36 -> DIGIT SIX 1030a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'7' # 0x37 -> DIGIT SEVEN 1040a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'8' # 0x38 -> DIGIT EIGHT 1050a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'9' # 0x39 -> DIGIT NINE 1060a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u':' # 0x3A -> COLON 1070a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u';' # 0x3B -> SEMICOLON 1080a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'<' # 0x3C -> LESS-THAN SIGN 1090a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'=' # 0x3D -> EQUALS SIGN 1100a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'>' # 0x3E -> GREATER-THAN SIGN 1110a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'?' # 0x3F -> QUESTION MARK 1120a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'@' # 0x40 -> COMMERCIAL AT 1130a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'A' # 0x41 -> LATIN CAPITAL LETTER A 1140a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'B' # 0x42 -> LATIN CAPITAL LETTER B 1150a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'C' # 0x43 -> LATIN CAPITAL LETTER C 1160a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'D' # 0x44 -> LATIN CAPITAL LETTER D 1170a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'E' # 0x45 -> LATIN CAPITAL LETTER E 1180a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'F' # 0x46 -> LATIN CAPITAL LETTER F 1190a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'G' # 0x47 -> LATIN CAPITAL LETTER G 1200a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'H' # 0x48 -> LATIN CAPITAL LETTER H 1210a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'I' # 0x49 -> LATIN CAPITAL LETTER I 1220a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'J' # 0x4A -> LATIN CAPITAL LETTER J 1230a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'K' # 0x4B -> LATIN CAPITAL LETTER K 1240a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'L' # 0x4C -> LATIN CAPITAL LETTER L 1250a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'M' # 0x4D -> LATIN CAPITAL LETTER M 1260a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'N' # 0x4E -> LATIN CAPITAL LETTER N 1270a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'O' # 0x4F -> LATIN CAPITAL LETTER O 1280a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'P' # 0x50 -> LATIN CAPITAL LETTER P 1290a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'Q' # 0x51 -> LATIN CAPITAL LETTER Q 1300a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'R' # 0x52 -> LATIN CAPITAL LETTER R 1310a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'S' # 0x53 -> LATIN CAPITAL LETTER S 1320a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'T' # 0x54 -> LATIN CAPITAL LETTER T 1330a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'U' # 0x55 -> LATIN CAPITAL LETTER U 1340a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'V' # 0x56 -> LATIN CAPITAL LETTER V 1350a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'W' # 0x57 -> LATIN CAPITAL LETTER W 1360a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'X' # 0x58 -> LATIN CAPITAL LETTER X 1370a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'Y' # 0x59 -> LATIN CAPITAL LETTER Y 1380a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'Z' # 0x5A -> LATIN CAPITAL LETTER Z 1390a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'[' # 0x5B -> LEFT SQUARE BRACKET 1400a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\\' # 0x5C -> REVERSE SOLIDUS 1410a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u']' # 0x5D -> RIGHT SQUARE BRACKET 1420a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'^' # 0x5E -> CIRCUMFLEX ACCENT 1430a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'_' # 0x5F -> LOW LINE 1440a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'`' # 0x60 -> GRAVE ACCENT 1450a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'a' # 0x61 -> LATIN SMALL LETTER A 1460a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'b' # 0x62 -> LATIN SMALL LETTER B 1470a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'c' # 0x63 -> LATIN SMALL LETTER C 1480a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'd' # 0x64 -> LATIN SMALL LETTER D 1490a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'e' # 0x65 -> LATIN SMALL LETTER E 1500a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'f' # 0x66 -> LATIN SMALL LETTER F 1510a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'g' # 0x67 -> LATIN SMALL LETTER G 1520a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'h' # 0x68 -> LATIN SMALL LETTER H 1530a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'i' # 0x69 -> LATIN SMALL LETTER I 1540a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'j' # 0x6A -> LATIN SMALL LETTER J 1550a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'k' # 0x6B -> LATIN SMALL LETTER K 1560a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'l' # 0x6C -> LATIN SMALL LETTER L 1570a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'm' # 0x6D -> LATIN SMALL LETTER M 1580a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'n' # 0x6E -> LATIN SMALL LETTER N 1590a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'o' # 0x6F -> LATIN SMALL LETTER O 1600a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'p' # 0x70 -> LATIN SMALL LETTER P 1610a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'q' # 0x71 -> LATIN SMALL LETTER Q 1620a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'r' # 0x72 -> LATIN SMALL LETTER R 1630a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u's' # 0x73 -> LATIN SMALL LETTER S 1640a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u't' # 0x74 -> LATIN SMALL LETTER T 1650a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'u' # 0x75 -> LATIN SMALL LETTER U 1660a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'v' # 0x76 -> LATIN SMALL LETTER V 1670a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'w' # 0x77 -> LATIN SMALL LETTER W 1680a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'x' # 0x78 -> LATIN SMALL LETTER X 1690a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'y' # 0x79 -> LATIN SMALL LETTER Y 1700a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'z' # 0x7A -> LATIN SMALL LETTER Z 1710a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'{' # 0x7B -> LEFT CURLY BRACKET 1720a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'|' # 0x7C -> VERTICAL LINE 1730a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'}' # 0x7D -> RIGHT CURLY BRACKET 1740a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'~' # 0x7E -> TILDE 1750a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\x7f' # 0x7F -> DELETE 1760a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u20ac' # 0x80 -> EURO SIGN 1770a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\ufffe' # 0x81 -> UNDEFINED 1780a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u201a' # 0x82 -> SINGLE LOW-9 QUOTATION MARK 1790a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u0192' # 0x83 -> LATIN SMALL LETTER F WITH HOOK 1800a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u201e' # 0x84 -> DOUBLE LOW-9 QUOTATION MARK 1810a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u2026' # 0x85 -> HORIZONTAL ELLIPSIS 1820a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u2020' # 0x86 -> DAGGER 1830a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u2021' # 0x87 -> DOUBLE DAGGER 1840a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u02c6' # 0x88 -> MODIFIER LETTER CIRCUMFLEX ACCENT 1850a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u2030' # 0x89 -> PER MILLE SIGN 1860a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u0160' # 0x8A -> LATIN CAPITAL LETTER S WITH CARON 1870a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u2039' # 0x8B -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK 1880a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u0152' # 0x8C -> LATIN CAPITAL LIGATURE OE 1890a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\ufffe' # 0x8D -> UNDEFINED 1900a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\ufffe' # 0x8E -> UNDEFINED 1910a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\ufffe' # 0x8F -> UNDEFINED 1920a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\ufffe' # 0x90 -> UNDEFINED 1930a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u2018' # 0x91 -> LEFT SINGLE QUOTATION MARK 1940a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u2019' # 0x92 -> RIGHT SINGLE QUOTATION MARK 1950a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u201c' # 0x93 -> LEFT DOUBLE QUOTATION MARK 1960a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u201d' # 0x94 -> RIGHT DOUBLE QUOTATION MARK 1970a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u2022' # 0x95 -> BULLET 1980a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u2013' # 0x96 -> EN DASH 1990a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u2014' # 0x97 -> EM DASH 2000a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u02dc' # 0x98 -> SMALL TILDE 2010a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u2122' # 0x99 -> TRADE MARK SIGN 2020a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u0161' # 0x9A -> LATIN SMALL LETTER S WITH CARON 2030a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u203a' # 0x9B -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK 2040a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u0153' # 0x9C -> LATIN SMALL LIGATURE OE 2050a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\ufffe' # 0x9D -> UNDEFINED 2060a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\ufffe' # 0x9E -> UNDEFINED 2070a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u0178' # 0x9F -> LATIN CAPITAL LETTER Y WITH DIAERESIS 2080a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xa0' # 0xA0 -> NO-BREAK SPACE 2090a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xa1' # 0xA1 -> INVERTED EXCLAMATION MARK 2100a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xa2' # 0xA2 -> CENT SIGN 2110a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xa3' # 0xA3 -> POUND SIGN 2120a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xa4' # 0xA4 -> CURRENCY SIGN 2130a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xa5' # 0xA5 -> YEN SIGN 2140a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xa6' # 0xA6 -> BROKEN BAR 2150a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xa7' # 0xA7 -> SECTION SIGN 2160a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xa8' # 0xA8 -> DIAERESIS 2170a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xa9' # 0xA9 -> COPYRIGHT SIGN 2180a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xaa' # 0xAA -> FEMININE ORDINAL INDICATOR 2190a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xab' # 0xAB -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK 2200a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xac' # 0xAC -> NOT SIGN 2210a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xad' # 0xAD -> SOFT HYPHEN 2220a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xae' # 0xAE -> REGISTERED SIGN 2230a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xaf' # 0xAF -> MACRON 2240a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xb0' # 0xB0 -> DEGREE SIGN 2250a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xb1' # 0xB1 -> PLUS-MINUS SIGN 2260a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xb2' # 0xB2 -> SUPERSCRIPT TWO 2270a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xb3' # 0xB3 -> SUPERSCRIPT THREE 2280a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xb4' # 0xB4 -> ACUTE ACCENT 2290a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xb5' # 0xB5 -> MICRO SIGN 2300a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xb6' # 0xB6 -> PILCROW SIGN 2310a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xb7' # 0xB7 -> MIDDLE DOT 2320a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xb8' # 0xB8 -> CEDILLA 2330a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xb9' # 0xB9 -> SUPERSCRIPT ONE 2340a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xba' # 0xBA -> MASCULINE ORDINAL INDICATOR 2350a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xbb' # 0xBB -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK 2360a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xbc' # 0xBC -> VULGAR FRACTION ONE QUARTER 2370a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xbd' # 0xBD -> VULGAR FRACTION ONE HALF 2380a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xbe' # 0xBE -> VULGAR FRACTION THREE QUARTERS 2390a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xbf' # 0xBF -> INVERTED QUESTION MARK 2400a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xc0' # 0xC0 -> LATIN CAPITAL LETTER A WITH GRAVE 2410a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xc1' # 0xC1 -> LATIN CAPITAL LETTER A WITH ACUTE 2420a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xc2' # 0xC2 -> LATIN CAPITAL LETTER A WITH CIRCUMFLEX 2430a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xc3' # 0xC3 -> LATIN CAPITAL LETTER A WITH TILDE 2440a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xc4' # 0xC4 -> LATIN CAPITAL LETTER A WITH DIAERESIS 2450a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xc5' # 0xC5 -> LATIN CAPITAL LETTER A WITH RING ABOVE 2460a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xc6' # 0xC6 -> LATIN CAPITAL LETTER AE 2470a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xc7' # 0xC7 -> LATIN CAPITAL LETTER C WITH CEDILLA 2480a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xc8' # 0xC8 -> LATIN CAPITAL LETTER E WITH GRAVE 2490a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xc9' # 0xC9 -> LATIN CAPITAL LETTER E WITH ACUTE 2500a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xca' # 0xCA -> LATIN CAPITAL LETTER E WITH CIRCUMFLEX 2510a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xcb' # 0xCB -> LATIN CAPITAL LETTER E WITH DIAERESIS 2520a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xcc' # 0xCC -> LATIN CAPITAL LETTER I WITH GRAVE 2530a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xcd' # 0xCD -> LATIN CAPITAL LETTER I WITH ACUTE 2540a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xce' # 0xCE -> LATIN CAPITAL LETTER I WITH CIRCUMFLEX 2550a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xcf' # 0xCF -> LATIN CAPITAL LETTER I WITH DIAERESIS 2560a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u011e' # 0xD0 -> LATIN CAPITAL LETTER G WITH BREVE 2570a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xd1' # 0xD1 -> LATIN CAPITAL LETTER N WITH TILDE 2580a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xd2' # 0xD2 -> LATIN CAPITAL LETTER O WITH GRAVE 2590a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xd3' # 0xD3 -> LATIN CAPITAL LETTER O WITH ACUTE 2600a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xd4' # 0xD4 -> LATIN CAPITAL LETTER O WITH CIRCUMFLEX 2610a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xd5' # 0xD5 -> LATIN CAPITAL LETTER O WITH TILDE 2620a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xd6' # 0xD6 -> LATIN CAPITAL LETTER O WITH DIAERESIS 2630a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xd7' # 0xD7 -> MULTIPLICATION SIGN 2640a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xd8' # 0xD8 -> LATIN CAPITAL LETTER O WITH STROKE 2650a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xd9' # 0xD9 -> LATIN CAPITAL LETTER U WITH GRAVE 2660a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xda' # 0xDA -> LATIN CAPITAL LETTER U WITH ACUTE 2670a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xdb' # 0xDB -> LATIN CAPITAL LETTER U WITH CIRCUMFLEX 2680a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xdc' # 0xDC -> LATIN CAPITAL LETTER U WITH DIAERESIS 2690a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u0130' # 0xDD -> LATIN CAPITAL LETTER I WITH DOT ABOVE 2700a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u015e' # 0xDE -> LATIN CAPITAL LETTER S WITH CEDILLA 2710a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xdf' # 0xDF -> LATIN SMALL LETTER SHARP S 2720a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xe0' # 0xE0 -> LATIN SMALL LETTER A WITH GRAVE 2730a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xe1' # 0xE1 -> LATIN SMALL LETTER A WITH ACUTE 2740a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xe2' # 0xE2 -> LATIN SMALL LETTER A WITH CIRCUMFLEX 2750a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xe3' # 0xE3 -> LATIN SMALL LETTER A WITH TILDE 2760a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xe4' # 0xE4 -> LATIN SMALL LETTER A WITH DIAERESIS 2770a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xe5' # 0xE5 -> LATIN SMALL LETTER A WITH RING ABOVE 2780a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xe6' # 0xE6 -> LATIN SMALL LETTER AE 2790a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xe7' # 0xE7 -> LATIN SMALL LETTER C WITH CEDILLA 2800a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xe8' # 0xE8 -> LATIN SMALL LETTER E WITH GRAVE 2810a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xe9' # 0xE9 -> LATIN SMALL LETTER E WITH ACUTE 2820a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xea' # 0xEA -> LATIN SMALL LETTER E WITH CIRCUMFLEX 2830a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xeb' # 0xEB -> LATIN SMALL LETTER E WITH DIAERESIS 2840a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xec' # 0xEC -> LATIN SMALL LETTER I WITH GRAVE 2850a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xed' # 0xED -> LATIN SMALL LETTER I WITH ACUTE 2860a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xee' # 0xEE -> LATIN SMALL LETTER I WITH CIRCUMFLEX 2870a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xef' # 0xEF -> LATIN SMALL LETTER I WITH DIAERESIS 2880a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u011f' # 0xF0 -> LATIN SMALL LETTER G WITH BREVE 2890a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xf1' # 0xF1 -> LATIN SMALL LETTER N WITH TILDE 2900a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xf2' # 0xF2 -> LATIN SMALL LETTER O WITH GRAVE 2910a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xf3' # 0xF3 -> LATIN SMALL LETTER O WITH ACUTE 2920a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xf4' # 0xF4 -> LATIN SMALL LETTER O WITH CIRCUMFLEX 2930a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xf5' # 0xF5 -> LATIN SMALL LETTER O WITH TILDE 2940a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xf6' # 0xF6 -> LATIN SMALL LETTER O WITH DIAERESIS 2950a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xf7' # 0xF7 -> DIVISION SIGN 2960a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xf8' # 0xF8 -> LATIN SMALL LETTER O WITH STROKE 2970a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xf9' # 0xF9 -> LATIN SMALL LETTER U WITH GRAVE 2980a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xfa' # 0xFA -> LATIN SMALL LETTER U WITH ACUTE 2990a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xfb' # 0xFB -> LATIN SMALL LETTER U WITH CIRCUMFLEX 3000a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xfc' # 0xFC -> LATIN SMALL LETTER U WITH DIAERESIS 3010a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u0131' # 0xFD -> LATIN SMALL LETTER DOTLESS I 3020a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\u015f' # 0xFE -> LATIN SMALL LETTER S WITH CEDILLA 3030a8c90248264a8b26970b4473770bcc3df8515fJosh Gao u'\xff' # 0xFF -> LATIN SMALL LETTER Y WITH DIAERESIS 3040a8c90248264a8b26970b4473770bcc3df8515fJosh Gao) 3050a8c90248264a8b26970b4473770bcc3df8515fJosh Gao 3060a8c90248264a8b26970b4473770bcc3df8515fJosh Gao### Encoding table 3070a8c90248264a8b26970b4473770bcc3df8515fJosh Gaoencoding_table=codecs.charmap_build(decoding_table) 308