i wonder if there is an option in the generateXML() java method to tell the XML-processor what encoding to use. executing a simple Document.generateXML(any_writer_object) seems to use a variable encoding depending on the platform or serverconfiguration. running a generateXML() on the client uses encoding UTF-8 whereas the same on the server generates UTF-16. also, trying to modify the any_writer_object after generation with a stream.setContentFromText(…,“text/plain;charset=UTF-8”…) doesnt change the UTF-16 encoding produced by the method on the server.
anybody an idea where to set the standard for xml-encoding? [this is not the encoding setting in the HTTP task…]