TK> My question is, how to write XIM support code for systems which
TK> don't support Xutf8* functions?
1. Don't; or
2. Document the fact that it will only work in UTF-8 locales.
Note that all versions of XFree86 since 4.0.2 have UTF8_STRING, and
that the support is even usable since 4.0.3. 4.0.3 is very widely
deployed in the Free software community (even OpenBSD is using it).
As to non-XFree86 platforms, I believe that all the significant ones
have good support for UTF-8 locales. (This is the case at least with
Solaris.)
(By the way, you can obviously run XTerm in a UTF-8 locale and have an
instance of luit within it running in your favourite locale.)
Juliusz
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/