Fixed. There was a mistake in the code - instead of conversion
from UTF8 the code was trying to convert from current locale.
Please try the version from Gnome GIT and let me know if you
still have a problem.

Thanks again for bug report and sorry that I didn't ask for
a repro material (xml template) right away.

Aleksey

On 4/21/2010 7:56 AM, Jirka Kosek wrote:
Aleksey Sanin wrote:
Bingo! "CN=Jiří Novák" is *not* UTF8 encoding. This is
why you got these errors from LibXML2 parser. You need
to either manually convert the string to UTF8 (e.g. using
iconv) or simply specify the native code page (wild guess,
it is 1250 or 1252).

I'm confused. Are you talking about XML file with signature template?
What else should I do then just safe file in UTF-8 and provide correct
encoding declaration at the top of the file?

I have attached real document I have used for testing, so you can see
that it is properly encoded in UTF-8. I'm also attaching exported key,
password is "test".

Thanks,

                                Jirka

_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to