feat(input-csv-twice): adjust encoding to ISO-8859-1 and disable header encoding

This commit is contained in:
dancingCycle 2023-07-07 05:40:08 +02:00
parent e9a9afbb6e
commit 00ccdbc725
1 changed files with 4 additions and 2 deletions

View File

@ -96,12 +96,14 @@ const CsvReader = () => {
//console.log('handleSubmit() both files valid');
Papa.parse(fileStop, {
complete: updateDataStop,
header: true
header: false,
encoding: 'ISO-8859-1'
});
//console.log('handleSubmit() parse called on stops');
Papa.parse(fileZone, {
complete: updateDataZone,
header: true
header: false,
encoding: 'ISO-8859-1'
});
//console.log('handleSubmit() parse called on zones');
}