[Vm-dev] Re: New Win32 VM [m17n testers needed]

Yoshiki Ohshima yoshiki at squeakland.org
Sun Jun 3 19:46:59 UTC 2007


> What I couldn't get working is the listing of file names in the
> file browser. To reproduce, create file names using Greek, Cyrillic,
> and Chinese letters, and then do "open/file list". With the wrong font,
> I get question marks. When I select a font that ought to be able to
> represent it correctly, I still get a mix of Latin letters and
> square boxes.

  As Andreas wrote, defaultFileNameConverter has to be modified (and
the class var in the LanguageEnvironment has to be cleared.)

> What I don't understand is: Why do I have to set the language
> environment (*) to make it work? It's Unicode, so Squeak
> shouldn't care what the language is. If it needs to know, it
> should get the language from the system.

  Read the Unicode standard.

  Because it is Unicode, a mechanism out of scope of Unicode has to
supply language information to do sensible stuff.

-- Yoshiki

More information about the Vm-dev mailing list