Correct mapping of Python codec name to C encoding name for UTF-8 (the C lib
doesn't seem to like "UTF-8").
Removed the UTF-8 aliases since these should be available for all locales.
diff --git a/Tools/i18n/makelocalealias.py b/Tools/i18n/makelocalealias.py
index a52bc28..743185b 100644
--- a/Tools/i18n/makelocalealias.py
+++ b/Tools/i18n/makelocalealias.py
@@ -37,6 +37,10 @@
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