I am writing an application in node.js and see that I can do such things:
var buf = new Buffer("Hello World!") console.log(buf.toString("hex")) console.log(buf.toString("utf8"))
And I know about ascii as an encoding type (it will take ASCII code like 112 and turn it into p ), but what other types of encoding can I do?
source share