On Monday, January 7, 2002, at 03:47 PM, Gianugo Rabellino wrote:
I spent quite a lot of time and effort to try and track down the new encoding bug that appeared today to my Solaris installation (Sparc/Sol8, tried JDK 1.3.1.01, 1.3.1.0, 1.4b3) to no avail. Tracing the throughput of the XML data it seems to me that the problem finally lies in DOMParser.java or, better, in the underlying SAX parser. Until then, AFAIK, the data that flow through are good: the byte arrays look fine and if converted to Strings a conversion via getBytes("UTF-8) always did the trick. after the Sp.parse() method is called, though, the char[]s received in the character() method look screwed up, with all the encoding information lost.

I'll continue to try to track this down. Are the errors you're seeing only happening as the document comes out of the server or as it goes in as well?


I hope someone can shed some light on it. Meanwhile, being in bed with a flu, I'll give up hacking and wait for your help :)

-- Tom Bradford - http://www.tbradford.org Developer - Apache Xindice (Native XML Database) Creator - Project Labrador (XML Object Broker)



Reply via email to