mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Spreadsheet File Node): Read file as utf-8 in v1 (#7701)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -77,6 +77,7 @@ export class SpreadsheetFileV1 implements INodeType {
|
||||
|
||||
if (binaryData.id) {
|
||||
const binaryPath = this.helpers.getBinaryPath(binaryData.id);
|
||||
xlsxOptions.codepage = 65001; // utf8 codepage
|
||||
workbook = xlsxReadFile(binaryPath, xlsxOptions);
|
||||
} else {
|
||||
const binaryDataBuffer = Buffer.from(binaryData.data, BINARY_ENCODING);
|
||||
|
||||
Reference in New Issue
Block a user