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.

作者 loewis
收信人 Arfrever, lemburg, loewis, pitrou, r.david.murray, sdaoden, vstinner
日期 2012-06-05.05:37:22
SpamBayes Score -1.0
Marked as misclassified
Message-id <1338874643.0.0.0361940629538.issue11022@psf.upfronthosting.co.za>
In-reply-to
内容
I think it's absolutely necessary that text files, by default, are opened in the encoding of the user's locale, whether the script has called setlocale or not.

There are reasons for C to not automatically call setlocale at startup (mostly backwards compatibility), but they don't apply to Python.
历史
日期 用户 动作 参数
2012-06-05 05:37:23loewis修改recipients: + loewis, lemburg, pitrou, vstinner, Arfrever, r.david.murray, sdaoden
2012-06-05 05:37:23loewis修改messageid: <1338874643.0.0.0361940629538.issue11022@psf.upfronthosting.co.za>
2012-06-05 05:37:22loewis链接issue11022 messages
2012-06-05 05:37:22loewis创建