On Tue, 16 Jul 2002, Tomohiro KUBOTA wrote: > 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, ......... > > I am now working on writing a patch for xterm to support multibyte > encodings such as GB23..................... > > The patch for xterm: > http://www.xfree86.org/pipermail/i18n/2002-June/003265.html
I have XFree86 version 4.2 and tried to apply your patch but the code in xc/programs/xterm bears no resemblance to your patch. I couldn't even apply the patch by hand. Are you using a different source tree or are there other patches involved. I downloaded some fonts from somewhere and If I try xterm -u8 -fn \ -misc-fixed-medium-r-normal--16-120-75-75-c-0-unicode-0 \ -e luit -g2 'GB 2312' the xterm will display chinese but the xterm is somewhat insane. the text is spread out to a follows should be:----->test is :----->t e s t > 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. Where can I find these fonts? Are the part of the x-distribution 4.2 and if so what are there names? > Rxvt (version 2.7 series) I tried rxvt. If I try export LC_CTYPE=zh_CN.gbk rxvt I will get chinese displayed ok. If I try rxvt -km gb I get an error message rxvt: no similar multichar font: encoding GB; size 14 and I don't know what its looking for with no chinese. Bruce _______________________________________________ I18n mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/i18n