French Characters in XML Document...Somewhat Urgent.
I have some XML files with multi-language (namely English and French) messages
in them to be displayed to end users within a web application. I am using
JDOM(b7) to read the XML files, and it chokes and dies when I add special
french characters into the file.
Is there a different encoding I can use to prevent this from happening? The
error I am getting looks like the following:
org.jdom.JDOMException: Error on line 1: Character conversion error: "Malformed
UTF-8 char -- is an XML encoding declaration missing?" (line number may be
I get the same error whether the document encoding is UTF-8, or ISO-8859-1.
Can someone please help?
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center