]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
(merge) Fix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" instea...
authorRonald Oussoren <ronaldoussoren@mac.com>
Tue, 17 May 2011 11:03:54 +0000 (13:03 +0200)
committerRonald Oussoren <ronaldoussoren@mac.com>
Tue, 17 May 2011 11:03:54 +0000 (13:03 +0200)
commit6edd8c1faf64a118d85355159e5363bba69efe87
tree33471131519e89939d60131db959819d9f4214d3
parente5720b989f58536e027a1069401120b0f49364a2
parent02a67ac72be5adb37431b18c3f4b7cb060be6e16
(merge) 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.
Lib/locale.py
Misc/NEWS