3 Aug
2008
3 Aug
'08
3 a.m.
"Vitaly Perov" <vitperov(a)etersoft.ru> wrote:
@@ -1855,8 +1855,56 @@ static HRESULT WINAPI fnIMLangFontLink_GetCharCodePages( WCHAR chSrc, DWORD* pdwCodePages) { - FIXME("\n"); - return E_NOTIMPL; + /* codepages, supported by Windows */ + static const unsigned int processCP[] = {1250, 1251, 1252, 1253, 1254, 1255, + 1256, 1257, 1258, 874, 932, 936, 949, 950, 0};
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. -- Dmitry.