0

The specific code is as follows.

const fileObj = file.load({
  id: 6678,
});
return fileObj.getContents();

The returned result is garbled. Now I am basically a beginner and I don’t know how to deal with this problem.The returned result is this form: �ڲ���ʶ,�ۺϼƻ�ʱ��,�Ƿ��ݻ�,������������,���ţ��޲㼶��,�ص�,ERP���۶�����,������Ŀ��.

Have you encountered this problem? How did you solve it? Please tell me how to solve it, thank you very much!

charles
  • 11
  • 2

1 Answers1

0

Like @tgdavies implied, you're likely trying to read an excel file, not a csv. If you're reading an excel file, you'll need to parse it using a library that can parse excel spreadsheets for you like exceljs

2ps
  • 15,099
  • 2
  • 27
  • 47