[botan-devel] Error Compiling Botan with VS2008 and unicode character project setting

tobeki at gmx.de tobeki at gmx.de
Tue Dec 13 13:11:42 EST 2011


maybe it just depends on the situation for the windows programmer (ci build 
system, build rules)
what combinations of configuration and platform (UTF8, ANSI, Debug, Release, 
x86, x64, combina)
have to be supported.

Regards,
Tobias

-----Ursprüngliche Nachricht----- 
From: Jack Lloyd
Sent: Tuesday, December 13, 2011 3:03 PM
To: Botan development list
Subject: Re: [botan-devel] Error Compiling Botan with VS2008 and unicode 
character project setting


On Tue, Dec 13, 2011 at 08:58:02AM +0800, Joel Low wrote:

> I'm not too sure, but my inclination when dealing with such code is
> to convert the ANSI to Unicode and call the W version regardless,
> unless you're intending to target Win9x (which IIRC VS2008 does not
> support anyway -- what are the compilers supported by Botan, Jack?)

In theory VS 2003 and on are supported, though I only test regularly
with 2008/2010. I doubt I would do much to support Win9x though, I
think requiring at least 2000 is pretty reasonable at this point.

>From the perspective of a Windows programmer would it make sense for a
function taking a std::string used as a filesystem name to assume it
is in UTF-8, convert to wide characters with MultiByteToWideChar and
call the W version?

-Jack
_______________________________________________
botan-devel mailing list
botan-devel at randombit.net
http://lists.randombit.net/mailman/listinfo/botan-devel 




More information about the botan-devel mailing list