Bug 98219

Summary: libX11-1.6.4 cs_CZ.UTF-8 locale is bad
Product: xorg Reporter: semerad
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: petr.pisar, tomi
Version: unspecifiedKeywords: patch, regression
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Fix
none
Fix none

Description semerad 2016-10-12 21:27:35 UTC
Hi,
from libX11-1.6.4 there is line:

cs_CZ.UTF-8/XLC_LOCALE   cs_CZ.UTF-8

in file nls/locale.dir.pre. But file cs_CZ.UTF-8/XLC_LOCALE is empty
and xterm shows "locale not supported by Xlib, locale set to C" and
no international characters are working.
  I think it should be returned to en_US.UTF-8/XLC_LOCALE or file
cs_CZ.UTF-8/XLC_LOCALE should contain working content. I tried the
first variant and it is working for me.

Another thing is that locale cs_CZ.UTF-8 is inluded two times in file
nls/locale.dir.pre and it was there in previous versions also.

Pavel Semerad
Comment 1 Petr Pisar 2016-10-30 12:06:01 UTC
Created attachment 127620 [details]
Fix
Comment 2 Alan Coopersmith 2016-10-30 18:59:57 UTC
That attachment does not contain a patch, just a description of what a patch
might do.
Comment 3 Petr Pisar 2016-11-01 19:50:15 UTC
Created attachment 127670 [details] [review]
Fix

I accidentally wrote the description into "File: Paste the text to be added as an attachment" form field.

The patch reverts the nls/locale.dir.pre change.
Comment 4 Jiri Slaby 2016-11-08 15:06:18 UTC

*** This bug has been marked as a duplicate of bug 81875 ***
Comment 5 Julien Cristau 2017-01-27 22:53:52 UTC
This isn't a duplicate of 81875, it's a regression caused by that bug.
Comment 6 Julien Cristau 2017-01-27 23:02:11 UTC
commit 23d9623c661694aba8cf1e8f277dffa7a86cf065
Author: Petr Písař <petr.pisar@atlas.cz>
Date:   Sun Oct 30 12:49:11 2016 +0100

    Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8


To git.freedesktop.org:/git/xorg/lib/libX11
   71b0929e..23d9623c  master -> master

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.