On 01.10.2010, at 09:04, K. K. Subramaniam wrote:
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?
asciiValue is misnamed, it is actually the raw value of the character (including the language tag), not limited to ASCII.
- Bert -