[jdom-interest] Want ISO-8859-1 in XMLOutputter, not UTF-8?

MarkW mark.wilson at wilsoncom.de
Thu Mar 13 06:34:36 PST 2003


Hi,
 
try 
xmlOut.setEncoding( "ISO-8859-1" );
 
regards,
Mark

-----Original Message-----
From: jdom-interest-admin at jdom.org [mailto:jdom-interest-admin at jdom.org]
On Behalf Of Rob Mitchell
Sent: Thursday, March 13, 2003 3:28 PM
To: jdom-interest at jdom.org
Subject: [jdom-interest] Want ISO-8859-1 in XMLOutputter, not UTF-8?


Hi,
 
How do I get ISO-8859-1 instead of UTF-8 using XMLOutputter?
 
 
 XMLOutputter xmlOut = new XMLOutputter("  ", true);
 xmlOut.setTextNormalize(true);
 xmlOut.output(jdomDoc, System.out());

 
 

_______________________________________
Rob Mitchell
Base Class Technologies, Inc.
Java, WebSphere, Domino, Oracle, Web development
rjmitchell at attbi.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20030313/f98b10ee/attachment.htm


More information about the jdom-interest mailing list