Richard Eckart de Castilho created UIMA-4648:
------------------------------------------------
Summary: CpeBuilder writes descriptor in system encoding
Key: UIMA-4648
URL: https://issues.apache.org/jira/browse/UIMA-4648
Project: UIMA
Issue Type: Bug
Components: uimaFIT
Affects Versions: 2.1.0uimaFIT
Reporter: Richard Eckart de Castilho
Assignee: Richard Eckart de Castilho
Fix For: 2.2.0uimaFIT
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:
{noformat}
BufferedWriter out = null;
try {
out = new BufferedWriter(new FileWriter(tempDesc));
resource.toXML(out);
} finally {
IOUtils.closeQuietly(out);
}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)