I want to display the special characters in a font using canvas fillText. The code is basically:
canvas = document.getElementById("mycanvas");
context = canvas.getContext("2d");
hexstring = "\u00A9";
//hexstring = "\\u" +"00A9";
context.fillText(hexstring,100,100);
If I use the first hexstring, it works and I get the copyright symbol. If I use the second one, it just displays \u00A9.  Since I need to iterate through the numbers, I need to use the second one to display all the special characters of a font. I am using utf-8. What am I doing wrong?
 
     
     
    