Hi,
i export xml data with german umlauts (?,?, etc.)
The standard marshaller convert for example ? to ö
But i want to export ? instead of ö
The JAXB example character-escape shows how to write your own characterEscapeHandler.
I do so and it works.
But i want to rename the namespaces too!
To renaming the namespaces i use the DataWriter from David Megginson.
If i execute marshaller.marshal(rootElement,dataWriter) then the namespaces are renamed but not the umlauts.
If i execute marshaller.marshal(rootElement,System.out) then the umlauts are converted correctly.
Any idea?
Thanks
Christoph Brunner