-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
Add UTF-8 locale aliases #64275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The makelocalealias.py ignores UTF-8 mapping. Expected that this encoding is available for all locales. After enabling UTF-8 mapping in makelocalealias.py most aliases are optimized out except following: + 'be_bg.utf8': 'bg_BG.UTF-8', Some of them maps to other country (en_zw.utf8 to en_ZS.UTF-8, sr_yu.utf8 to sr_RS.UTF-8) and these mappings are different from base mappings (en_zw to en_ZW.ISO8859-1, sr_yu to sr_RS.UTF-8@latin). The devanagari mappings just maps illformed locales. c.utf8 is yet one special case. Other mappings have no base entity without encoding. Here is a patch which enables UTF-8 mapping in makelocalealias.py and adds all these mappings to locale alias table. |
Thanks, Serhiy The patch looks good. Please apply. |
After applying patch from bpo-20079, pa_pk.utf8, te_in.utf8, and zh_sg.utf8 are eliminated from this patch. |
New changeset c4284fa75ec7 by Serhiy Storchaka in branch '2.7': New changeset 3bff73df6dab by Serhiy Storchaka in branch '3.4': New changeset 301b9a58021c by Serhiy Storchaka in branch 'default': |
New changeset 840af1a073f7 by Serhiy Storchaka in branch '2.7': New changeset ed92f06cdd8b by Serhiy Storchaka in branch '3.4': New changeset aa169e6d2e15 by Serhiy Storchaka in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: