From: Gareth H. <gar...@st...> - 2003-04-16 11:29:13
|
I have an XML document with ISO-8859-1 encoding, however when I add this document to the database using the code below the encoding is changed to UTF-8. From the JavaDocs I can't see any method of specifying to eXist that I wish to keep the ISO-8859-1 encoding. This didn't seem to cause any problems with some characters in 0.9, however now I've migrated to 0.9.1 I'm getting all sorts of strange characters popping up in my XML. Any suggestions would be appreciated. // create new XMLResource XMLResource resource = (XMLResource)col.createResource(id, "XMLResource"); // set Resource content resource.setContent(xml); // submit xmlResource to database col.storeResource(resource); Gareth J Hall gar...@st... mobile: +447971037081 MSN: ga...@ho... AOL: gaz207 |