Re: Compose key and input method

From: Michael Tosch (eedmit_at_NO.eed.SPAM.ericsson.PLS.se)
Date: 08/10/05


Date: Wed, 10 Aug 2005 10:00:40 +0200

Hans Werner Strube, strube&physik3*gwdg*de wrote:
> Thomas Maier-Komor <maierkom@lpr.e-technik.tu-muenchen.de> wrote:
>
>>Hans Werner Strube, strube&physik3*gwdg*de schrieb:
>>
>>>On Solaris versions beyond 7, we always encountered difficulties with
>>>the Compose key. Locale is ISO-8859-1 based (en_US, de_DE). We use Sun's
>
> ...
>
>>I cannot verify the behaviour you are talking about under gnome on my
>>sparc. But I also had some weird effects concerning the compose key. I
>>use the same config (i.e. type 6 unix keyboard with us layout, but
>>german locale). Make sure you have all the available patches installed.
>>Additionally be sure to have sane settings /etc/default/init.
>>My values are:
>>
>>TZ=Europe/Berlin
>>CMASK=022
>>LC_COLLATE=de_DE.ISO8859-1
>>LC_CTYPE=de_DE.ISO8859-1
>>LC_MESSAGES=de
>>LC_MONETARY=de_DE.ISO8859-1
>>LC_NUMERIC=de_DE.ISO8859-1
>>LC_TIME=de_DE.ISO8859-1
>
>
> Thanks, I think the effects were due to missing environment LANG and
> some undefined LC_..., which were caused by some long-ago tweaking
> required with some old programs.
>

LANG is old style (using the old locale names), and LC_ALL is new style.
Old applications want LANG, new applications want LC_ALL or the above
LC_* sub-types.

Unfortunately,
the above solution does not help our customers, because it switches
some applications to German dialogs. Our users want English dialogs
but still be able to do a Compose o " or similar.

IMHO GTK should allow character composition even in C locale, and pass
it to the application (which may or may not correctly display it).

-- 
Michael Tosch @ hp : com


Relevant Pages

  • Re: Compose key and input method
    ... > LANG is old style (using the old locale names), ... > Old applications want LANG, new applications want LC_ALL or the above ... AFAIK en_US setting or something similar should also enable the compose ...
    (comp.unix.solaris)
  • LANG, locale, unicode, setup.py and Debian packaging
    ... On start I call locale.setlocale, the getlocale. ... The app assumes unicode objects internally. ... My setup.py also tests locale (because it then loads gettext ... happens if LANG is set to "C", ...
    (comp.lang.python)
  • Re: LANG=C not English?
    ... > feisty@feisty-laptop:~$ echo $LANG ... $ LANG=C locale ... to what English is C expected to be? ...
    (Debian-User)
  • Re: why sort is soo slow on RH9?
    ... LANG variable will show you your locale settings. ... For a numeric sort it doesn't matter, ...
    (comp.os.linux.misc)
  • Emacs, XEmacs and Qt vs. compose
    ... I cannot use the compose key mechanism with emacs, xemacs and all qt ... If I switch the locale back to de_DE only, ...
    (Debian-User)