Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Aug 28, 2018

Make the test more generic: instead of hardcoding the encoding, get
the locale encoding at runtime, and then make sure that the command
line is properly decoded from the locale encoding.

https://bugs.python.org/issue34403

Make the test more generic: instead of hardcoding the encoding, get the locale encoding at runtime, and then make sure that the command line is properly decoded from the locale encoding. Test also that the UTF-8 Mode decodes command line arguments from UTF-8 with the C locale.
@vstinner
Copy link
Member Author

Python 3 doesn't use the proper encoding on HP-UX: PR #8969 fix it, so I abandon this PR.

@vstinner vstinner closed this Aug 28, 2018
@vstinner vstinner deleted the utf8_cmd_line branch August 28, 2018 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge skip news tests Tests in the Lib/test dir

3 participants