Mysterious xml.sax Encoding Exception

"Martin v. Löwis" martin at v.loewis.de
Fri Feb 1 21:51:35 CET 2008


> They sent me the actual file, which was created on Windows,  as an
> email attachment.  They had also sent the actual dataset from which
> the XML was generated so that I could generate it myself using the
> same version of our app as the user has.  I did that but did not get
> an exception.

So are you sure you open the file in binary mode on Windows?

Regards,
Martin



More information about the Python-list mailing list