Xorg wants to load very odd charsets with UTF-8 locale

Paa Paa paapaa125 at hotmail.com
Thu Sep 14 03:09:36 PDT 2006


I got some odd warnings using UTF-8 locale. 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 also got this error 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".

And 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 this list is reported by Xorg like this:


XGetOMValues(om, XNRequiredCharSet, &cs, NULL);


Question: Why does X require these Asian character sets instead of just 
ISO10646-1? Is this a bug or is this a known feature of UTF-8 locales?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the xorg mailing list