You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Likan <li...@yahoo.fr> on 2003/08/29 09:20:50 UTC

Handling accents in DOMDocuments

(My apologies, I accidentally sent this mail as a reply to another thread).

Hi!

When trying to check the signature of a previously generated signed xml file, in java, the
verifier stumbles upon accentuated characters such as 'é' (&eacute;).
Whereas the character is correctly interpreted in the xml file, it is
transformed into a hieroglyph which is neither its UTF-8 nor its ISO-8859-1
representation. Because of that, the validation fails every time. What can I
do to specify a charset for the domdocument which correctly encodes this
type of character?
Thanks!
--
Likan.