TK> I think the introduction of Xutf8LookupString() is not sufficient
TK> for XIM to be locale-independent.

You're right, of course.  I was not quite accurate.

XIM is intrinsically a locale-dependent protocol, as the set of
available input methods is locale-dependent.  Thus, the IM must be
opened in the Input Method's locale.

On the other hand, once the IM has been opened, its usage is fully
locale-independent; conversion from the IM's codeset to UTF-8 is done
internally by Xlib.

In practice, what this means is that the user must set her locale
according to the IM's she wishes to use.  The programmer, on the other
hand, does not need to bother with locale issues.

                                        Juliusz

--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to