Mailinglist Archive: opensuse-m17n (18 mails)

< Previous Next >
Re: [m17n] Another problem with scim configuration.
  • From: Mike FABIAN <mfabian@xxxxxxx>
  • Date: Fri, 5 Sep 2003 14:51:33 +0000 (UTC)
  • Message-id: <s3tptif70hy.fsf@xxxxxxxxxxxxxxxx>
"Giulio F." <gf77p@xxxxxxxxx> さんは書きました:

> 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 <mfabian@xxxxxxx> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。

< Previous Next >
Follow Ups
References