[issue16218] Python launcher does not support unicode characters

STINNER Victor report at bugs.python.org
Mon Nov 5 00:18:23 CET 2012


STINNER Victor added the comment:

> @unittest.skipIf(sys.platform.startswith('freebsd') and
>                  sys.getfilesystemencoding() == 'ascii',
>                  'skip on FreeBSD with ASCII filesystem encoding')

Such skip is not a good idea. Many OS uses the Latin1 encoding when the C locale is used (even if ASCII encoding is announced :-/): Solaris, FreeBSD, Mac OS X, etc.

pythonrun_filename_decoding_test_2.patch: 'surrogateescape' error handler is not used on Windows (and must not be used), whereas the initial issue was reported on Windows.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16218>
_______________________________________


More information about the Python-bugs-list mailing list