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?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL