mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(Extract from File Node): Add option to set encoding for CSV files (#9392)
This commit is contained in:
@@ -177,6 +177,26 @@ export const fromFileOptions: INodeProperties = {
|
||||
placeholder: 'e.g. ,',
|
||||
description: 'Set the field delimiter, usually a comma',
|
||||
},
|
||||
{
|
||||
displayName: 'Encoding',
|
||||
name: 'encoding',
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
'/fileFormat': ['csv'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{ name: 'ASCII', value: 'ascii' },
|
||||
{ name: 'Latin1', value: 'latin1' },
|
||||
{ name: 'UCS-2', value: 'ucs-2' },
|
||||
{ name: 'UCS2', value: 'ucs2' },
|
||||
{ name: 'UTF-8', value: 'utf-8' },
|
||||
{ name: 'UTF16LE', value: 'utf16le' },
|
||||
{ name: 'UTF8', value: 'utf8' },
|
||||
],
|
||||
default: 'utf-8',
|
||||
},
|
||||
{
|
||||
displayName: 'Exclude Byte Order Mark (BOM)',
|
||||
name: 'enableBOM',
|
||||
|
||||
Reference in New Issue
Block a user