R. David Murray added the comment:
This is not a problem with the csv module in particular. See issue 7651.
--
nosy: +r.david.murray
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Python3: guess text file charset using the BOM
_
New submission from Jon Dufresne:
The following test script demonstrates that Python's csv library does not
handle a BOM. I would expect the returned row to be equal to expected and to
print 'True' to stdout.
In the wild, it is typical for other CSV writers to add a BOM. MS Excel is
especiall