You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just noticed someone else posted nearly the same issue (#21) but this simple fix (removing the UTF-8 BOM in your csvlint code) would help to succeed the csvlint check.
I have a CSV file encoded with UTF8-BOM:
This is a correct CSV file but there is the result:
Record #0 has error: bare " in non-quoted-field
The issue happens with an UTF-8 with BOM encoded file if the first header field is surrounded by quotes.
Suggestion: This could be solved by removing the UTF-8 BOM in the header line:
Pseudocode:
if (line_number == 1) { sub(/^\xef\xbb\xbf/, "", line) }
The text was updated successfully, but these errors were encountered: