[issue20076] Add UTF-8 locale aliases
Roundup Robot added the comment: New changeset 840af1a073f7 by Serhiy Storchaka in branch '2.7': Issue #20076: Remove just added the sr_rs.utf8@latn alias because it is https://hg.python.org/cpython/rev/840af1a073f7 New changeset ed92f06cdd8b by Serhiy Storchaka in branch '3.4': Issue #20076: Remove just added the sr_rs.utf8@latn alias because it is https://hg.python.org/cpython/rev/ed92f06cdd8b New changeset aa169e6d2e15 by Serhiy Storchaka in branch 'default': Issue #20076: Apply optimization in makelocalealias.py repeatedly. https://hg.python.org/cpython/rev/aa169e6d2e15 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20076 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20076] Add UTF-8 locale aliases
Marc-Andre Lemburg added the comment: Thanks, Serhiy The patch looks good. Please apply. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20076 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20076] Add UTF-8 locale aliases
Serhiy Storchaka added the comment: After applying patch from issue20079, pa_pk.utf8, te_in.utf8, and zh_sg.utf8 are eliminated from this patch. -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20076 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20076] Add UTF-8 locale aliases
Roundup Robot added the comment: New changeset c4284fa75ec7 by Serhiy Storchaka in branch '2.7': Issue #20076: Added non derived UTF-8 aliases to locale aliases table. https://hg.python.org/cpython/rev/c4284fa75ec7 New changeset 3bff73df6dab by Serhiy Storchaka in branch '3.4': Issue #20076: Added non derived UTF-8 aliases to locale aliases table. https://hg.python.org/cpython/rev/3bff73df6dab New changeset 301b9a58021c by Serhiy Storchaka in branch 'default': Issue #20076: Added non derived UTF-8 aliases to locale aliases table. https://hg.python.org/cpython/rev/301b9a58021c -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20076 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20076] Add UTF-8 locale aliases
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20076 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20076] Add UTF-8 locale aliases
Changes by Serhiy Storchaka storch...@gmail.com: -- versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20076 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20076] Add UTF-8 locale aliases
New submission from Serhiy Storchaka: 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', +'c.utf8': 'en_US.UTF-8', +'en_dl.utf8': 'en_DL.UTF-8', +'en_zw.utf8': 'en_ZS.UTF-8', +'ks_in@devanagari.utf8':'ks_IN.UTF-8@devanagari', +'pa_pk.utf8': 'pa_PK.UTF-8', +'sd_in@devanagari.utf8':'sd_IN.UTF-8@devanagari', +'sr_yu.utf8': 'sr_RS.UTF-8', +'sr_yu.utf8@cyrillic': 'sr_RS.UTF-8', +'te_in.utf8': 'te_IN.UTF-8', +'zh_sg.utf8': 'zh_SG.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. -- components: Library (Lib) files: locale_utf8_aliases.patch keywords: patch messages: 206974 nosy: lemburg, loewis, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Add UTF-8 locale aliases type: enhancement versions: Python 2.7, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file33275/locale_utf8_aliases.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20076 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20076] Add UTF-8 locale aliases
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20076 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com