STINNER Victor <victor.stin...@haypocalc.com> added the comment: > Perhaps. We could also declare that command line arguments and > environment variables are always UTF-8-encoded on OSX (which I think > would be fairly accurate)
Python uses the filesystem encoding to encode/decode environment variables, and OSX, fs encoding is utf-8. For the command line, it would mean that we introduced a new encoding: "command line encoding", which will be utf-8 on OSX. ---------- title: Command line arguments are not correctly decodedif locale and fileystem encodings aredifferent -> Command line arguments are not correctly decodediflocale and fileystem encodingsaredifferent _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9992> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com