Hi,
From: Alejandros Diamandidis <[EMAIL PROTECTED]>
Subject: Kinput2 and UTF-8 xterm
Date: Mon, 4 Jun 2001 17:56:02 +0300
> Is it possible to use kinput2 with a Unicode xterm? It seems that
> kinput2 only works with clients running in EUC-JP locales.
Cannot. However, this is not kinput2's fault. kinput2 does not
work with Unicode XTerm even in EUC-JP locales.
This is because XTerm expects XmbLookupString() to always return
UTF-8 string. This is a wrong expectation and a bug. XmbLookupString()
returns string in the encoding specified by LC_CTYPE locale.
[And more, there seems to be a basic bug ... XmbLookupString() is
_not_ used when UTF-8 mode. Instead, XLookupString() is used which
apparently does not support XIM at all.] All these bugs are
fixed by Robert Brady's patch #27.
Please refer "xterm and XIM" thread. (kinput2 is one of XIM
servers).
Kinput2 does not support UTF-8 locales, which is not a bug
but a specification. You may want to expand kinput2 to support
UTF-8 locales.
---
Tomohiro KUBOTA <[EMAIL PROTECTED]>
http://www.debian.or.jp/~kubota/
"Introduction to I18N" http://www.debian.org/doc/manuals/intro-i18n/
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/