diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2011-05-17 10:44:54 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2011-05-17 10:44:54 (GMT) |
commit | 02a67ac72be5adb37431b18c3f4b7cb060be6e16 (patch) | |
tree | 1aa59e24e240d529536068162aae0362efe809ca /Misc | |
parent | e98f177ca64de8a4ab779902a3a5926d48f035f2 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |