Hi Jason.
This is a Chinese character inunicode: 挪
I made it in Javascript by adding "&#"+"25"+"386"
I need to convert it in Javascript to this: 挪 (The actual character)
How do I achieve this conversion in Javascript?挪 isn't the character inUnicode, it's the numeric character
entity in XML and HTML that means that character. Â 25386 is theUnicode
codepoint of that character. Â You can use the String.fromCharCode
function to create a string with a single character, given the codepoint.
If you have the codepoint, just pass it to the function. Â If you have
the string "挪", you need to extract the number from the string
and then pass it to the function. Â You can use something like:
 function numericEntityToChar(s) {
  return String.fromCharCode(s.match(/^&#(\d+);$/)[1]);
 }
If you have a numeric character entity that uses hexadecimal, you'll
have to do it differently, e.g.:
 function numericEntityToChar(s) {
  var xs = s.match(/^&#(x[0-9A-Fa-z]+);$/));
  if (xs) {
   return Number('0' + xs[1]);
  }
  return Number(s.match(/^&#(\d+);$/)[1]);
 }
(Completely untested code, though.)