How to ask sax for the file encoding

Fredrik Lundh fredrik at pythonware.com
Wed Oct 4 15:10:11 EDT 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.

</F>




More information about the Python-list mailing list