<div dir="ltr"><div dir="ltr">Hello,<div><br></div><div>I try to create an extension containing an utf8 string. </div><div><br></div><div>When I use a command <br clear="all"><div><br></div><div>openssl asn1parse -genstr "UTF8String:ф" -out content<br></div><div><br></div><div>I get a 6-byte file. If I understand correctly, it starts with a 2-byte header indicating the content length and then contains an encoded letter 'ф' I want. But the encoding of it is not UTF8, as the utf8 encoding of a cyrillic letter is 2 bytes long. </div><div><br></div><div>Am I wrong? If the behavior I see is desired one, how can I convert the result of the encoding to UTF8 using openssl internal API?</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">SY, Dmitry Belyavsky</div></div></div></div>