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

2010-09-23 Thread Andrew Ziem
Changes by Andrew Ziem : -- nosy: +AndrewZiem ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

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

2010-07-25 Thread Mark Lawrence
Mark Lawrence 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 using the BOM _

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

2010-07-23 Thread Łukasz Langa
Łukasz Langa 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 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 utf-8 .ini file with a BOM marker

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

2009-12-25 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- title: CompileParser can't read files with BOM markers -> ConfigParser can't read files with BOM markers ___ Python tracker ___