Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

CSV Problem during Import #5

Open
obstschale opened this issue Dec 23, 2015 · 3 comments
Open

CSV Problem during Import #5

obstschale opened this issue Dec 23, 2015 · 3 comments

Comments

@obstschale
Copy link

I converted a PDF to CSV and I encountered a problem with your CSV import. Your app does not consider text delimiter in CSVs. For example I have a vocabulary with an comma in it. In CSV you can use " (double quote) or ' (quote) to mark a string as one entry. If you consider this your app could also import this correctly:

sancocho (LA),"Suppe mit Gemüse, Kochbanane und Fleisch oder Fisch",Spanisch-Deutsch
@rubengees
Copy link
Owner

I didn't even knew that there is some kind of "official" csv. I always thought it was application dependent how it is used. Do you have a link or something where I can found more info about that?
But yes, I can implement that.

@obstschale
Copy link
Author

Yes there is a RFC which explains the correct use of CSV. RFC 4180. In section 2 there are examples how to use double quotes :)

@rubengees
Copy link
Owner

Okay, thank you, will have a look.

@rubengees rubengees removed the question label Jan 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants