gtk+
Paweł Sakowski
pawel at sakowski.eu.org
Thu Sep 23 00:38:13 CEST 2004
On Wed, 2004-09-22 at 21:57 +0200, Andrzej Krzysztofowicz wrote:
> One more doubt:
> I noticed that for some locales glibc encoding and Xlib encoding are
> different (eg. for et_EE, tt_RU, most *_IN, uz_UZ etc.).
>
> Might it be a problem?
Not might. It is a problem. I've reported it at x.org quite some time
ago, no reply from them.
A workaround is to fully qualify your locale with the codeset name (e.g.
en_US.UTF-8) -- it probably allows you to assume that X'es idea of your
encoding is consistent with glibc (and via glibc with qt, gtk+, among
others).
I mean, how difficult is it to call nl_langinfo(CODESET), instead of
reading an "alias" list?
--
+----------------------------------------------------------------------+
| Paweł Sakowski <pawel at sakowski.eu.org> Never trust a man |
| who can count up to 1023 on his fingers. |
+----------------------------------------------------------------------+
More information about the pld-devel-en
mailing list