Project

General

Profile

Actions

Priority task #2809

closed

Improve import tasks from CSV - handle BOM

Added by Alena Peterová over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Peter Štrunc
Target version:
Start date:
05/12/2021
Due date:
% Done:

100%

Estimated time:
Owner:

Description

When the CSV contains BOM (https://en.wikipedia.org/wiki/Byte_order_mark), which is very usual for files created on Windows, then the file can't be imported and the exception is very misleading, it says that the column is not found.
The BOM is almost nowhere visible - not on Windows, not in vim, not in "less" command. It can be seen during diff.

Please support also files with BOM, so it gets ignored during import.

Workaround: add some first dummy column to the file, all other columns will be handled well. If the task supports dummy columns.


Related issues

Related to csv-connector - Feature #1746: Configurable encoding, support for BOMNew07/10/2019

Actions
Actions

Also available in: Atom PDF