Specify the encoding in "readFile" method as "utf8", it should work.
fs.readFile("demofile.html","utf8",function(err,data ...