feat(csv-read2objects): adjust encoding to ISO-8859-1

This commit is contained in:
dancingCycle 2023-07-07 05:33:46 +02:00
parent a8d96fbeaa
commit f4582051e8
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ const CsvReader = () => {
console.log('handleParse() file valid');
Papa.parse(file, {
complete: updateData,
header: true
header: true,
encoding: 'ISO-8859-1'
});
}
console.log('handleParse() done.');