You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Peter Sparkes <pe...@didm.co.uk> on 2010/02/05 08:36:13 UTC

Cocoon 2.1.11 Samples CForms Binding

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-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org