[issue34347] AIX: test_utf8_mode.test_cmd_line fails

STINNER Victor report at bugs.python.org
Thu Aug 23 06:51:30 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

Your issue is about decoding command line argument which is done from main() function. It doesn't use Python codecs, but functions like Py_DecodeLocale().

> Question 1: why is windows excluded? Because it does not use UTF-8 as it's default (it's default is CP1252)

Windows uses wmain() which gets command line arguments as wchar_t* strings: Unicode. No decoding is needed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34347>
_______________________________________


More information about the Python-bugs-list mailing list