[oe] Problem with i18n (input)

Otavio Salvador otavio at debian.org
Mon Jun 30 20:02:25 UTC 2008


Phil Blundell <pb at reciva.com> writes:

> On Mon, 2008-06-30 at 15:36 -0300, Otavio Salvador wrote:
>> I've been in trouble to get proper support for input in OE. We're
>> having problem to support input of international charsets on X. We've
>> include locale packages and we have the system properly translated,
>> however the input of latin1 chars (e.g. éçóã...) doesn't work.
>
> Can you be any more specific about what exactly goes wrong?  Are you
> basically saying that the compose key doesn't work, or are you talking
> about something different?  If compose, does it not work at all (i.e.
> just enters "e'" as separate keystrokes, as if you hadn't pressed
> compose in the first place) or does it swallow the two keystrokes and
> then give you nothing, or garbage, out?  If the former, have you
> verified (e.g. with xev) that the compose key itself is correctly mapped
> and generating events with the right keysym?

When I press "'e" it gives me nothing. When I run it inside xev it
gives me:

KeyPress event, serial 30, synthetic NO, window 0x1400001,
    root 0x3a, subw 0x0, time 3675299458, (149,171), root:(572,473),
    state 0x0, keycode 34 (keysym 0xfe51, dead_acute), same_screen YES,
    XLookupString gives 1 bytes: (b4) "�"
    XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x1400001,
    root 0x3a, subw 0x0, time 3675299519, (149,171), root:(572,473),
    state 0x0, keycode 34 (keysym 0xfe51, dead_acute), same_screen YES,
    XLookupString gives 1 bytes: (b4) "�"
    XFilterEvent returns: False

KeyPress event, serial 30, synthetic NO, window 0x1400001,
    root 0x3a, subw 0x0, time 3675302404, (149,171), root:(572,473),
    state 0x0, keycode 26 (keysym 0x65, e), same_screen YES,
    XLookupString gives 1 bytes: (65) "e"
    XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x1400001,
    root 0x3a, subw 0x0, time 3675302404, (149,171), root:(572,473),
    state 0x0, keycode 26 (keysym 0x65, e), same_screen YES,
    XLookupString gives 1 bytes: (65) "e"
    XFilterEvent returns: False

> Also, what applications are you trying to input these characters into?
> This is an area that is not terribly well standardised in X and
> different toolkits have different behaviour.

We used xfce4-terminal for testing. It uses GTK and works fine in my
Debian system but fails in OE.

> Also also, what build of libx11 do you have?  Is it a "diet" version or
> the full thing?

I'm using the full thing:

libx11-6_1:1.1.3-r3_i586.ipk
libx11-locale_1:1.1.3-r3_i586.ipk

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."




More information about the Openembedded-devel mailing list