Hi I have the following code and I want the response of the marshaller to be
in UTF-16 (actually its in UTF-8 I think by default)

Code:
http://pastie.org/670624

I've tried to do marshaller.setEncoding('UTF-16') but I get an exception
like this one:

*java.lang.IllegalStateException: encoding cannot be set if you've passed in
your own DocumentHandler at
org.exolab.castor.xml.Marshaller.setEncoding(Marshaller.java:2387)*

Thanks a lot!
-- 
Fernandez, Pablo.

Reply via email to