RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 661219 - en_DK locale not supported by xterm/Xlib
Summary: en_DK locale not supported by xterm/Xlib
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libX11
Version: 6.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Adam Jackson
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 842499
TreeView+ depends on / blocked
 
Reported: 2010-12-08 08:05 UTC by Ulf Tigerstedt
Modified: 2014-11-18 07:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-18 07:44:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ulf Tigerstedt 2010-12-08 08:05:15 UTC
Description of problem:

When using the locale "en_DK.UTF8" xterm reverts back to 
non-UTF8 mode and gives the error:
Warning: locale not supported by Xlib, locale set to C



Version-Release number of selected component (if applicable):
libX11-1.3-2.el6.x86_64
xterm-253-1.el6.x86_64

How reproducible:
Install machine with en_DK.UTF8 locale, try to use UTF-chars
in an xterm.



Steps to Reproduce:
1.
2.
3.
  
Actual results:
.. a terminal that supports ISO8859-1/C but with LANG=en_DK.UTF8

Expected results:
.. a terminal that supports UTF-8 and with LANG=en_DK.UTF8


Additional info:

Comment 2 A S Alam 2010-12-08 09:25:37 UTC
Triaged

Comment 3 RHEL Program Management 2011-01-07 15:41:00 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 5 Jens Petersen 2014-11-18 07:06:38 UTC
I suspect en_DK.UTF8 might not be a valid X locale.

Does en_DK.UTF-8 or en_DK.utf8 work?

Comment 6 Ulf Tigerstedt 2014-11-18 07:12:31 UTC
(It's rhel6.6 now)

[tigerste@supernaakka Downloads]$ locale
LANG=en_IE.utf8
LC_CTYPE="en_IE.utf8"
LC_NUMERIC="en_IE.utf8"
LC_TIME="en_IE.utf8"
LC_COLLATE="en_IE.utf8"
LC_MONETARY="en_IE.utf8"
LC_MESSAGES="en_IE.utf8"
LC_PAPER="en_IE.utf8"
LC_NAME="en_IE.utf8"
LC_ADDRESS="en_IE.utf8"
LC_TELEPHONE="en_IE.utf8"
LC_MEASUREMENT="en_IE.utf8"
LC_IDENTIFICATION="en_IE.utf8"
LC_ALL=
[tigerste@supernaakka Downloads]$ export LANG="en_DK.UTF-8"
[tigerste@supernaakka Downloads]$ xterm 
^C[tigerste@supernaakka Downloads]$ export LANG="en_DK.UTF8"
[tigerste@supernaakka Downloads]$ xterm 
Warning: locale not supported by Xlib, locale set to C



So yes, it works.
Now I just wonder what my original usecase was?
Ticket can be closed.

Comment 7 Jens Petersen 2014-11-18 07:44:31 UTC
Thank you!

Sorry for not spotting this bug earlier.


Note You need to log in before you can comment on or make changes to this bug.