home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.4)
-
- """ Python Character Mapping Codec generated from '8859-16.TXT' with gencodec.py.
-
- Generated from mapping found in
- ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-16.TXT
-
- """
- import codecs
-
- class Codec(codecs.Codec):
-
- def encode(self, input, errors = 'strict'):
- return codecs.charmap_encode(input, errors, encoding_map)
-
-
- def decode(self, input, errors = 'strict'):
- return codecs.charmap_decode(input, errors, decoding_map)
-
-
-
- class StreamWriter(Codec, codecs.StreamWriter):
- pass
-
-
- class StreamReader(Codec, codecs.StreamReader):
- pass
-
-
- def getregentry():
- return (Codec().encode, Codec().decode, StreamReader, StreamWriter)
-
- decoding_map = codecs.make_identity_dict(range(256))
- decoding_map.update({
- 161: 260,
- 162: 261,
- 163: 321,
- 164: 8364,
- 165: 8222,
- 166: 352,
- 168: 353,
- 170: 536,
- 172: 377,
- 174: 378,
- 175: 379,
- 178: 268,
- 179: 322,
- 180: 381,
- 181: 8221,
- 184: 382,
- 185: 269,
- 186: 537,
- 188: 338,
- 189: 339,
- 190: 376,
- 191: 380,
- 195: 258,
- 197: 262,
- 208: 272,
- 209: 323,
- 213: 336,
- 215: 346,
- 216: 368,
- 221: 280,
- 222: 538,
- 227: 259,
- 229: 263,
- 240: 273,
- 241: 324,
- 245: 337,
- 247: 347,
- 248: 369,
- 253: 281,
- 254: 539 })
- encoding_map = codecs.make_encoding_map(decoding_map)
-