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.
Jörn