We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8fcbca3 + f90b44d commit 30ef278Copy full SHA for 30ef278
src/components/VueCsvInput.vue
@@ -82,7 +82,7 @@
82
VueCsvImportData.rawCsv.value = null;
83
}
84
let reader = new FileReader();
85
- reader.readAsText(VueCsvImportData.file, "UTF-8");
+ reader.readAsText(VueCsvImportData.file, props.parseConfig.encoding || "UTF-8");
86
reader.onload = function (evt) {
87
VueCsvImportData.csvSample = get(Papa.parse(evt.target.result, merge({
88
preview: 10,
0 commit comments