[New-bugs-announce] [issue21509] json.load fails to read UTF-8 file with (BOM) Byte Order Marks
Kristian Benoit
report at bugs.python.org
Wed May 14 22:32:52 CEST 2014
New submission from Kristian Benoit:
I'm trying to parse a json and keep getting ValueError. File reports the file as being "UTF-8 Unicode (with BOM) text", vim reports it as UTF-8, ...
json.load docs says it support UTF-8 out of the box.
Here's a link to the file : http://donnees.ville.sherbrooke.qc.ca/storage/f/2014-03-10T17%3A45%3A18.959Z/matieres-residuelles.json
----------
files: matieres.json
messages: 218573
nosy: Kristian.Benoit
priority: normal
severity: normal
status: open
title: json.load fails to read UTF-8 file with (BOM) Byte Order Marks
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35254/matieres.json
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21509>
_______________________________________
More information about the New-bugs-announce
mailing list