mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Issue #20076: Added non derived UTF-8 aliases to locale aliases table.
The makelocalealias.py script no longer ignores UTF-8 mapping.
This commit is contained in:
commit
c383ad8d9c
3 changed files with 13 additions and 4 deletions
|
@ -45,10 +45,6 @@ def parse(filename):
|
|||
encoding = encoding.replace('-', '')
|
||||
encoding = encoding.replace('_', '')
|
||||
locale = lang + '.' + encoding
|
||||
if encoding.lower() == 'utf8':
|
||||
# Ignore UTF-8 mappings - this encoding should be
|
||||
# available for all locales
|
||||
continue
|
||||
data[locale] = alias
|
||||
return data
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue