[cairo] [PATCH] script: More compatible with C89 and VC++.

Krzysztof Kosiński tweenk.pl at gmail.com
Fri Jun 25 16:47:15 PDT 2010

2010/6/25 Bill Spitzak <spitzak at gmail.com>:
> Isn't there a way to force the "system code page" to be UTF-8?

No. MSDN docs say there is an UTF-8 codepage, but in practice you can
only use it in encoding conversion functions. It doesn't work when you
try to use it set it the console codepage or as the locale codepage.

> UTF-8 is involved if the system encoding is UTF-8.

See above, it's not possible.

The only way to handle all files is to use the "wide" versions of
Windows API functions. The C library on Windows cannot handle Unicode
in any form.

Regards, Krzysztof Kosiński

More information about the cairo mailing list