STINNER Victor <victor.stinner at haypocalc.com> added the comment: See also issue #7651: "Python3: guess text file charset using the BOM". ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue1697943> _______________________________________