Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.0uimaFIT
-
None
Description
CpeBuilder writes descriptor in system encoding. It should write in UTF-8 as that is also the encoding specified in the XML file.
Problematic code:
BufferedWriter out = null; try { out = new BufferedWriter(new FileWriter(tempDesc)); resource.toXML(out); } finally { IOUtils.closeQuietly(out); }