mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-06-03 00:08:23 +02:00
SCIM fails to commit Thai input characters on Thai locales, because it commits string in compound text form, which was converted via XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8 declares cs1's ct_encoding as TIS620-0:GR, which was commented out in src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence. So, declaring cs1 as ISO8859-11:GR instead makes it work. Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds support for UTF-8 input. And, along discussion in the bug, a similar problem was found for fontset, too, by causing delays on X apps startups on systems without tis620-0 fonts. This is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries by default for Thai X fonts. So, Thai fontset charset is also patched. X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475> Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> Signed-off-by: Julien Cristau <jcristau@debian.org> |
||
|---|---|---|
| .. | ||
| Compose.pre | ||
| Makefile.am | ||
| XI18N_OBJS | ||
| XLC_LOCALE.pre | ||