Message162329
| Author |
loewis |
| Recipients |
Arfrever, lemburg, loewis, pitrou, r.david.murray, sdaoden, vstinner |
| Date |
2012年06月05日.05:37:22 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1338874643.0.0.0361940629538.issue11022@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|