Serhiy Storchaka added the comment:

The cp500 codec in Python is generated from the table 
ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/EBCDIC/CP500.TXT .

There are several EBCDIC code pages. EBCDIC-compatible encodings supported in 
Python are: cp037, cp273, cp424, cp500, cp875, cp1026 and cp1140. Three of 
them, cp037, cp424 and cp1140, encode '!' to b'\x5A' and '|' to b'\x4F'.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30586>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to