How to ask sax for the file encoding

Edward K. Ream edreamleo at charter.net
Wed Oct 4 21:52:31 CEST 2006


> 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.

Sorry, but no.  The *file* is what I am talking about, and the way it is 
encoded does, in fact, really make a difference to some users.  They have a 
right, I think, to expect that the original encoding gets preserved when the 
file is rewritten.

Edward
--------------------------------------------------------------------
Edward K. Ream   email:  edreamleo at charter.net
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------





More information about the Python-list mailing list