Answer the question
In order to leave comments, you need to log in
js how to change string encoding?
Hello.
Always use encoding:
var file = evt.target.files[0];
varreader = new FileReader();
reader.readAsText(file,"CP1251");
reader.onload = function(event) {
var csvData = event.target.result;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question