[squeak-dev] Re: Accented character input

Yoshiki Ohshima yoshiki at vpri.org
Fri Mar 21 05:27:11 UTC 2008


> 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?  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