Skip to content
Snippets Groups Projects
Commit e8f9ad60 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Support spying node being a UTF-8 terminal

console.write() converts CP437->UTF-8, so use write_raw() instead since
we're already doing the CP437->UTF-8 conversion here.

As reported by Keyop.
parent 55fe8753
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ function output(str)
str = utf8_encode(str);
}
if(js.global.console)
console.write(str);
write_raw(str);
else
write(str);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment