[try 2] [2/2] mlang: Add implementation offnIMLangFontLink_GetCharCodePages

Vitaly Perov vitperov at etersoft.ru
Wed Oct 29 11:20:53 CDT 2008


"Vitaly Perov" <vitperov at etersoft.ru> wrote:

>> It doesn't really matter what code pages Windows supports, it does
>> matter though what code pages are valid. You need to use Win32 APIs
>> EnumSystemCodePages/GetCPInfo/MultiByteToWideChar instead of accessing
>> Wine internals directly.

>I used EnumSystemCodePages before, but in this case GetCharCodePages set some 
>extra bits in result. So the result differ from Windows

>> ... or rather use mlang internal mlang_data structures.

>I's good idea! Thank you!

So, I use mlang_data[i].family_codepage as you adviced.
May be I misunderstood something?

-- 
Best wishes,
Vitaly Perov
Russia, Saint-Petersburg. www.etersoft.ru



More information about the wine-devel mailing list