https://bugzilla.novell.com/show_bug.cgi?id=353251 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=353251#c13 --- Comment #13 from Mike Fabian <mfabian@novell.com> 2008-02-04 10:51:18 MST --- Sanika> We haven't been able to reproduce the exact problem of garbage Sanika> predit strings you have mentioned consistently. In our Sanika> case,pressing Ctrl+Space/Shift+space when GTK_IM_MODULE=xim Sanika> enables SCIM, but only English(American) and Swedish inputs Sanika> are possible,CJK languages do not appear in the list. That happens, if the GTK application is started in en_US locale *not* en_US.UTF-8 locale. You can easily reproduce this with any GTK2 application, for example “gedit” GTK_IM_MODULE=xim LC_ALL=en_US.UTF-8 gedit & enable SCIM with Shift+Space. Some English input method is selected by default, usually en-ispell. Try to change the input method and you see that all languages are possible, including CJK (The en_US.UTF-8 locale is listed behind the key “/SupportedUnicodeLocales” in /etc/scim/global). Now try the same with en_US (without .UTF-8) locale: GTK_IM_MODULE=xim LC_ALL=en_US gedit & Enable SCIM and try to change the input method, now only English, French and Swedish inputs are possible. I think this is what happened when you tested this, you also mentioned English and Swedish. Now try this with acroread instead of gedit: GTK_IM_MODULE=xim LC_ALL=en_US.UTF-8 acroread & GTK_IM_MODULE=xim LC_ALL=en_US acroread & Contrary to gedit, there is no difference here between the two cases, in both cases only English, French, and Swedish input methods can be selected. I am afraid that means that acroread internally changes the locale by cutting off the .UTF-8 part and then calling setlocale() on the remaining string. The same behaviour can be observed when Japanese locales are used instead of English in the examples above. I.e.: GTK_IM_MODULE=xim LC_ALL=ja_JP gedit & Only Japanese input methods can be selected. GTK_IM_MODULE=xim LC_ALL=ja_JP.UTF-8 gedit & Input methods for *all* languages can be selected. GTK_IM_MODULE=xim LC_ALL=ja_JP acroread & GTK_IM_MODULE=xim LC_ALL=ja_JP.UTF-8 acroread & only Japanese input methods can be selected in both cases. Sanika> Also, at our end, behavior is same for both utf8 and eucjp Sanika> locales. You mean you really can input Japanese when you start acroread lile GTK_IM_MODULE=xim LC_ALL=ja_JP.UTF-8 acroread & ??? Sanika> Could you please attach a screenshot of your SCIM Sanika> settings and the download location of openSUSE 11.0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.