Using "".charCodeAt() and String.fromCharCode to obtain some characters (code value > 55349) with JS
<p>I have a problem with unicode character and JS. I have a bookmarklet to help me typing strange unicode character.</p>

<p>I use <code>"".charCodeAt(pos)</code> to obtain the unicode code to reproduce same strange character, and <code>String.FromChardCode</code> for the reverse.  But, for characters that have a unicode code > 55349 I have a problem:
<a href="http://en.wikipedia.org/wiki/Blackboard_bold" rel="nofollow">http://en.wikipedia.org/wiki/Blackboard_bold</a></p>

<p>For example for the Blackboard bold X (120169):</p>

<p>if I try to obtain it from code:</p>

<pre><code>alert(String.fromCharCode(120169));
</code></pre>

<p>I obtain another character, the same thing if I try to obtain the code directly from JS:</p>

<pre><code>s="";
alert(s.charCodeAt(0))
alert(s.charCodeAt(1))
</code></pre>

<p>Results:
55349
56655</p>

<p>There is a method to work with these kind of characters?</p>

<hr>
