> On 17 Jun 2018, at 14:02, Stephen J. Turnbull > <turnbull.stephen...@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
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/