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

Chris Petsos chrispetsos at sch.gr
Sun Jun 3 20:49:38 UTC 2007


>> Japanese locale specific question... does a unicode Japanese character 
>> fit
>> inside a WCHAR struct?
>
>  It does.  UTF-16LE without surrogated pairs is almost ok for daily
> use.
>

Right, but take a look at the codepage parameter of the functions

    http://msdn2.microsoft.com/en-us/library/ms776413.aspx
    http://msdn2.microsoft.com/en-us/library/ms776420.aspx

It only supports until UTF8...so, can it work for Japanese chars?

>> Cause, there have been used Windows functions that convert WCHAR streams
>>
>>     MultiByteToWideChar
>>     WideCharToMultiByte
>>

Christos.




More information about the Squeak-dev mailing list