[XML-SIG] Determining output encoding of a SAX parser

A.M. Kuchling akuchlin@mems-exchange.org
Tue, 24 Oct 2000 22:40:38 -0400


Is there any way to determine the encoding of the output from a SAX1
parser driver?  It's clear if the callbacks are being passed Unicode
strings, but with 8-bit strings you have no way of knowing if they're
in Latin1 or UTF-8 or anything (unless you know what parser you're
using).  

Given that SAX2 does seem to support this with
XMLReader.{get,set}Encoding(), is this worth fixing in SAX1?  

--amk