[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xcin input method



----- Original Message -----
From: "Anthony Fok" <foka@ualberta.ca>
To: <debian-simplified-chinese@lists.debian.org>
Sent: Thursday, January 06, 2000 8:07 PM
Subject: Re: xcin input method


> On Thu, Jan 06, 2000 at 10:36:56AM +0800, hashao wrote:
> >
> > rxvt 的 CJK 是 hack □可能目前不能很好的支持 GBK □但是
> > 國際化的 GTK+ or Gnome 程序應該都沒問題。
>
>   so desu ka (??) 的確如此。附帶一點,在 X 底下,不知怎的,
> zh_CN 的 X locale 必須設
>
> use_stdc_env False
>
> 若為 True,則 GTK+/Gnome 不會顯示 GB 字出來。我上星期用了 CLE 的
> *.po -> *.mo 轉了 GB 碼,究竟中文字全不見,原來就是這個 use_stdc_env
> 在搗蛋。這個 tip 是 chinput 里的說明的(又要謝謝 TLC 三劍俠),
> 否則我真的毫無頭緒。use_stdc_env 有什么功用?我更不知。  ^_^
use_stdc_env就是說使用libc的locale功能﹔設成false,一般用于
系統的libc在locale支持不完善的情況下用X內置的locale支持。
X內置對GB系列的locale支持是只有GB2312(EUC-CN)的,不支持GBK。
你的情況應該是由于libc的locale沒設置好造成的。
請檢查以下內容:
1. /usr/share/locale下是否有相應的locale
2. /usr/lib/gconv下是否有相應的iconv module
   /usr/lib/gconv/gconv-modules里是否有相應的項
3. /usr/X11R6/lib/X11/locale下是否有相應的
   locale_name/XLC_LOCALE
   locale.dir或locale.alias下是否有相應的
   libc locale name到X locale name的映射
我在RedHat6.1下裝了TLC4的zh_CB.GBK,是可以用的



-- 
[ debian-simplified-chinese@lists.debian.org is the mailing-list that ]
[ this mail was originally sent to,  and was forwarded to this list   ]
[ automatically. GB characters are also converted to Big5 at the same ]
[ time.  Note that there may be errors  during the conversion as this ]
[ is not done by a human!                                             ]


Reply to: