On 21/02/12 15:59, Jens Grivolla wrote: > Hi, > > 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? > > Bye, > Jens >
Have you checked that it's really the writing end where things get corrupted, and not the reading end? Just a thought... --Thilo