Random delimiter(oddělovač) in CSV export
BalckhatinRED opened this issue · 4 comments
I don't follow. Where is the problem?
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.)
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