haiwan / Exporter

A Vaadin Add-on which exports data (in container) to an excel file
Other
8 stars 31 forks source link

CSV: enclosing cell value in quotes if it contains comma character #30

Closed alex-marchenko closed 5 years ago

alex-marchenko commented 5 years ago

Comma character can brake CSV file structure: {first cell value}, {second cell value}, {third cell value, finally} -> first cell value | second cell value | third cell value | finally

So, enclosing cell value in quotes if it contains comma will keep correct structure.

haiwan commented 5 years ago

good fix, thanks for the contribution.