Bug 75220

Summary: be_BY.UTF-8@latin and sr_RS.UTF-8@ latin should be added to locale.dir
Product: xorg Reporter: Mike FABIAN <mike.fabian>
Component: Lib/Xlib (data)Assignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: cloos
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
0002-add-be_BY.UTF-8-latin-and-sr_RS.UTF-8-latin-to-local.patch none

Description Mike FABIAN 2014-02-19 17:58:40 UTC
Created attachment 94374 [details]
0002-add-be_BY.UTF-8-latin-and-sr_RS.UTF-8-latin-to-local.patch

See also: https://bugzilla.redhat.com/show_bug.cgi?id=1066910

glibc has these locales for Serbian in Latin script:

    mfabian@ari:~
    $ locale -a | grep ^sr.*latin
    sr_RS.utf8@latin
    sr_RS@latin
    mfabian@ari:~
    $ LC_ALL=sr_RS.UTF-8@latin locale charmap
    UTF-8
    mfabian@ari:~
    $ LC_ALL=sr_RS@latin locale charmap
    UTF-8
    mfabian@ari:~
    $ 

Both UTF-8. But they are not supported by Xlib:

    mfabian@ari:~
    $ LANG=sr_RS@latin xterm
    Warning: locale not supported by Xlib, locale set to C
    mfabian@ari:~
    $ LANG=sr_RS@latin xmms
    
    Gdk-WARNING **: locale not supported by Xlib, locale set to C
    Message: device: default
    
    mfabian@ari:~
    $ LANG=sr_RS.UTF-8@latin xterm
    Warning: locale not supported by Xlib, locale set to C
    mfabian@ari:~
    $ LANG=sr_RS.UTF-8@latin xmms
    
    Gdk-WARNING **: locale not supported by Xlib, locale set to C
    Message: device: default
    mfabian@ari:~
    $
Comment 1 Mike FABIAN 2014-02-19 17:59:02 UTC
I checked current git master.
Comment 2 Mike FABIAN 2015-04-20 10:08:07 UTC
This problem still exists in current git master.
Comment 3 James Cloos 2015-04-20 14:45:07 UTC
Thanks.

Pushed as c64fe5553aa4738f9d1d74a795f5651fbb7b1b09.

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.