Message128549
>>> sys.getfilesystemencoding()
'iso8859-1'
Ok, I expected this result.
Can you also try:
$ LC_ALL=C ./python -c "import sys; print(ascii(sys.argv))" $(echo -ne "abc\xff")
['-c', 'abc\udcff']
$ LC_ALL=C python3.1 -c "import locale; print(locale.nl_langinfo(locale.CODESET))"
ANSI_X3.4-1968
$ LC_ALL=C python3.1 -c "import locale; print(locale.getpreferredencoding())"
ANSI_X3.4-1968
Anyway, test_undecodable_env() is not written to support ISO-8859-1 filesystem encoding. I should patch the test to check the filesystem encoding. |
|
| Date |
User |
Action |
Args |
| 2011-02-14 14:32:25 | vstinner | set | recipients:
+ vstinner, pitrou, sable |
| 2011-02-14 14:32:25 | vstinner | set | messageid: <[email protected]> |
| 2011-02-14 14:32:22 | vstinner | link | issue11193 messages |
| 2011-02-14 14:32:22 | vstinner | create | |
|