New Win32 VM [m17n testers needed]

"Martin v. Löwis" martin at v.loewis.de
Sun Jun 3 21:07:10 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.
> 
> Hm ... there isn't any easy way to test this I guess?

It's actually very easy.

1. Create a text file.
2. rename it to some Cyrillic (or Japanese, or whatever) name
3. Open it in the listing

To rename it, the easiest way is to start up charmap.exe,
select a few "funny" characters, copy them to the clipboard,
and past them in explorer into the file name.

> The code hasn't
> changed that much so I would expect this to be working (in particular
> considering that it seems to work fine for ascii file names).

That might be the problem. If the code is still using the *A functions
(FindFirstFileA), then this cannot work - but I would expect to see
question marks in that case. If it was changed to use the *W functions,
then the question is how these strings are communicated to the VM.

Regards,
Martin



More information about the Squeak-dev mailing list