[jdom-interest] How to change encoding

Jason Hunter jhunter at xquery.com
Tue Feb 7 09:57:49 PST 2006


format.setEncoding() on the Format instance you pass to the XMLOutputter.

-jh-

info at hassanein.ch wrote:

> Hi
> 
> I have to process an existing XML file and write a new output XML file.
> Additonally I have to change the encoding to the following:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> 
> I am new to JDOM and I could not find anyhting how to do that.
> 
> Any help is very much appreciated.
> 
> --
> Thanks,
> Sam
> 
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
> 


More information about the jdom-interest mailing list