summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-10-20 22:58:25 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-10-20 22:58:25 (GMT)
commitf933e1ab6fdea76973384e38ea95520de422c340 (patch)
tree88a9a55449b4eb3a2167630127f2b9640f678e3e /Misc
parent073f759d65118674c4c7b82f778dde44ae22c6c9 (diff)
downloadcpython-f933e1ab6fdea76973384e38ea95520de422c340.zip
cpython-f933e1ab6fdea76973384e38ea95520de422c340.tar.gz
cpython-f933e1ab6fdea76973384e38ea95520de422c340.tar.bz2
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 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 60d546f..265b881 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,12 @@ What's New in Python 3.2 Beta 1?
Core and Builtins
-----------------
+- 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.
+
- Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expects
filenames encoded to the filesystem encoding with surrogateescape error
handler (to support undecodable bytes), instead of UTF-8 in strict mode.