"Huang, Zhangrong" <[EMAIL PROTECTED]> wrote: > I mean fix GdiGetCodePage like: > > if (charset == ANSI_CHARSET || charset == DEFAULT_CHARSET) > { > cp = GetACP(); > if (cp == 936 || cp == 950 || cp == .....) > return cp; > > else (TranslateCharsetInfo(....)) > .... > } > > I didn't see any better way.
That definitely will break any charset specified in the font (like symbol, russian, etc.) in CJK locale. Most likely what happens is a font linking/substituting for ANSI_CHARSET. -- Dmitry.