xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Shraibman <...@selectacast.net>
Subject encoding and saxparser
Date Wed, 15 Jan 2003 22:14:31 GMT
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");

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?

In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message