News for hackers. Stuff that matters.
Re:So You Want to Write Your Own CSV code by callesgg on Sunday May 25, 2014 @03:19PM (#7797252)
In General Swedish csv files are separated with ;

I have an function that I usually use in projects that counts , and ; on each line to determine which one is most likly beeing used in the file.

The most annoying thing I have found in csv files is the escape sign I would like it to be \" but very often I see """ as the escape for "

Re:So You Want to Write Your Own CSV code by chrismcb on Sunday May 25, 2014 @04:49PM (#7797518)
Well the standard says to double the double quote to escape it. If you are seeing \" or even """ to escape a quote, then someone isn't following the standard.
Re:So You Want to Write Your Own CSV code by mrweasel on Sunday May 25, 2014 @03:26PM (#7797274)
I believe that the Swedish Klarna files uses ; but the Danish ones uses the comma + space. That only adds to the stupidity though, why not have just one format?
Re:So You Want to Write Your Own CSV code by elinchrome on Sunday May 25, 2014 @08:17PM (#7798141)
Just be happy to live in the best country.