node js buffer to utf8 code example
Example: format buffer to utf8
const fs = require('fs');
const readStream = fs.createReadStream('pathTotheFile', { encoding: 'utf8'});
const fs = require('fs');
const readStream = fs.createReadStream('pathTotheFile', { encoding: 'utf8'});