UTF8 question

2008-06-16 Thread Gerhard Gappmeier
Hi I can create certificates with UTF-8 Strings like this: X509_NAME_add_entry_by_txt ( pName, CN, MBSTRING_UTF8, ( unsigned char* ) subject.commonName.toUtf8(), -1, -1, 0 ); But how can I read back entries in the same encoding? X509_NAME_get_text_by_NID does not return UTF-8 and I cannot find

Re: UTF8 question

2008-06-16 Thread Dr. Stephen Henson
On Mon, Jun 16, 2008, Gerhard Gappmeier wrote: Hi I can create certificates with UTF-8 Strings like this: X509_NAME_add_entry_by_txt ( pName, CN, MBSTRING_UTF8, ( unsigned char* ) subject.commonName.toUtf8(), -1, -1, 0 ); But how can I read back entries in the same encoding?