Skip to content

Add --lazy-quotes option to be on par with go package encoding/csv reader #119

@colbee1

Description

@colbee1

With the following CSV

"Column1";"Column2";"Column3"
"27GN800P-B";"TV 27" to 31"";14/03/24

csvq failed to parse file with error: 'unexpected " in field'.

Parsing the same file with native go package "encoding/csv" succeed using option reader.LazyQuotes = true
If LazyQuotes is true, a quote may appear in an unquoted field and a non-doubled quote may appear in a quoted field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions