[resend] gdi32/tests: Add tests for GdiGetCodePage.

Huang, Zhangrong hzhrong at gmail.com
Tue Jun 24 08:47:29 CDT 2008


2008/6/24 Dmitry Timoshkov <dmitry at codeweavers.com>:
>
>> 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?"...



More information about the wine-devel mailing list