[issue7519] ConfigParser can't read files with BOM markers

2010-09-23 Thread Andrew Ziem
Changes by Andrew Ziem ahz...@gmail.com: -- nosy: +AndrewZiem ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7519 ___ ___ Python-bugs-list mailing

[issue7519] ConfigParser can't read files with BOM markers

2010-07-25 Thread Mark Lawrence
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

[issue7519] ConfigParser can't read files with BOM markers

2010-07-23 Thread Łukasz Langa
Ł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

[issue7519] ConfigParser can't read files with BOM markers

2010-01-06 Thread STINNER Victor
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

[issue7519] ConfigParser can't read files with BOM markers

2009-12-25 Thread Benjamin Peterson
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