Hi,
At Tue, 16 Jul 2002 11:17:00 +0000 (UTC),
Bruce M Beach wrote:
> For several days I have been trying to get chinese(mainland GB2312 zh_CN)
> to come up in an xterm, but am not having any luck.
So far, xterm does not support GB2312 nor other multibyte encodings
(other than UTF-8).
I am now working on writing a patch for xterm to support multibyte
encodings such as GB2312, Big5, EUC-JP, EUC-KR, GBK, and Shift_JIS.
The patch also supports TIS620 Thai (which is 8bit and needs combining
characters). Also, xterm will follow LC_CTYPE locale to determine
encoding. I have almost finished writing the patch.
The patch needs a program 'luit' which is found in XFree86 version 4.2.
The patch for xterm:
http://www.xfree86.org/pipermail/i18n/2002-June/003265.html
You may want to apply the following patch for luit to support GBK
and Shift_JIS:
http://www.xfree86.org/pipermail/i18n/2002-July/003304.html
Please note that the patch uses UTF-8 mode internally and use
luit to convert UTF-8 and other encodings (GB2312 in your case).
Thus you will need *-iso10646-1 fonts.
Invoke the patched version of xterm in zh_CN.GB2312 locale and
xterm will use GB2312.
There are also several terminal emulators which are sensible to
LC_CTYPE locale.
Rxvt (version 2.7 series)
Eterm (version 0.9.2 series)
mlterm
---
Tomohiro KUBOTA <[EMAIL PROTECTED]>
http://www.debian.or.jp/~kubota/
"Introduction to I18N" http://www.debian.org/doc/manuals/intro-i18n/
_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n