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 koobs, ncoghlan, vstinner
Date 2018-11-23.11:48:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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
Date User Action Args
2018-11-23 11:48:30vstinnersetrecipients: + vstinner, ncoghlan, koobs
2018-11-23 11:48:30vstinnersetmessageid: <>
2018-11-23 11:48:30vstinnerlinkissue35290 messages
2018-11-23 11:48:30vstinnercreate