title: json.load() function give strange 'UnicodeDecodeError: 'ascii' codec can't decode' error
body: <p>I'm trying to read a JSON file I have saved in a text file using the python .loads() function. I will later parse the JSON to obtain a specific value.</p>
  
  <p>I keep getting this error message. When I google it, there are no results.</p>
  
  <blockquote>
    <p>UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position >85298: ordinal not in range(128)</p>
  </blockquote>
  
  <p>Here is the full error message:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):   File ".../FirstDegreeKanyeScript.py", >line 10, in      data=json.load(data_file)   File >"/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/json/<strong>in>it</strong>.py", line 265, in load     return loads(fp.read(),   File >"/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/encodings>/ascii.py", line 26, in decode     return codecs.ascii_decode(input, >self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 >in position 85298: ordinal not in range(128)</p>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>import json
  from pprint import pprint
  
  with
  open("/Users/.../KanyeAllSongs.txt") as data_file:
      data=json.load(data_file)
  
  pprint(data)
  </code></pre>
  
  <p>I've tried adding <code>data.decode('utf-8')</code> under the <code>json.load</code>, but I still get the same error.</p>
  
  <p>Any ideas what could be the issue?</p>