"Maiorana, Jason" <[EMAIL PROTECTED]> さんは書きました:

> thanks for the tips, but what I really wanted was use japanese/other
> languages input methods, but not be in a ja_JP locale. (just the
> default local en_US.UTF-8) (Also I was hoping it could be done in an
> application that was already running, for example I would start off
> in VIQR, then maybe do some korean input, then switch to
> XIM/kinput2/canna, all in the original gedit window...)

As Jungshik Shin mentioned, this can be done only in a couple of
applications currently. Jungshik Shin mentioned GTK2.

Other applications which can switch at runtim between input servers
are mlterm and yudit for example.

> im curious why I would set the LC_CYPTE to ja_JP.UTF-8,
> why would that be any different than en_US.UTF-8 when the
> LANG is en_US.UTF-8.

Because the current XIM mechanism in X11 uses LC_CTYPE to select which
language should be input.

> I'm not worried about japanese collation
> i'd prefer to use a default "unicode collation".

Isn't LC_COLLATE for collation?

>>And you should probably better start the kinput2 server itself in
>>ja_JP.eucJP locale. But that doesn't mean that the client program
>>where you want to input Japanese also has to run in ja_JP.eucJP, you
>>can just as well run the client with LC_CTYPE=ja_JP.UTF-8.
>
> Im curious, why do you suggest that kinput2 should be run with
> eucJP as its startup encoding? Does it have bugs if that is not the
> case?

Many XIM servers used to work only in the legacy locale of the
language they were designed for.

As far as I remember, kinput2 used to behave like that as well.  But I
just checked kinput2 again, and it appears that the version I have
currently installed (kinput2-v3.1) appears to behave the same no
matter what locale is used to start it. I.e.  whether I start it in
ja_JP.eucJP, ja_JP.UTF-8 or even POSIX, I can't find any difference in
behaviour anymore.

> Anyway, I was mostly hoping for an automated way of getting into
> and out of japanese input mode using the right-click context menu...

-- 
Mike Fabian   <[EMAIL PROTECTED]>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/


Reply via email to