> For the record, this can be now reproduced under Linux by forcing different
> locale and filesystem encodings:
>
> $ PYTHONFSENCODING=utf8 LANG=ISO-8859-1 ./python -m test.regrtest
> test_cmd_line
I opened a separated issue for Linux, #9992, because some Mac OS X users say
that this issue looks like a Mac OS X bug and the fix may be different.
Extract of msg111432 (#8775): "To be honest, I'd say the behavior of OSX 10.4
is a bug and we might add a workaround on that platform that uses
CFStringGetSystemEncoding() to fetch the actual system encoding when LANG=C."