Comment 8 for bug 34282

Revision history for this message
Ming Hua (minghua) wrote : Re: [Bug 34282] [Dapper] language-support-zh doesn't set up a way to input Chinese

On Sat, Mar 25, 2006 at 01:23:23AM -0000, Loïc wrote:
>
> Second thing that a Joe user like me doesn't understand is that if I
> follow (scim man page again):
> >To use scim in XIM mode, execute the following commands in an X >terminal
> >(assuming Bourne style shell):
> > XMODIFIERS="@im=SCIM"
> > export XMODIFIERS
> > GTK_IM_MODULE="xim"
> > export GTK_IM_MODULE
> > scim -d
> > <program>
> Then start oowriter from the same terminal, I still can't use scim as
> an input (session is not in Chinese, because when session is in
> Chinese there's no need for these tricks). What did I miss when I've
> just been following the instructions?

You missed the following part in /usr/share/doc/scim/README.Debian.gz:

<quote>
There is one limitation in SCIM, that you must tell SCIM the UTF-8 locale you
want to use SCIM in. This is recorded in the user's configuration file
~/.scim/global. You need to add a line of the format
    /SupportedUnicodeLocales = <your_locale>
to your ~/.scim/global file unless you use en_US.UTF-8 locale (which is
supported by default). The <your_locale> string should be in ll_CC.UTF-8
form, where ll being the language, and CC being the country. You can always
use the "locale" command to check your locale setting. You can also add
mutiple locales there, just separate them by comma without space, like
    /SupportedUnicodeLocales = en_US.UTF-8,en_GB.UTF_8,fr_FR.UTF-8
</quote>

Ming
2006.03.24