Re: Fwd: TLS/SSH bugs

Peter Gutmann <[email protected]> Wed, 10 Dec 2014 14:43:51 +1300
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
David Harris <[email protected]> writes:

>It's easy to use UTF-8 in Windows: just use the MultiByteToWideChar and
>WideCharToMultiByte functions with the CP_UTF8 code page to convert between
>unicode or ACP and UTF-8.

That's only how to do it programmatically though, not how it was originally
created. The Windows native character sets are Windows/OEM code pages or
Unicode, not UTF8, so whatever got fed to cryptlib would presumably have been
a particular Windows code page or Unicode, not UTF8.  Once you know you've got
UTF8, converting it is easy, the problem is how you got, or got to, UTF8 in
the first place.

Peter.


_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.