Bug 98219 - libX11-1.6.4 cs_CZ.UTF-8 locale is bad
Summary: libX11-1.6.4 cs_CZ.UTF-8 locale is bad
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xlib (data) (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: patch, regression
Depends on:
Blocks:
 
Reported: 2016-10-12 21:27 UTC by semerad
Modified: 2017-01-27 23:02 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Fix (82 bytes, text/plain)
2016-10-30 12:06 UTC, Petr Pisar
no flags Details
Fix (1.24 KB, patch)
2016-11-01 19:50 UTC, Petr Pisar
no flags Details | Splinter Review

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.