feat(csv-read2objects): adjust encoding to ISO-8859-1
This commit is contained in:
parent
a8d96fbeaa
commit
f4582051e8
|
@ -44,7 +44,8 @@ const CsvReader = () => {
|
||||||
console.log('handleParse() file valid');
|
console.log('handleParse() file valid');
|
||||||
Papa.parse(file, {
|
Papa.parse(file, {
|
||||||
complete: updateData,
|
complete: updateData,
|
||||||
header: true
|
header: true,
|
||||||
|
encoding: 'ISO-8859-1'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
console.log('handleParse() done.');
|
console.log('handleParse() done.');
|
||||||
|
|
Loading…
Reference in New Issue