2008/6/24 Dmitry Timoshkov <[EMAIL PROTECTED]>: > >> And could we hardcode CJK codepages to fix GdiGetCodePage? > > What do you mean?
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. If we could do so, I'll try to send a patch for GdiGetCodePage with tests. Is't OK? Thanks. -- $ apt-get moo (__) (oo) /------\/ / | || * /\---/\ ~~ ~~ ...."Have you mooed today?"...