[issue35290] [FreeBSD] test_c_locale_coercion doesn't support new C.UTF-8 locale of FreeBSD CURRENT

STINNER Victor report at bugs.python.org
Fri Nov 23 06:48:30 EST 2018


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

The bug is that sys.getfilesystemencoding() should be the locale encoding. On FreeBSD CURRENT, Python uses ASCII for the filesystem encoding, whereas the locale encoding is UTF-8.

CURRENT-amd64% env -i ./python -X utf8=0 -c 'import locale, sys; print(sys.getfilesystemencoding(), locale.getpreferredencoding())'
ascii UTF-8

----------

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


More information about the Python-bugs-list mailing list