[issue28712] Non-Windows mappings for a couple of Windows code pages
Serhiy Storchaka
report at bugs.python.org
Wed Nov 16 14:37:39 EST 2016
Serhiy Storchaka added the comment:
Thanks Eryk. Could you please run following script and attach the output?
import codecs
codepages = [424, 856, 857, 864, 869, 874, 932, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1257, 1258]
for cp in codepages:
table = []
for i in range(256):
try:
c = codecs.code_page_decode(cp, bytes([i]), None, True)
except Exception:
c = None
table.append(c)
print(cp, ascii(table))
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28712>
_______________________________________
More information about the Python-bugs-list
mailing list