Another problem with scim configuration.
Hi, Thank you for the advices, I've just installed all the binary of United linux an now I can run scim under a terminal (rxvt). I'm studying chinese so I'm not very comfortable with all the options written in chinese in the dialogue box... so when I start scim all seems ok: with ctrl-space I can activate the small window in which I can see all the characters that corresponding to the pinyin written but when I try to select one of them (with space or with the corresponding number) I can't see the character on the terminal.(all disappear) Another question: there's an option to enlarge the character in the small window with characters that corresponding to the pinyin written? Thank you very much! Giulio F.
"Giulio F."
Thank you for the advices, I've just installed all the binary of United linux an now I can run scim under a terminal (rxvt).
I recommend to use mlterm or xiterm instead of rxvt because rxvt doesn't support UTF-8.
I'm studying chinese so I'm not very comfortable with all the options written in chinese in the dialogue box...
Start scim with LC_MESSAGES set to a locale for your preferred language instead of Chinese. For example: LC_MESSAGES=it_IT.UTF-8 scim As scim doesn't have Italian translations, you will see English as fallback, but not Chinese anymore. If you are not yet comfortable with may Chinese messages, I suggest to set your default language to Italian and LC_CTYPE to Chinese. I.e. either edit /etc/sysconfig/language to contain RC_LANG=it_IT.UTF-8 RC_LC_CTYPE=zh_CN.UTF-8 and all other RC_* variables in that file unset or put export LANG=it_IT.UTF-8 export LC_CTYPE=zh_CN.UTF-8 unset LC_ALL in your ~/.profile if you want to do it for one user only. For more details about locale settings see http://www.suse.de/~mfabian/suse-cjk/locales.html and the sub-sections there.
so when I start scim all seems ok: with ctrl-space I can activate the small window in which I can see all the characters that corresponding to the pinyin written but when I try to select one of them (with space or with the corresponding number) I can't see the character on the terminal.(all disappear)
Works for me if I start rxvt like
LC_CTYPE=zh_CN.GB2312 XMODIFIERS=@im=SCIM rxvt &
How do you start your rxvt? Remember that rxvt doesn't support UTF-8.
If you use GB2312 encoding, you won't be able to use Italian accented
characters. Therefore I think it is best to use UTF-8 locales
as described above and use mlterm or xiterm instead of rxvt.
--
Mike Fabian
Hi, Now with: export LC_CTYPE=zh_CN.GB2312 export XMODIFIERS=@im=SCIM rxvt & I get the instruction in english and it's ok. But when I select the character I get in the terminal the pinyin not the character (if I press return) If I press the number or space nothing appens. It's because I'm new to Linux OS and I don't know the rxvt options... maybe there's the wrong font selected and so I can't display chinese... I also tried with mlterm but is the same. Thank you very much Giulio F.
"Giulio F."
export LC_CTYPE=zh_CN.GB2312 export XMODIFIERS=@im=SCIM rxvt &
I get the instruction in english and it's ok.
But take care that you don't have conflicting locale settings. Please check the output of the command "locale" after you do the above. It is not allowed to have settings like mfabian@magellan:~$ export LANG=it_IT@euro mfabian@magellan:~$ export LC_CTYPE=zh_CN.GB2312 mfabian@magellan:~$ locale LANG=it_IT@euro LC_CTYPE=zh_CN.GB2312 LC_NUMERIC="it_IT@euro" LC_TIME="it_IT@euro" LC_COLLATE="it_IT@euro" LC_MONETARY="it_IT@euro" LC_MESSAGES="it_IT@euro" LC_PAPER="it_IT@euro" LC_NAME="it_IT@euro" LC_ADDRESS="it_IT@euro" LC_TELEPHONE="it_IT@euro" LC_MEASUREMENT="it_IT@euro" LC_IDENTIFICATION="it_IT@euro" LC_ALL= mfabian@magellan:~$ because it_IT@euro uses ISO-8859-15 encoding and zh_CN.GB2312 uses GB2312 encoding. See http://www.suse.de/~mfabian/suse-cjk/locales-examples.html http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap07.html for why this is not allowed. Therefore I recommended LANG=it_IT@euro LC_CTYPE=zh_CN.UTF-8
But when I select the character I get in the terminal the pinyin not the character (if I press return)
If I press the number or space nothing appens. It's because I'm new to Linux OS and I don't know the rxvt options... maybe there's the wrong font selected and so I can't display chinese... I also tried with mlterm but is the same.
If you press return, you will indeed get the pinyin inserted. But with
the number or space you should get I get the Chinese characters
inserted. At least it works like that for me.
To test whether the font settings of your terminal are correct,
type
LC_ALL=zh_CN.GB2312 date
or
LC_ALL=zh_CN.UTF-8 date
(depending on whether you use UTF-8 or GB2312). You should see the
date in Chinese, like this:
mfabian@magellan:~$ LC_ALL=zh_CN.UTF-8 date
五 9月 5 23:26:56 CEST 2003
mfabian@magellan:~$
But both mlterm and rxvt should use correct fonts by default.
--
Mike Fabian
participants (2)
-
Giulio F.
-
Mike FABIAN