[SCIM] scim only read LC_ALL for determine input language?

James Su suzhe at tsinghua.org.cn
Thu May 13 06:20:59 PDT 2004


Hi,
  I forgot to tell you the most important thing.
  In glibc LC_ALL has the highest priority, if it's set then all other 
LC_ values will be ignored. The correct way to set locale environment is 
unset LC_ALL and set LANG. Like LC_ALL, LANG is a global variable which 
can affect all LC_ vars, but it has lower priority than all of the LC_ 
vars. So if you want to give one of LC_ vars a different value, just set 
the value separately. For example:

unset LC_ALL
export LANG=en_US.UTF-8
export LC_TIME=zh_CN.UTF-8
...

Regards
James Su

cantona wrote:

> Hi,
>
> The SCIM Chinese input doesn't come out,  when I not to use 
> LC_ALL="zh_XX".
> ...It only accept English input.
> Actually LC_ALL contains LC_CTYPE, LC_NUMERIC, LC_COLLATE, 
> LC_MONETARY, LC_MESSAGES, LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, 
> LC_MEASUREMENT and LC_IDENTIFICATION
> I dont use LC_ALL="zh_XX"  because I want to use *LC_TIME* in english....
> But SCIM only read LC_ALL for determine the chinese, english or 
> japanese input...
> how to solve it?? or it may better to read LANG for determine the 
> input language.......
>
> This is my environment:
>
> LANG="zh_HK.Big5HKSCS"
> LC_CTYPE="zh_HK.Big5HKSCS"
> LC_NUMERIC="zh_HK.Big5HKSC"
> *LC_TIME="en_HK.UTF-8"*
> LC_COLLATE="zh_HK.Big5HKSC"
> LC_MONETARY="zh_HK.Big5HKSC"
> LC_MESSAGES="zh_HK.Big5HKSC"
> LC_PAPER="zh_HK.Big5HKSC"
> LC_NAME="zh_HK.Big5HKSC"
> LC_ADDRESS="zh_HK.Big5HKSC"
> LC_TELEPHONE="zh_HK.Big5HKSC"
> LC_MEASUREMENT="zh_HK.Big5HKSC"
> LC_IDENTIFICATION="zh_HK.Big5HKSC"
>
>
> Regards,
> cantona
>
>------------------------------------------------------------------------
>
>_______________________________________________
>scim mailing list
>scim at freedesktop.org
>http://freedesktop.org/mailman/listinfo/scim
>  
>




More information about the scim mailing list