Bug 1854 - uim-im-sw only shows Japanese engines on XIM apps
Summary: uim-im-sw only shows Japanese engines on XIM apps
Status: RESOLVED NOTABUG
Alias: None
Product: UIM
Classification: Unclassified
Component: bridge: XIM (show other bugs)
Version: unspecified
Hardware: All All
: high normal
Assignee: uim-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-14 23:03 UTC by UTUMI Hirosi
Modified: 2004-11-14 05:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description UTUMI Hirosi 2004-11-14 23:03:27 UTC
// uim-svn1643, LANG=ja_JP, XMODIFIERS=@im=uim
a) immodule
$ gedit
$ uim-im-switcher
It shows all CJK and m17n-* engines.

b) XIM
$ kedit
$ uim-im-switcher
It only shows Japanese engines.
Comment 1 Etsushi Kato 2004-11-14 23:09:58 UTC
This is not a bug.

If you use XIM client with UTF-8 locale (e.g. ja_JP.UTF-8), you can get all
available IM with uim-im-switcher.  If you use XIM client with legacy encoding
(e.g. ja_JP.eucJP), available IM are restricted to IM with correspoinding
language and "*" since the client cannot show characters in other languages.
Comment 2 UTUMI Hirosi 2004-11-14 23:52:34 UTC
>  since the client cannot show characters in other languages.

Then uim-immodule should restrict other languages too.

KWrite can manage UTF-8 encodings on ja_JP.eucJP, so 
I think KWrite can show UTF-8 characters on ja_JP.eucJP.
Comment 3 Etsushi Kato 2004-11-15 00:55:36 UTC
You should distinguish underlining mechanism between XIM and im-modules.

With im-modules, string inputted by uim is directly passed to GUI library (GTK+
or Qt) with UTF-8 encode.  So it doesn't matter wether application is working
with UTF-8 locale or legacy locale.

With XIM, string inputted by uim is transfered with CompoundText into Xlib, and
Xlib convert this text to multibyte string and pass it to XIM client
application.  So if user uses clients with legacy encoding, only restricted
characters can be available.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.