JSFiddle - React, Tailwind, and code Playground

HTML

<canvas id="mycanvas">

JavaScript

canvas = document.getElementById("mycanvas");
context = canvas.getContext("2d");

//hexstring = "\u00A9";
var num = "00A9";
var uni = '"\\u' + num+'"';
var hexstring = eval(uni);

//hexstring = "\\u" + "00A9";
//document.write(hexstring);

context.fillText(hexstring,100,100);