Message71771
The provided file does not work for "EXTENSION" characters:
>>> import ia5
>>> u"[a]".encode("ia5")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "ia5.py", line 18, in encode
return codecs.charmap_encode(input,errors,encoding_map)
TypeError: character mapping must be in range(256)
I doubt this can be achieved with just a charmap. You will have to roll
your own incremental stateful decoder.
Are you willing to do it? |
|
Date |
User |
Action |
Args |
2008-08-22 19:20:26 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, pascal.bach |
2008-08-22 19:20:26 | amaury.forgeotdarc | set | messageid: <1219432826.07.0.0629579268657.issue3649@psf.upfronthosting.co.za> |
2008-08-22 19:20:25 | amaury.forgeotdarc | link | issue3649 messages |
2008-08-22 19:20:25 | amaury.forgeotdarc | create | |
|