消息 [117272]
>It is not possible to set Py_FilesystemDefaultEncoding before loading
>the first module. initfsencoding() loads codecs and encodings modules to
>check the codec name.
Not sure it's related, but there seems to be a bug:
$ ./python -c "import sys; print(sys.getfilesystemencoding())"
utf-8
$ LC_CTYPE=latin1 ./python -c "import sys; print(sys.getfilesystemencoding())"
ascii
$ LC_CTYPE=fr_FR:iso8859-1 ./python -c "import sys; print(sys.getfilesystemencoding())"
ascii |
|
| 日期 |
用户 |
动作 |
参数 |
| 2010-09-24 12:08:33 | pitrou | 修改 | recipients:
+ pitrou, lemburg, amaury.forgeotdarc, vstinner, Arfrever |
| 2010-09-24 12:08:33 | pitrou | 修改 | messageid: <1285330113.79.0.0115943788085.issue9630@psf.upfronthosting.co.za> |
| 2010-09-24 12:08:28 | pitrou | 链接 | issue9630 messages |
| 2010-09-24 12:08:27 | pitrou | 创建 | |
|