Jakob Lund wrote:
> #ifdef WINDOWS
>    TiXmlDocument doc( somehow_convert_to_utf16( filename ) );
> #else
>    TiXmlDocument doc( filename.toUtf8().constData() );
> #endif
> (I made up the syntax, but you get the idea, right?)

It's MultiByteToWideChar on Windows.

Krzysztof


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to