title: JSON.parse UTF-8 string
body: <p>I'm trying to parse a UTF-8 encoded string, but JSON.parse is choking on this line:</p>
  
  <blockquote>
    <p>undefined:306
        , "o": { "type": "uri", "value": "<a href="http://got.dbpedia.org/resource/" rel="noreferrer">http://got.dbpedia.org/resource/</a>\U00010331\
                                                                           ^
    SyntaxError: Unexpected token U</p>
  </blockquote>
  
  <p>this is the line I use:</p>
  
  <pre><code>var object = JSON.parse(data);
  </code></pre>
  
  <p>I've also tried with this line, but no success:</p>
  
  <pre><code>var object = JSON.parse(data.toString('utf8'));
  </code></pre>
  
  <p>Any idea?</p>