Re: encoding and saxparser

2003-01-16 Thread Paul Libbrecht
On Mercredi, janv 15, 2003, at 23:14 Europe/Paris, Joseph Shraibman wrote: 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 st

encoding and saxparser

2003-01-15 Thread 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 DOMParser handles the encoding properly, but SAXParser does not. So