[issue26928] _bootlocale imports locale at startup on Android, causing test_site to fail
STINNER Victor
report at bugs.python.org
Fri Nov 18 07:22:30 EST 2016
STINNER Victor added the comment:
If it is not possible to change the locale, it makes sense to hardcode utf8.
Note: to avoid mojibake, it's better if sys.getfilesystemencoding() and
locale.getpreferredencoding(False) are equal. I understand that both must
be utf8.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26928>
_______________________________________
More information about the Python-bugs-list
mailing list