Bug 8205 - Xorg wants to load odd character sets with UTF-8 locale
Summary: Xorg wants to load odd character sets with UTF-8 locale
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Fonts/other (show other bugs)
Version: 7.0.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-09 14:53 UTC by paapaa125
Modified: 2011-10-02 02:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description paapaa125 2006-09-09 14:53:47 UTC
I got some odd warnings using UTF-8 locale. I'm not sure what is the correct
component for bug reporting. This is what I did:

1. Made a fresh Gentoo install (2006.1 for x86) following official guides.
2. Installed Xorg 7.0.0 and configured properly.
3. Changed my locale to "en_US.UTF-8"
4. "startx" (this starts X and twm the basic WM and opens xterm+xclock)

I got these messages in stdout:

"twm: warning: font for charset JISX0208.1983-0 is lacking."
"twm: warning: font for charset KSC5601.1987-0 is lacking."
"twm: warning: font for charset GB2312.1980-0 is lacking."
...

I got this in stderr:

"Warning: Missing charsets in String to FontSet conversion"

If I try to execute xcalc, xfontsel or xclock, I allways get the same warning:
"Warning: Missing charsets in String to FontSet conversion".

Why does X want to have/load these Asian character sets? Is this a bug or is
this a known feature of UTF-8 locales?
Comment 1 paapaa125 2006-09-10 00:32:35 UTC
Some additional information. If I use the FVWM window manager and ask it to
output some locale information I get this:


FVWM info on locale:
locale: en_US.UTF-8, Modifier
...
XOM Charsets: ISO8859-1 ISO8859-1 JISX0208.1983-0 KSC5601.1987-0
GB2312.1980-0 JISX0201.1976-0 ISO10646-1

If I'm not mistaken (very possible I'm wrong...) this list is reported by Xorg
like this:


om = XOpenOM(dpy, NULL, NULL, NULL);
  if (om && (XGetOMValues(om, XNRequiredCharSet, &cs, NULL)) == NULL)
  {
Comment 2 Daniel Stone 2007-02-27 01:33:30 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 Jeremy Huddleston Sequoia 2011-10-02 02:57:42 UTC
Please report this to Gentoo.


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.