[SDL] Unicode wm caption
will
willeom at gmail.com
Wed Jan 2 20:18:03 PST 2008
Ryan C. Gordon <icculus <at> icculus.org> writes:
>
>
> > Sam, can Unicode caption support be made as an optional compilation switch in
a
> > future release?
>
> In theory, you should always be giving SDL strings in UTF-8 encoding,
> and it will deal with making them "Unicode" behind the scenes (or
> dithering them to the correct codepage--or maybe just '?' chars--for
> win9x systems.
>
> It's possible that we don't handle this correctly for window captions on
> Win32, though and are using the "Ansi" win32 entry point...if that's the
> case, it's a bug and we'll fix it.
>
> --ryan.
>
Hey Ryan. I think I might be using the ANSI win32 entry point because when I run
my application on Vista SDL converts all non ASCII UTF-8 characters into a '?'.
BTW is ANSI the default when building SDL via MinGW and Msys on Vista? If so, is
there an easy way switch to Unicode?
Thanks!
--Bill
More information about the SDL
mailing list