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 <rep...@bugs.python.org> <http://bugs.python.org/issue21509> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com