Closed calledit closed 10 years ago
Example: console.log("It’s free and always will be.");
that works fine i get the exact same stuff in the console.
w.print("It’s free and always will be.");
Prints like this: It�~@~Ys free and always will be.
So ncurses or something in the bindings are somehow altering the bytes in the text. How can i disable that.
OK so adding: the folowing to the js files makes it work sl = require('setlocale'); sl.setlocale(sl.LC_ALL, '');
Example: console.log("It’s free and always will be.");
that works fine i get the exact same stuff in the console.
w.print("It’s free and always will be.");
Prints like this: It�~@~Ys free and always will be.
So ncurses or something in the bindings are somehow altering the bytes in the text. How can i disable that.