[Vm-dev] SqueakVM help for OLPC

Bert Freudenberg bert at freudenbergs.de
Tue May 15 19:09:33 UTC 2007


On May 15, 2007, at 20:51 , Chris Petsos wrote:

> We are trying to make Squeak work with Unicode...Yoshiki Ohshima has
> been very helpful till now and his suggestion was to let all the data
> that the platform (e.g. Windows, Unix etc...) is sending,  enter the
> Squeak VM as is and deal with them there (in the image side) with
> InputInterpreter classes.

Yeah, I know, for some strange historical reason the Japanese folks  
like this approach ;)

I much prefer the very simple solution that John put into the Mac VM  
- add a char32 field to each KeyStroke event containing the unicode  
value. Nice and simple.

> Another clue is that Squeak in Windows uses ANSI versions of Windows
> functions which support only 8-bit characters

That's highly irrelevant to the Unix VM. And for filenames we'd most  
likely should use UTF-8 which is 8-bit and actually supported by the  
Unix VM right now.

- Bert -




More information about the Vm-dev mailing list