Hi, I have implemented a SAX2xmlreader parser. I don't know how to change the xml encoding. For instance while reading a file encoded in UTF-8 I would like to change the output encoding to somethig else (utf-16 or any other)
The SAX2XMLReader reads a file, and doesn't have the notion of an output encoding. You need an output encoding when you save a DOM tree into a file, but that operation is done by the DOMWriter class (that accepts an output encoding as a parameter)
Alberto
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]