summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2011-05-17 10:44:54 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2011-05-17 10:44:54 (GMT)
commit02a67ac72be5adb37431b18c3f4b7cb060be6e16 (patch)
tree1aa59e24e240d529536068162aae0362efe809ca /Misc
parente98f177ca64de8a4ab779902a3a5926d48f035f2 (diff)
downloadcpython-02a67ac72be5adb37431b18c3f4b7cb060be6e16.zip
cpython-02a67ac72be5adb37431b18c3f4b7cb060be6e16.tar.gz
cpython-02a67ac72be5adb37431b18c3f4b7cb060be6e16.tar.bz2
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 f6eb63e..8f994b9 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -72,6 +72,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 #10756: atexit normalizes the exception before displaying it. Patch by
Andreas Stührk.