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 <1542973710.76.0.788709270274.issue35290@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-11-23 11:48:30vstinnersetrecipients: + vstinner, ncoghlan, koobs
2018-11-23 11:48:30vstinnersetmessageid: <1542973710.76.0.788709270274.issue35290@psf.upfronthosting.co.za>
2018-11-23 11:48:30vstinnerlinkissue35290 messages
2018-11-23 11:48:30vstinnercreate