[PATCH] UTF-8 surrounding text retrieval in Thai XIM
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) 
>  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  against Ubuntu
Intrepid when XIM is chosen as the input method.
More information about the xorg