Mark Summerfield <[EMAIL PROTECTED]> added the comment: You're right that the parser should not recognise "utf8" since it isn't correct XML (as per the references you gave).
I made the mistake because I used the etree module and wrote an XML file with encoding "utf8" which etree accepted. I've now switched to using "UTF-8". __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2278> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com