I\'m trying to read the content of test.txt(which is on the same folder of the Javascript source) and display it using this code:
test.txt
var fs = requi
Try:
fs.readFile("test.txt", "utf8", function(err, data) {...});
Basically, you need to specify the encoding.