STINNER Victor <vstin...@redhat.com> added the comment:
I wrote C and Python code to check what is the effective encoding used by the LC_CTYPE locale before setlocale(LC_CTYPE, "") is called on Python 3.7. Result: Windows uses the Latin1 encoding. See attached files: _testcapi.patch + loc.py produced loc.log (output). ---------- Added file: https://bugs.python.org/file48187/loc.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue29571> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com