uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Eckart de Castilho (JIRA)" <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-4648) CpeBuilder writes descriptor in system encoding
Date Fri, 13 Nov 2015 20:50:11 GMT

     [ https://issues.apache.org/jira/browse/UIMA-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard Eckart de Castilho resolved UIMA-4648.
----------------------------------------------
    Resolution: Fixed

> 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)

Mime
View raw message