node js read file utf8 code example Example: fs readfile encoding fs.readFile('/etc/passwd', 'utf8', callback);