ANSI_CHARSET

Francois Gouget fgouget at free.fr
Tue Sep 3 01:56:49 CDT 2002


On Mon, 2 Sep 2002, Jeff Smith wrote:

> ANSI_CHARSET and SYMBOL_CHARSET need to be defined (in include/wingdi.h),
> but I have some doubts about the details.
>
> SYMBOL_CHARSET should be defined as (BYTE)2, I believe.
>
> If the current value of DEFAULT_CHARSET as (BYTE)1 is correct, then I
> suspect
>   ANSI_CHARSET should be (BYTE)0.  I question the current value of
>   DEFAULT_CHARSET, and suspect it should be the reverse (DEFAULT:0 ANSI:1).
>   DEFAULT defines tend to be 0 except for a few special cases (and this one
>   does not fit as one of in my book).
[...]

Don't know much about this but the Microsoft headers say that:
 * ANSI_CHARSET    is 0
 * DEFAULT_CHARSET is 1
 * SYMBOL_CHARSET  is 2

And that settles it.


--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
              Linux: Because rebooting is for adding new hardware




More information about the wine-devel mailing list