New Win32 VM [m17n testers needed]

subbukk subbukk at gmail.com
Tue Jun 5 09:36:46 UTC 2007


On Tuesday 05 June 2007 10:25 am, Martin v. Löwis wrote:
>It would actually be good if the VM would guarantee UTF-8 file
> names on all systems
Yes, indeed. The image could query the VM on startup to see if it supports 
UTF-8 in filenames.
> > For instance, I could have a UTF-8 file on a
> > USB flash and use it across different VMs.
>
> I don't understand: you mean a file whose contents is UTF-8
> encoded, or whose file name is?
I meant the filename (the context of discussion was filenames). Sorry for the 
confusion.
> > AFAIK, FAT fs does not support UTF-8. NTFS, HPFS (Mac) and all current
> > Linux filesystems support UTF-8 in filenames.
> Wrong both ways. NTFS does not store file names in UTF-8, but in UTF-16;
> whether Linux stores file names in UTF-8 depends on the locale. FAT (in
> it's vFAT version which is now universally being used) also stores file
> names in UTF-16.
I wasn't writing about the encoding used in physical store as much as support 
for UTF-8 in filenames. On Linux, ntfs and vfat mounts convert to utf8 on the 
fly with the right locale. For me, utf8 has been the default locale for so 
long that I just plain forgot about this setting :-). Thanks for pointing it 
out.

Regards .. Subbu



More information about the Squeak-dev mailing list