mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
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.
This commit is contained in:
parent
bfbd1a2fd4
commit
372954e059
2 changed files with 4 additions and 1 deletions
|
@ -621,7 +621,7 @@ locale_encoding_alias = {
|
|||
'tactis': 'TACTIS',
|
||||
'euc_jp': 'eucJP',
|
||||
'euc_kr': 'eucKR',
|
||||
'utf_8': 'UTF8',
|
||||
'utf_8': 'UTF-8',
|
||||
'koi8_r': 'KOI8-R',
|
||||
'koi8_u': 'KOI8-U',
|
||||
# XXX This list is still incomplete. If you know more
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue