Sébastien Sablé <sa...@users.sourceforge.net> added the comment: $ LANG=C ./python -Wd -E -bb -c "import sys; print(ascii(sys.argv))" $(echo -ne "abc\xff")['-c', 'abc\xff'] ['-c', 'abc\xff'] $ LANG=C ./python -Wd -E -bb -c "import locale; print(locale.nl_langinfo(locale.CODESET))" ISO8859-1 $ LANG=C ./python -Wd -E -bb -c "import locale; print(locale.getpreferredencoding())" ISO8859-1
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11193> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com