[PATCH] UTF-8 surrounding text retrieval in Thai XIM
Theppitak Karoonboonyanan
thep at linux.thai.net
Fri Sep 26 19:09:33 PDT 2008
On Tue, Jul 22, 2008 at 2:35 PM, Theppitak Karoonboonyanan
<thep at linux.thai.net> wrote:
> This patch is proposed for Bug #12759 (Thai XIM fails to retrieve
> multi-byte surrounding text on UTF-8 locale) [1]
>
> [1] http://bugs.freedesktop.org/show_bug.cgi?id=12759
>
> It makes Thai XIM (provided in libx11) properly convert the string
> returned from the string conversion callback before using it.
> Currently, the code in libx11 only does the conversion for wide
> char, and assumes that the multi-byte string is always in TIS-620
> (8-bit character), which is not true on UTF-8 locales.
Note: This bug seems to contribute to LP #273856 [1] against Ubuntu
Intrepid when XIM is chosen as the input method.
[1] https://bugs.launchpad.net/ubuntu/+bug/273856
Regards,
--
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/
More information about the xorg
mailing list