Hi
I'm new on developing in node and i'm stuck with parsing csv file with polish symbols. Example using fast-csv with encoding settings utf16le / utf8 /base64 with "łódź" in source:
[ '齤' ],
[ '��d�' ],
[ 's/Nknw0K' ]
how should I load file represents texts in
Central European and
Eastern European languages ??
Path i try with fast-csv package
var fs = require('fs');
var csv = require("fast-csv");
var stream = fs.createReadStream("test2.csv", {
encoding: "utf8",
header: "true",
rowDelimiter:';'
}
);
var csvStream = csv()
.on("data", function(data){
console.log(data);
})
.on("end", function(){
console.log("done");
});
stream.pipe(csvStream);