[squeak-dev] Re: Accented character input

José Luis Redrejo jredrejo at gmail.com
Thu Mar 20 12:03:32 UTC 2008


2008/3/20, Bert Freudenberg <bert at freudenbergs.de>:
>
> On Mar 20, 2008, at 6:26 , Yoshiki Ohshima wrote:
> >  Hello,
> >
> >  We finally get around to attack the accented character input problem
> > (mainly thanks to Hiroshima-san).  At least on OLPC, the "dead-key"
> > style accented character input seems to work fine with the new VM.
> >
> >  However, when I switched my Gnome setting on Fedora laptop (it has
> > keyboard in Japanese layout) to use Spanish layout keyboard, and
> > switch the language to Spanish, my keyboard went into a strange state
> > and I needed to do some random key combinations to get to a stuation
> > where the new VM works fine.
> >
> >  I do have a feeling that on a properly configured spanish Linux
> > install with the real spanish keyboard and everything, this you should
> > be able to type accented characters (and ' and `, etc.) in the way you
> > like.  Please test it and let us know how it goes.  Right now, you
> > have to compile the VM by yourself... as soon as we are more
> > confident, Bert can make a RPM, and Ian will add this to the
> > mainstream Squeak VM.  (Or, making RPM is almost free... Probably by
> > the time I wake up tomorrow, Bert may have a precompiled VM^^;)
>
>
>
> Hehe. Not until next week I guess. We need to switch the image rpm to
> 3.0, too, because of the new DBus plugin. For that we need to rebuild
> the guides etc. And uploading that takes ages when I'm out of office
> (I'm almost off to a long Easter weekend).
>
>
> - Bert -
>
>
>
>

A stupid checking:
adding the class UTF32InputInterpreter to the image (if it's not an olpc
image that already has this class), and assuring that
Latin1Environment>>inputInterpreterClass returns UTF32InputInterpreter ,
everything works with current mainstream squeak-vm. None of the last changes
on the olpc image are needed (at least for spanish language).

It's a very simple fix, I can not understand why this method is nowadays
still returning  MacRomanInputInterpreter.
Any reason to justify it?
Even in the olpc image there is a long conditional to assure
MacRomanInputInterpreter is returned when sugar is not present: am I loosing
something or there is no justification for this behaviour?

Regards.
José L.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080320/98ad5569/attachment.htm


More information about the Squeak-dev mailing list

Squeak-dev list courtesy of The InternetOne and tric, the new way