[etoys-dev] [etoys-notify] [JIRA] Updated: (SQ-554) Etoys does not work with Chinese input

K. K. Subramaniam kksubbu.ml at gmail.com
Fri Oct 1 03:04:30 EDT 2010

On Thursday 30 Sep 2010 2:10:27 pm Bert Freudenberg (JIRA) wrote:
> > The squeak VM needs to be started with the -compositioninput option (this
> > can be done via the etoys script in /usr/bin). However, even after that,
> > Chinese characters appear correctly only after the locale (LANG, LC_ALL
> > env variables) are set to ja_JP.UTF-8
I noticed something strange in HandMorph>>generateKeyboardEvent. The 
keyboardInterpreter for Japanese locale decodes a stream of UTF-8 bytes into a 
Character 'char' but keyValue passed to event generator is 'char asciiValue'. 
This doesn't seem to be right. But I try to pass char directly, I get a 
failure in keyString which tries to print keyValue using String.

Is it necessary that keyValue be ASCII all the time?


More information about the etoys-dev mailing list