Ezio Melotti <ezio.melotti at gmail.com> added the comment: s/U+FFEF/U+FEFF/ See also http://unicode.org/faq/utf_bom.html#bom1 ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue13662> _______________________________________