close2 / csv

A dart csv to list codec / converter
MIT License
98 stars 24 forks source link

How to make each fields data to be enclosed with double quotes. #56

Closed Sunsiha closed 2 years ago

Sunsiha commented 2 years ago

Is there is anyway I can make it all fields data to be in double quoted? Now fields with comma(,) only coming as double quoted.

For example:

Current output: 1,Sunisha,sunisha@gmail.com,"Abbeville, Louisiana"

Expected output:

"1","Sunisha","sunisha@gmail.com","Abbeville, Louisiana"

pubspec: csv: ^5.0.1

close2 commented 2 years ago

This is currently not supported. There is already a feature request. I just haven't found time to implement it.

https://github.com/close2/csv/issues/6