The function saveDocument(document, uri) saves the xml as ISO-8859-1 even though the OutputKeys are set as:

transformer.setOutputProperty(Packages.javax.xml.transform.OutputKeys.METHOD, "xml"); transformer.setOutputProperty(Packages.javax.xml.transform.OutputKeys.ENCODING, "UTF-8");

Please, is there any way to get saveDocument(document, uri) to save the xml as UTF-8

Thanks

Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to