Changes by Andrew Ziem ahz...@gmail.com:
--
nosy: +AndrewZiem
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7519
___
___
Python-bugs-list mailing
Mark Lawrence breamore...@yahoo.co.uk added the comment:
Closing as the main BOM issue is addressed on #7651 and a solution to the OP's
problem is given in msg97335.
--
nosy: +BreamoreBoy
resolution: - duplicate
status: open - closed
superseder: - Python3: guess text file charset
Łukasz Langa luk...@langa.pl added the comment:
This is a sign of a broaded issue and should either be closed as invalid or
superseeded by the main BOM issue.
Brett, I would close it.
--
nosy: +brett.cannon, lukasz.langa
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
Use utf_8_sig charset and open your file using io.open() or codecs.open() to
get unicode sections, options and values.
Example:
-
from ConfigParser import ConfigParser
import io
# create an
Changes by Benjamin Peterson benja...@python.org:
--
title: CompileParser can't read files with BOM markers - ConfigParser can't
read files with BOM markers
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7519