out = new LineWriter(new FileWriter(new File
(outputDir, xmlName + ".xml")), 24 * 1024);
The FileWriter use default encoding and not UTF8.
If you have some remarks attribute with french
characters like 'é', the XML file is invalid.
If you use the other constuctor for FileWriter, all
will be right I think.
out = new LineWriter(new FileOutputStream(new File
(outputDir, xmlName + ".xml")));
Many thanks for your great work!
Log in to post a comment.