Skip to content

Making auto_quote system false by default #48

@VictorShima

Description

@VictorShima

First of, Thank you very much for working on this plugin!

When using auto_quote: true the following piece of CSV will have its quotes removed when a CSV > Compact columns is used:

oranges,"tasty
fruits"
apples,"delicious treats"

Becomes:

oranges,tasty
fruits
apples,delicious treats

It seems like the command is not respecting line breaks inside quotes, turning a valid CSV with 2 rows into an invalid CSV with 3 rows. The Section 2.6 of a CSV Standard describes the usage of line breaks inside quotes.

Removing the auto_quote configuration makes it work wonderfully out-of-the-box. Other issues also seem to suggest that the auto_quote is having couple of edge cases and past problems.

Would you consider making auto_quote disabled on default?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions