This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients anthony shaw, pmpp, vstinner
Date 2018-05-02.07:50:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525247412.01.0.682650639539.issue33405@psf.upfronthosting.co.za>
In-reply-to
Content
> PYTHONCOERCECLOCALE=0 LANG=C python3.7 -c "import sys; print(sys.stdin.encoding)"

Are you aware of the PEP 540 "UTF-8 Mode"? It's also enabled automatically by the POSIX locale. If you hate UTF-8, you have to use:

PYTHONCOERCECLOCALE=0 python3.7 -X utf8=0
or
PYTHONCOERCECLOCALE=0 PYTHONUTF8=0 python3.7
History
Date User Action Args
2018-05-02 07:50:12vstinnersetrecipients: + vstinner, pmpp, anthony shaw
2018-05-02 07:50:12vstinnersetmessageid: <1525247412.01.0.682650639539.issue33405@psf.upfronthosting.co.za>
2018-05-02 07:50:11vstinnerlinkissue33405 messages
2018-05-02 07:50:11vstinnercreate