Hi,

thank you for your help, I solved this using ASN1_STRING_to_UTF8 Openssl 
function.

Regards.

Nelson Bolyard escribió:
> j.fabre wrote:
>
>   
>> The common name´s length si 51, and there are the hexadecimal print of
>> the commonName :
>>     
>
> [snip]
>   
>> <20 --> >
>> <41 -->A>
>> <47 -->G>
>> <ff ff ff dc -->Ü> ---------------------> Here is the problem, but this
>> character could be coded in UTF-8, since I know that UTF-8 chars can be
>> coded using until 4 bytes.
>> <45 -->E>
>> <52 -->R>
>> <4f -->O>
>> <20 --> >
>>     
>
> The character ff ff ff dc is NOT the character for umlauted U.
> It is the Unicode code value for a character that is not valid UTF8.
> when converting from another character set/encoding to UTF8, and
> characters that cannot be converted get replaced with that.
> But If I recall correctly, that is not the UTF8 value for that character.
> That is the UCS4 or UCS2 Unicode value.
> So I suspect there's some character set conversion problem going on.
>
>
> _______________________________________________
> dev-tech-crypto mailing list
> dev-tech-crypto@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
>   

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to