--- Lib/json/__init__.py~ 2014-05-17 10:11:32.362403898 -0400 +++ Lib/json/__init__.py 2014-05-17 10:27:15.263079490 -0400 @@ -283,6 +283,12 @@ def load(fp, encoding=None, cls=None, ob kwarg; otherwise ``JSONDecoder`` is used. """ + if encoding in [None, "utf-8"]: + bom = fp.read(3) + if bom is not "\xef\xbb\xbf": + encoding = "utf-8" + fp.seek(0) + return loads(fp.read(), encoding=encoding, cls=cls, object_hook=object_hook, parse_float=parse_float, parse_int=parse_int,