Benjamin Wood <ben.bt.w...@gmail.com> added the comment:

>From what I can tell

cp874 != ibm_874 != iso_8859_11

What I can say is that the current cp874 is the implementation of the 
windows_874 code page. The page itself references the microsoft code page, and 
also contains the appropriate characters (like EURO SIGN).

https://github.com/python/cpython/blob/master/Lib/encodings/cp874.py
""" Python Character Mapping Codec cp874 generated from 
'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP874.TXT' with gencodec.py.

https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP874.TXT

It seems appropriate to at least alias windows_874 with cp874. They are 
provably the same.

If someone needs the IBM standard, they may have to write a different code page.

----------
nosy: +Benjamin Wood

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

Reply via email to