Bug 73098 - Mismatch between glibc and X11 locale.alias
Summary: Mismatch between glibc and X11 locale.alias
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xlib (data) (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Reported: 2013-12-28 10:37 UTC by Serhiy Storchaka
Modified: 2018-08-10 20:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description Serhiy Storchaka 2013-12-28 10:37:15 UTC
The locale.alias file includes mappings which maps locale name without encoding to locale name with encoding, but this encoding is different than default GLibc encoding for these locale. E.g. en_IN is mapped to en_IN.ISO8859-1, but the encoding of the en_IN locale in glibc is UTF-8 and en_IN.ISO8859-1 locale is not existing.

Here is full table:

             GLibc        X11 locale.alias

az_AZ        UTF-8        az_AZ.ISO8859-9E
ca_AD        ISO8859-15   ca_AD.ISO8859-1
ca_FR        ISO8859-15   ca_FR.ISO8859-1
ca_IT        ISO8859-15   ca_IT.ISO8859-1
cy_GB        ISO8859-14   cy_GB.ISO8859-1
en_IN        UTF-8        en_IN.ISO8859-1
et_EE        ISO8859-1    et_EE.ISO8859-15
fi_FI        ISO8859-1    fi_FI.ISO8859-15
gd_GB        ISO8859-15   gd_GB.ISO8859-1
hi_IN        UTF-8        hi_IN.ISCII-DEV
iu_CA        UTF-8        iu_CA.NUNACOM-8
iw_IL        ISO8859-8    he_IL.ISO8859-8
lo_LA        UTF-8        lo_LA.MULELAO-1
mi_NZ        ISO8859-13   mi_NZ.ISO8859-1
nr_ZA        UTF-8        nr_ZA.ISO8859-1
nso_ZA       UTF-8        nso_ZA.ISO8859-15
ru_RU        ISO8859-5    ru_RU.UTF-8
rw_RW        UTF-8        rw_RW.ISO8859-1
sq_AL        ISO8859-1    sq_AL.ISO8859-2
ss_ZA        UTF-8        ss_ZA.ISO8859-1
ta_IN        UTF-8        ta_IN.TSCII-0
tg_TJ        KOI8_T       tg_TJ.KOI8-C
th_TH        TIS_620      th_TH.ISO8859-11
tn_ZA        UTF-8        tn_ZA.ISO8859-15
ts_ZA        UTF-8        ts_ZA.ISO8859-1
tt_RU        UTF-8        tt_RU.TATAR-CYR
ur_PK        UTF-8        ur_PK.CP1256
uz_UZ        ISO8859-1    uz_UZ.UTF-8
vi_VN        UTF-8        vi_VN.TCVN

X11 locale.alias is used to generate mappings in Python, so this causes issues in Python (http://bugs.python.org/issue20087).
Comment 1 GitLab Migration User 2018-08-10 20:12:18 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/60.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.