[squeak-dev] Re: Accented character input

karl karl.ramberg at comhem.se
Fri Mar 21 10:02:31 UTC 2008

Yoshiki Ohshima wrote:
>   José,
>> mmm, if you mean in the X libraries called by the vm, I think that's the case. In fact that works that way whenever you
>> use x2sqKeyInput instead of  x2sqKeyPlain at vm-display-X11/sqUnixX11.c. I.e.: if , calling the vm, you use -nointl or
>> your locale is not UTF-8, you'll use   x2sqKey= x2sqKeyPlain instead of x2sqKey= x2sqKeyInput, then you'll get the
>> accent and the vowel separated. Using x2sqKeyInput you will only get one keycode. That's worked always that way, the
>> problem was that the keycode was wrongly interpreted by the image because it was using the MacRomanInputInterpreter
>> instead of the UTF32InputInterpreter class.
>   Wow, Did I wasted several hours to solve a wrong problem? 
Been there, done that ;-)

>  I am
> *still* in mystery though that Etoys on Spanish OLPC has been in UTF-8
> and without -nointl and its had not been working.  More to come...
>   Thank you!
> -- Yoshiki

More information about the Squeak-dev mailing list