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 Sworddragon, vstinner
Date 2013-12-02.11:14:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385982894.09.0.140392910897.issue19847@psf.upfronthosting.co.za>
In-reply-to
Content
"sys.getfilesystemencoding() says for Unix: On Unix, the encoding is the user’s preference according to the result of nl_langinfo(CODESET), or 'utf-8' if nl_langinfo(CODESET) failed."

Oh, this documentation is wrong since at least Python 3.2: if nl_langinfo(CODESET) fails, Python exits immediatly with a (fatal) error.

There is no (more?) such fallback to "utf-8".
History
Date User Action Args
2013-12-02 11:14:54vstinnersetrecipients: + vstinner, Sworddragon
2013-12-02 11:14:54vstinnersetmessageid: <1385982894.09.0.140392910897.issue19847@psf.upfronthosting.co.za>
2013-12-02 11:14:54vstinnerlinkissue19847 messages
2013-12-02 11:14:53vstinnercreate