From b47cf2b8a9f66fc4cd7062fbc2ea68d3e959bef1 Mon Sep 17 00:00:00 2001 From: hypersurge Date: Thu, 16 Jan 2020 09:57:14 -0800 Subject: [PATCH] removed deprecated haxe.Utf8 dependency --- lib/tjson/TJSON.hx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/tjson/TJSON.hx b/lib/tjson/TJSON.hx index 19a581c..c829a27 100644 --- a/lib/tjson/TJSON.hx +++ b/lib/tjson/TJSON.hx @@ -270,9 +270,7 @@ class TJSONParser{ else throw "Not a hex digit"; } - var utf = new haxe.Utf8(); - utf.addChar(hexValue); - symbol += utf.toString(); + symbol += String.fromCharCode(hexValue); continue; }