summaryrefslogtreecommitdiffstats
path: root/Tools/i18n/makelocalealias.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-10-01 21:11:21 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-10-01 21:11:21 (GMT)
commitc383ad8d9c3a7866ea27667f14ffa99f18e905a3 (patch)
treedd6920e8945e2f964604a0d1c5bb1cd98eee356e /Tools/i18n/makelocalealias.py
parent20df057690048a46e78fd179f28c9b41b066c0fb (diff)
parent1de0ba2cf57a2c0f18a1ef4da0641bf9b073ba1e (diff)
downloadcpython-c383ad8d9c3a7866ea27667f14ffa99f18e905a3.zip
cpython-c383ad8d9c3a7866ea27667f14ffa99f18e905a3.tar.gz
cpython-c383ad8d9c3a7866ea27667f14ffa99f18e905a3.tar.bz2
Issue #20076: Added non derived UTF-8 aliases to locale aliases table.
The makelocalealias.py script no longer ignores UTF-8 mapping.
Diffstat (limited to 'Tools/i18n/makelocalealias.py')
-rwxr-xr-xTools/i18n/makelocalealias.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Tools/i18n/makelocalealias.py b/Tools/i18n/makelocalealias.py
index ca69daa..980465b 100755
--- a/Tools/i18n/makelocalealias.py
+++ b/Tools/i18n/makelocalealias.py
@@ -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