mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +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:
@@ -178,6 +178,22 @@ describe('Execute Spreadsheet File Node', () => {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
description: 'execute utf8.json',
|
||||
input: {
|
||||
workflowData: loadWorkflow('workflow.utf8.json', 'utf8.csv'),
|
||||
},
|
||||
output: {
|
||||
nodeData: {
|
||||
'Parse UTF8 v1': [
|
||||
[{ json: { A: 1, B: '株式会社', C: 3 } }, { json: { A: 4, B: 5, C: '🐛' } }],
|
||||
],
|
||||
'Parse UTF8 v2': [
|
||||
[{ json: { A: '1', B: '株式会社', C: '3' } }, { json: { A: '4', B: '5', C: '🐛' } }],
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
const nodeTypes = Helpers.setup(tests);
|
||||
|
||||
Reference in New Issue
Block a user