How to ask sax for the file encoding

Fredrik Lundh fredrik at
Wed Oct 4 15:51:52 CEST 2006

Edward K. Ream wrote:

> Can anyone tell me how the content handler can determine the encoding of the file?  Can sax 
> provide this info?

there is no encoding on the "inside" of an XML document; it's all Unicode.


More information about the Python-list mailing list