[squeak-dev] Re: Accented character input
yoshiki at vpri.org
Thu Mar 20 22:24:22 UTC 2008
> Everything, including accented character input with "dead_keys"?
> Yes, but there is one problem: clicking on the alt or arrow keys
> raises a blank square.
The blank square problem is fixed in the OLPC version and should be
merged to the trunk version. But, I'm still puzzled to hear that dead
key works for you on the VM. My experimental Spanish setting on my
Fedora might be wrong, but here is my reasoning:
With a dead key ("'" for example), first time you pressed it, it
doesn't give you the character, right? Then, you can press "e" to get
e with accent, or you can press "'" again to get a single "'". This
means that there should be a state kept in the VM to remember the
previous character, but before the patch, there was no such thing.
Maybe there is some input method in front of the VM that processes
the keyboard input first (like Japanese have)?
> Actually, we should take care of the case when somebody trys to run
> the new image on an old VM (UTF32InputInterpreter should look at the
> third entry in the event array when sixth is zero...)
> Yes, but the alternative is worst, so I think that's the best solution.
Sorry but what was "the alternative"?
More information about the Squeak-dev