Walter Dörwald <walter at livinglogic.de> added the comment: Then the solution should simply be to use "utf-8-sig" as the encoding, instead of "utf-8". ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue7185> _______________________________________