消息 [162329]
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:23 | loewis | 修改 | recipients:
+ loewis, lemburg, pitrou, vstinner, Arfrever, r.david.murray, sdaoden |
| 2012-06-05 05:37:23 | loewis | 修改 | messageid: <1338874643.0.0.0361940629538.issue11022@psf.upfronthosting.co.za> |
| 2012-06-05 05:37:22 | loewis | 链接 | issue11022 messages |
| 2012-06-05 05:37:22 | loewis | 创建 | |
|