encoding and saxparser 2003-01-15 - By Joseph Shraibman
I have code that looks like this:
SAXParser sp = new SAXParser(); sp.setContentHandler(tch); //tch is my content handler InputSource is = null; is = new InputSource("/tmp/temp1.xml"); sp.parse(is);
My xml starts with <?xml version="1.0" encoding="ISO-8859-1"?> DOMParser handles the encoding properly, but SAXParser does not. So how do I handle this?
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|