mirror of
https://github.com/s00500/nodeMessageBoard.git
synced 2024-11-16 15:10:54 +00:00
8 lines
187 B
JavaScript
8 lines
187 B
JavaScript
|
var utfx = require("utfx");
|
||
|
//console.log(utfx.assertCharCode(0xD83DDE03));
|
||
|
|
||
|
//var bytes = ["f09f9883"];
|
||
|
|
||
|
var charcode = "0031";
|
||
|
console.log(String.fromCharCode(parseInt(charcode, 16)));
|