diff options
Diffstat (limited to 'src/lbaselib.js')
-rw-r--r-- | src/lbaselib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lbaselib.js b/src/lbaselib.js index ca95e98..30e77fb 100644 --- a/src/lbaselib.js +++ b/src/lbaselib.js @@ -11,7 +11,7 @@ if (typeof process === "undefined") { buff = buff.concat(s); }; lua_writeline = function() { - console.log(lua.to_jsstring(buff)); + console.log(new TextDecoder("utf-8").decode(Uint8Array.from(buff))); buff = []; }; } else { |