Message197155
>>> 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. |
|
Date |
User |
Action |
Args |
2013-09-07 13:10:19 | vajrasky | set | recipients:
+ vajrasky, Gallaecio |
2013-09-07 13:10:19 | vajrasky | set | messageid: <1378559419.86.0.645863176446.issue18958@psf.upfronthosting.co.za> |
2013-09-07 13:10:19 | vajrasky | link | issue18958 messages |
2013-09-07 13:10:19 | vajrasky | create | |
|