Re: Fwd: TLS/SSH bugs
"David Harris" <[email protected]> Wed, 10 Dec 2014 14:13:16 +1300
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <[email protected]> |
On 10 Dec 2014 at 11:31, Peter Gutmann wrote: > >See this post for an example what the Security Wizard does with ASN1 > >UTF8Strings: http://forums.apc.com/message/65550#65550 > > How do you get a UTF-8 string into Windows? Its native format is > Unicode/UTF-16, where does the UTF8 string come from? Is this an > existing certificate that contains UTF8 strings which the wizard is > displaying? Can you send me a copy of the cert? 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. An increasing number of applications now include the conversion step between UTF16 and UTF-8 because UTF-8 is more widely interoperable - it doesn't suffer from endianness issues and almost utterly dominates the HTML/HTTP world these days. Cheers! -- David -- ------------------ David Harris -+- Pegasus Mail ---------------------- Box 5451, Dunedin, New Zealand | e-mail: [email protected] Phone: +64 3 453-6880 | Fax: +64 3 453-6612 Real newspaper headlines from US Papers: "Two soviet ships collide - one dies". _______________________________________________ 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.