Mailing List Archive


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

[tlug] Re: Japanese under Linux



Zev Blut wrote:

> export LC_CTYPE=ja_JP.eucJP
> export LC_MESSAGE=en_US
         ^^^^^^^^^^ This should be LC_MESSAGES
> export XMODIFIERS='@example.com=kinput2'
> kinput2 -canna&

You can use the "locale" utility to check how your LC_* settings are
interpreted by your system.

Instead of just setting LC_CTYPE and LC_MESSAGES it is probably a better
Idea to set LANG and either LC_CTYPE or LC_MESSAGES:

|ranma@example.com:~$ LANG=ja_JP LC_MESSAGES=en_US locale
|LANG=ja_JP
|LC_CTYPE="ja_JP"
|LC_NUMERIC="ja_JP"
|LC_TIME="ja_JP"
|LC_COLLATE="ja_JP"
|LC_MONETARY="ja_JP"
|LC_MESSAGES=en_US
|LC_PAPER="ja_JP"
|LC_NAME="ja_JP"
|LC_ADDRESS="ja_JP"
|LC_TELEPHONE="ja_JP"
|LC_MEASUREMENT="ja_JP"
|LC_IDENTIFICATION="ja_JP"
|LC_ALL=
|ranma@example.com:~$ LANG=en_US LC_CTYPE=ja_JP locale
|LANG=en_US
|LC_CTYPE=ja_JP
|LC_NUMERIC="en_US"
|LC_TIME="en_US"
|LC_COLLATE="en_US"
|LC_MONETARY="en_US"
|LC_MESSAGES="en_US"
|LC_PAPER="en_US"
|LC_NAME="en_US"
|LC_ADDRESS="en_US"
|LC_TELEPHONE="en_US"
|LC_MEASUREMENT="en_US"
|LC_IDENTIFICATION="en_US"
|LC_ALL=

-- 
Tobias						PGP: http://9ac7e0bc.2ya.com
Beware of bugs in the above code; I have only proved it correct, but
not tried it.    -- Donald Knuth

Attachment: signature.asc
Description: Digital signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links