summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2011-05-17 11:22:30 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2011-05-17 11:22:30 (GMT)
commit372954e059956aab354d9abfa7fcdcaca40a6079 (patch)
treecd33015ecddf3f9c324bdbf65d7e7cdd74c46913 /Misc
parentbfbd1a2fd4f304e780d7652daf425fb473097abe (diff)
downloadcpython-372954e059956aab354d9abfa7fcdcaca40a6079.zip
cpython-372954e059956aab354d9abfa7fcdcaca40a6079.tar.gz
cpython-372954e059956aab354d9abfa7fcdcaca40a6079.tar.bz2
(backport)Fix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" instead of "UTF8"
On MacOSX and OpenBSD (and possibly other BSDs) "en_US.UTF-8" is a valid locale while "en_US.UTF8" is not. As the former works on Linux as well it is better to normalize to that value.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 23f77e5..3262205 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -80,6 +80,9 @@ Core and Builtins
Library
-------
+- Issue #10154, #10090: change the normalization of UTF-8 to "UTF-8" instead
+ of "UTF8" in the locale module as the latter is not supported MacOSX and OpenBSD.
+
- Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is
set in shell.