Skip to content

encoding ��

Hi. If I use this package for nodejs, I have encoding problems.

readXlsxFile(path).then((data) => {
    console.log(data[824][14]);
});

This code outputs the following:

"ООО "Транснефть-Дальний ��осток, лицензия АМУ00432ТЭ"

I was able to solve the problem by adding this to the "unpackXlsxFile" function in the "entry" listener: entry.setEncoding("utf8");

Maybe we should add the ability to transfer the encoding from outside?

For tests: test.xlsx

Edited by kvengl