➜

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.

作者 vstinner
收信人 deleted250130, vstinner
日期 2013-12-02.11:14:53
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1385982894.09.0.140392910897.issue19847@psf.upfronthosting.co.za>
In-reply-to
内容
"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".
历史
日期 用户 动作 参数
2013-12-02 11:14:54vstinner修改recipients: + vstinner, deleted250130
2013-12-02 11:14:54vstinner修改messageid: <1385982894.09.0.140392910897.issue19847@psf.upfronthosting.co.za>
2013-12-02 11:14:54vstinner链接issue19847 messages
2013-12-02 11:14:53vstinner创建