uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Grivolla <j+...@grivolla.net>
Subject InlineXMLCasConsumer fails depending on locale
Date Tue, 21 Feb 2012 14:59:38 GMT

it appears that InlineXMLCasConsumer depends on the system locale for 
some internal transformations. The output appears to be written in UTF8 
(outStream.write(xmlAnnotations.getBytes("UTF-8"));) but when used on a 
machine with a locale of ASCII all accented characters get broken.

I suspect that it has to do with the XMLSerializer working on a 
ByteArrayOutputStream, but haven't been able to track it down yet.

Any ideas?


View raw message