EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Encoding problem

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
Posted: 01/30/2007 06:52:14
by Mirko R (Basic support level)
Joined: 10/11/2006
Posts: 2


I have a problem. If I load a xml, encoding in utf-8, and then sign this xml, is result in uft-16 formats.
How to loadin and sign XML document that has utf-8 XML encodings?

regards Mirko
Posted: 01/30/2007 13:18:18
by Dmytro Bogatskyy (EldoS Corp.)

On load the xml document converted to unicode (utf-16) and all string fields of TElXML* class are in unicode format.
The SimpleSigner sample show the data of node in utf-16 format.
Document.SaveToStream save to utf-8 encoding by default, you can specify other encodings as well.

P.S. If it doesn't solve your issue, please send me the xml file.



Topic viewed 2817 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!