Hi there,
my code inside a jsp should give me an ISO-8859-1 encoded stream:
------------------------------------------------------------------------
----
Document result = <construct a document here>;
response.reset();
response.setContentType("text/xml");
XMLOutputter xout = new XMLOutputter( Format.getPrettyFormat());
xout.getFormat().setEncoding( "ISO-8859-1" );
// xout.output( result, System.out );
xout.output( result, response.getOutputStream() );
------------------------------------------------------------------------
----
But what I get is always UTF-8 encoded.
I know that that representation is from a xml point of view perfectly
legal - but I need
an ISO-8859-1 encoded result (for customer reasons...)
Please let me know if this is the intended behavior or if it's a bug.
I'm using jdom 1.0
Best regards,
Wolfgang
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)