diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-20 22:58:25 +0000 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-20 22:58:25 +0000 |
commit | f933e1ab6fdea76973384e38ea95520de422c340 (patch) | |
tree | 88a9a55449b4eb3a2167630127f2b9640f678e3e /Python/getopt.c | |
parent | 073f759d65118674c4c7b82f778dde44ae22c6c9 (diff) | |
download | cpython-git-f933e1ab6fdea76973384e38ea95520de422c340.tar.gz |
Issue #4388: On Mac OS X, decode command line arguments from UTF-8, instead of
the locale encoding. If the LANG (and LC_ALL and LC_CTYPE) environment variable
is not set, the locale encoding is ISO-8859-1, whereas most programs (including
Python) expect UTF-8. Python already uses UTF-8 for the filesystem encoding and
to encode command line arguments on this OS.
Diffstat (limited to 'Python/getopt.c')
0 files changed, 0 insertions, 0 deletions