[issue17254] add thai encoding aliases to encodings.aliases
Benjamin Wood
report at bugs.python.org
Fri Aug 2 10:02:04 EDT 2019
Benjamin Wood <ben.bt.wood at 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 <report at bugs.python.org>
<https://bugs.python.org/issue17254>
_______________________________________
More information about the Python-bugs-list
mailing list