[Python-ideas] [issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"
Ronald Oussoren
ronaldoussoren at mac.com
Sun Jun 17 14:29:41 EDT 2018
> On 17 Jun 2018, at 14:02, Stephen J. Turnbull <turnbull.stephen.fw at u.tsukuba.ac.jp> wrote:
>
> Folks. There are standards. "1252" *is not* an alias for
> "windows-1252" according to the IANA, while "866" *is* an alias for
> "IBM866" according to the same authority. Most 3-digit "IBMxxx" ARE
> aliased to both "cpxxx" and just "xxx", but not all. None of
> "IBM874", "874", or "cp874" exists according to the IANA.
Sure, but for at least one user Python 3.6 fails to start because initialising the sys.std* streams fails due to not finding a “874” encoding.
The user sadly enough didn’t provide more information on his machine, other than that it is running some version of Windows.
BTW. “cp874” does exist according to the unicode consortium: https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP874.TXT <https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP874.TXT>, and appears to be a codepage for a (the?) Thai language. The user might therefore be running Windows with a Thai locale.
Ronald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180617/6fd0e329/attachment.html>
More information about the Python-ideas
mailing list