uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject Re: [jira] Commented: (UIMA-1717) Use Apache Hudson and Nexus repository facilities
Date Fri, 11 Feb 2011 13:17:45 GMT
On 2/11/11 1:58 PM, Jörn Kottmann wrote:
> On 2/11/11 1:49 PM, Jörn Kottmann wrote:
>> For some reason there are two tests failing on hudson,
>> I believe one could be related to an encoding issue.
> In FileUtilTest we have the following piece of code:
> FileUtils.saveString2File(text, tmpFile1);
> text is a String which contains a German umlaut, depending
> on the platform local it might not be possible to encode and decode the
> umlaut correctly. In that case the umlaut is encoded as "?" and then 
> decoded
> "?", which fails the assertEquals which expects the correct umlaut.

To make the UIMA build independent of the local we have to drop this 
part of the
test where it writes the file without specifying the local. In the part 
of the test the  file is saved
with UTF-8 local which is available per Java Specification on every 
compliant JVM.


View raw message