消息 [204998]
"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:54 | vstinner | 修改 | recipients:
+ vstinner, deleted250130 |
| 2013-12-02 11:14:54 | vstinner | 修改 | messageid: <1385982894.09.0.140392910897.issue19847@psf.upfronthosting.co.za> |
| 2013-12-02 11:14:54 | vstinner | 链接 | issue19847 messages |
| 2013-12-02 11:14:53 | vstinner | 创建 | |
|