title: Converting JSON strings with escaped Unicode characters to JavaScript objects
body: <p>I have a JSON string which contains an escaped Unicode character. The JSON includes this snippet:</p>
  
  <p><code>I co-ordinate our Chat Literacy network \u2013 an online group for practitioners of Information Literacy</code></p>
  
  <p>The <code>\u2013</code> is a long dash.</p>
  
  <p>I'm using</p>
  
  <p><code>var theObject = eval ("(" + jsonString + ")");</code></p>
  
  <p>to convert the JSON string to a JavaScript object. I need to use a version of SpiderMonkey that doesn't have a direct JSON to Object method in it.</p>
  
  <p>After conversion, the character in question becomes the Unicode control character <code>\0013</code> which is an invalid UTF-8 character.</p>
  
  <p>Is there another way I can convert the JSON to an object which will preserve the correct long-dash character? Maybe some other JSON to Object method I can load?</p>
  
  <p>This happens with some other characters also, like curly quotes.</p>
  
  <p>Thanks,</p>
  
  <p>Doug</p>