Subject: Re: UTF-8 locale and Unix keyboard handler
From: Vlad Harchev (hvv@hippo.ru)
Date: Sun Jan 21 2001 - 03:08:42 CST
On Sat, 20 Jan 2001, Tomas Frydrych wrote:
Hi,
I don't use utf8 locale, but according to various sources, input in X under
utf8 locale will work correctly only with XFree86-4.0.2 (and using libX11
supplied with it). It's also somewhat questionable whether current gdk will
work correctly under utf8 locale (not that I have sharp suspictions - just a
healthy pessimism).
>
> The Unix keyboard handler does not seem to be able to deal with
> UTF-8 locale. When a key is pressed that generates a multibyte
> value, the handler ends up aborting input 'due to lack of data'.
>
> If anyone out there uses UTF-8 locale, could you please verify that
> this is indeed the case?
>
> Tomas
>
> (What happens in my set up is that while the keypress event
> contains the correct key value, the string that is supposed to
> represent this value is 0-length. This string should be generated
> inside GDK, by calling XmbLookupString. I have had a brief look at
> the GDK code, but at least at superficial examination it seems to
> be OK).
>
Best regards,
-Vlad
This archive was generated by hypermail 2b25 : Sun Jan 21 2001 - 04:15:26 CST