-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the delimiter #6
Comments
Hello @PPCM , what do you mean by excel doesn't parse a CSV? I created a CSV file (comma separated values) saved with the name |
Hi @PPCM , I'm closing this for now as I'm not getting the more information. Feel free to reopen it if you have more things to add 😉 |
Sorry for the long time |
I have the same question: can I use tab delimiters? In my case I'm writing data that is coming from a tsv and has commas and quotes in the data. |
Hi @Sigfried . At the moment, no, csv-writer produces only CSV. Do you actually want to produce TSV, or are you ok with CSV as long as commas/quotes in the data are properly handled? csv-writer should be able to produce a properly formatted CSV file by automatically escaping comma/quote characters (like this). |
I didn't know Excel assumes semicolon as a field delimiter in some regions. Given that Excel is widely used software to consumer CSV, I'm going to support this variance even though it's not RFC4180 compliant. Thanks @PPCM & @Sigfried for flagging the issue! From #8 (comment)
Also from Wikipedia
|
Published as v1.1.0. Now semicolon is also treated as a valid field separator. I'll create a separate card for TSV. |
Is it possible to change the delimiter to
;
for example ?Excel doesn't parse a CSV with comma as delimiter
The text was updated successfully, but these errors were encountered: