On Mon, Sep 26, 2005 at 02:07:40PM +0200, Vincent WYON wrote:

> Hi all,
> 
> I want to create some certificates which CN has special french characters 
> (like ?, ? or ?...). When I called the function X509_Name_add_entry_by_NID 
> with this special string (like "Fr?d V?l?"), it returns an error.
> After debugging the application, i found that it's the function UTF8_getc 
> whose returns the error....
> 

Your input string is likely ISO-8859-1, provide input that *is* UTF8
encoded, in UTF8, non-ASCII characters take at least two bytes to encode:

http://www.ietf.org/rfc/rfc3629.txt

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to