Friday, 6 September 2013

Change XML encoding with DOM - Java

Change XML encoding with DOM - Java

I need to work with a huge amount of XML files that are set as
"ISO-8859-1". They are not created by me and I need to extract some
information of them.
But I'm getting trouble because of a few characters like ó (ó) or â (â),
etc... I can't work with them, I need it to be "UTF-8"
I would like to know if DOM has any method that allows this change when
extracting the information from the files or if I could create some method
that would change the encoding of all files.
Thanks in Advance.

No comments:

Post a Comment