Message117272
>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 |
|
Date |
User |
Action |
Args |
2010-09-24 12:08:33 | pitrou | set | recipients:
+ pitrou, lemburg, amaury.forgeotdarc, vstinner, Arfrever |
2010-09-24 12:08:33 | pitrou | set | messageid: <1285330113.79.0.0115943788085.issue9630@psf.upfronthosting.co.za> |
2010-09-24 12:08:28 | pitrou | link | issue9630 messages |
2010-09-24 12:08:27 | pitrou | create | |
|