Frank P Esposito wrote: > Is there a way to get a "call back" from expat that it scanned a bad > utf-8 sequence? > > Now, if that is the case, the scanner stops and returnes to the caller I don't think there is such a thing. I guess you will have to preprocess the string you pass to Expat. Sebastian