title: Unicode characters from charcode in javascript for charcodes > 0xFFFF
body: <p>I need to get a string / char from a unicode charcode and finally put it into a DOM TextNode to add into an HTML page using client side JavaScript.</p>
  
  <p>Currently, I am doing:</p>
  
  <pre><code>String.fromCharCode(parseInt(charcode, 16));
  </code></pre>
  
  <p>where <code>charcode</code> is a hex string containing the charcode, e.g. <code>"1D400"</code>. The unicode character which should be returned is <code></code>, but a <code>퐀</code> is returned! Characters in the 16 bit range (<code>0000</code> ... <code>FFFF</code>) are returned as expected.</p>
  
  <p>Any explanation and / or proposals for correction?</p>
  
  <p>Thanks in advance!</p>