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

Random delimiter(oddělovač) in CSV export #9

Open
BalckhatinRED opened this issue Nov 14, 2019 · 4 comments
Open

Random delimiter(oddělovač) in CSV export #9

BalckhatinRED opened this issue Nov 14, 2019 · 4 comments

Comments

@BalckhatinRED
Copy link

Picture more than thousands words :) ... marginal priority
CSV_export

@ondra-novak
Copy link
Owner

I don't follow. Where is the problem?

@BalckhatinRED
Copy link
Author

BalckhatinRED commented Dec 4, 2019 via email

@ondra-novak
Copy link
Owner

All fields are delimited by comma (always) and strings are in quotes. It seems that your file has been corrupted somewhere. There can be also some very rare specific issues for particular browser, because the CVS file is built by the javascript code

https://github.com/ondra-novak/mmbot/blob/master/www/res/code.js#L920
(you can see, that each row is created by JSON.stringify, so it is actually JSON array without the first and last brace.)

image

@BalckhatinRED
Copy link
Author

I played more with LibreOffice text importer.(Vivaldi as a browser) You are right it's ok. I think problem will be in my hands(between a keyboard and the chair).

I used q.mark+comma+q.mark as a delimiter, as in the first line those 3 chars seems like a delimiter. But in data lines bellow the delimiter is not those 3 characters. The quotation mark is in some columns only one or none, and sometimes on left, sometime son right side of comma.

Long story short, now it somehow works even I use only comma, if I use all 3 chars. I updated LibreOffice, I had some old version. Maybe it help. Anyway. It works now :) Sorry

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

No branches or pull requests

2 participants