How to ask sax for the file encoding

Fredrik Lundh fredrik at
Wed Oct 4 21:10:11 CEST 2006

Edward K. Ream wrote:

> I'm asking this question because my app needs it :-)  Imo, there is *no* 
> information in any xml file that can be considered irrelvant.

the encoding isn't *in* the XML file, it's an artifact of the 
serialization model used for a specific XML infoset.  the XML
data is pure Unicode.


More information about the Python-list mailing list