[Uim] uim_get_default_im_name()

Etsushi Kato ekato at ees.hokudai.ac.jp
Thu Oct 21 12:43:22 EEST 2004


On 2004/10/21, at 18:33, YamaKen wrote:

> At Thu, 21 Oct 2004 17:57:23 +0900,
> ekato at ees.hokudai.ac.jp wrote:
>> I have a problem about uim_get_default_im_name().
>> With current implementation, if user set default-im-name in ~/.uim,
>> uim_get_default_im_name(locale) in libuim and/or
>> (find-default-im localestr) in scheme always returns im name set in
>> ~/.uim even if its locale mismatches with the requested locale.  Can
>> you fix this, yamaken?
>
> It's the intended behavior. Not a bug.
>
> If we implement it as you said, following cases fail.
>
> - specify uim-anthy(ja) as default on en_US.UTF-8 locale
> - specify uim-py(zh_CN) as default on ja_JP.UTF-8 locale
>
> We have to keep any default IM specifiable regardless of locale.

OK.  So, can you prepare other function to get im name corresponding to 
requested locale (lang)?  It is definitly needed for uim-xim's client 
application using legacy encodings.

Cheers,
-- 
Etsushi Kato
ekato at ees.hokudai.ac.jp




More information about the uim mailing list