Hi All,
Why are my French apostrophe being converted to questions marks ?
If I have the following input Xml document:
<?xml version="1.0" encoding="ISO-8859-1"?>
<record>
<description>L’architecture de GI/TI </description>
</record>
Parse the document with jdom and write it to the file system with the following format
Format format = Format.getCompactFormat().setEncoding("ISO-8859-1");
XMLOutputter out = new XMLOutputter(format);
FileWriter f = new FileWriter(new File(filename));
out.output(doc, f);
Here is the output:
<?xml version="1.0" encoding="ISO-8859-1"?>
<record><description>L?architecture de GI/TI</description></record>
Any help would be greatly appreciated.
Thanks,
Andrew