feat(input-csv-twice): adjust encoding to ISO-8859-1 and disable header encoding
This commit is contained in:
parent
e9a9afbb6e
commit
00ccdbc725
|
@ -96,12 +96,14 @@ const CsvReader = () => {
|
||||||
//console.log('handleSubmit() both files valid');
|
//console.log('handleSubmit() both files valid');
|
||||||
Papa.parse(fileStop, {
|
Papa.parse(fileStop, {
|
||||||
complete: updateDataStop,
|
complete: updateDataStop,
|
||||||
header: true
|
header: false,
|
||||||
|
encoding: 'ISO-8859-1'
|
||||||
});
|
});
|
||||||
//console.log('handleSubmit() parse called on stops');
|
//console.log('handleSubmit() parse called on stops');
|
||||||
Papa.parse(fileZone, {
|
Papa.parse(fileZone, {
|
||||||
complete: updateDataZone,
|
complete: updateDataZone,
|
||||||
header: true
|
header: false,
|
||||||
|
encoding: 'ISO-8859-1'
|
||||||
});
|
});
|
||||||
//console.log('handleSubmit() parse called on zones');
|
//console.log('handleSubmit() parse called on zones');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue