Hi,
i try to build a xml-document from scratch and write it to a file.
OutputFormat format = OutputFormat.createPrettyPrint();
format.setEncoding(this.aEncodingScheme);
XMLWriter writer = new XMLWriter(new FileOutputStream(file), format);
//XMLWriter writer = new XMLWriter(new FileOutputStream(file));
writer.write(doc);
writer.close();
This works, but if i try to set an encoding like UTF-8 or UTF-16 or
ISO-8859-1 i got a java.io.UnsupportedEncodingException.
Anyone have some suggestions?
Frank Weyhers
PS: I use dom4j 1.3 / Jaxp1.1
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user