Author vajrasky
Recipients Gallaecio, vajrasky
Date 2013-09-07.13:10:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378559419.86.0.645863176446.issue18958@psf.upfronthosting.co.za>
In-reply-to
Content
>>> a = open('/tmp/input.json')
>>> b = a.read()
>>> b[0]
'\ufeff'
>>> import json
>>> json.loads(b[1:])
loads just fine....
>>> json.loads(b)
chokes.....


Whether python json module should handle '\ufeff' gracefully or not, I am not sure. Let me investigate it.
History
Date User Action Args
2013-09-07 13:10:19vajraskysetrecipients: + vajrasky, Gallaecio
2013-09-07 13:10:19vajraskysetmessageid: <1378559419.86.0.645863176446.issue18958@psf.upfronthosting.co.za>
2013-09-07 13:10:19vajraskylinkissue18958 messages
2013-09-07 13:10:19vajraskycreate