Navigation Menu

Skip to content
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 default CSV delimiter #47

Closed
GoogleCodeExporter opened this issue Apr 18, 2015 · 4 comments
Closed

Change default CSV delimiter #47

GoogleCodeExporter opened this issue Apr 18, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

Florent Gallaire wrote:

"," is the default CSV delimiter (for spreadsheet software and for
python csv library), and the only one supported today, as it's easier
to edit by hand tables with tab delimiter, an option to set delimiter
for each table will be fine too!

Original issue reported on code.google.com by aureliojargas@gmail.com on 5 Aug 2010 at 1:44

@GoogleCodeExporter
Copy link
Author

as in France we use the comma for writing the decimales, it could help to be 
able to use ; for the CSV delimiter. The delimiter could be chosen like this 
for example:

txt2tags --with-csv-delimiter=";" file.t2t 

or for tab:
txt2tags --with-csv-delimiter="\t" file.t2t 

Original comment by eforg...@gmail.com on 13 Aug 2010 at 2:54

@GoogleCodeExporter
Copy link
Author

Once again, I think this is table specific.

Something like :
%!csv(html): foo.csv
for the default "," delimiter and
%!csv(html): foo.csv ";"
%!csv(html): foo.csv "\t"
for a specific one could it be possible ?


Original comment by galle...@gmail.com on 14 Aug 2010 at 1:19

@GoogleCodeExporter
Copy link
Author

We can choose the delimiter for a CSV file since r524.

Original comment by fgalla...@gmail.com on 23 Nov 2010 at 5:55

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

The separator is now (r1045) specified with the command line-like option 
--separator (or -s), example:

    %!csv: -s tab foo.csv

Original comment by aureliojargas@gmail.com on 31 Jul 2012 at 11:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant