tags:

views:

116

answers:

5

I never understood this.

+5  A: 

Wikipdedia has the info you want

Fields with embedded commas must be enclosed within double-quote characters.

Yacoby
Excel uses 'List separator' value from user locale settings. So in Russia that would be ';' instead of ','.
vava
A: 

This article is quite complete.

Fields that contain a special character (comma, newline, or double quote), must be enclosed in double quotes.

Desintegr
A: 

There is no real standard for what people tell csv files. Mirosoft refers to csv as *c*haracter *s*eparated *v*alues.

This is done because dependent on the decimal character the separated character is changed.

German:  1,2
English: 1.2

But I aggree that most times " of ' is used to enclose text elements. But either all strings are enclosed in " or none.

Totonga
+2  A: 

For more than you ever want to know about CSV: RfC4180 - Common Format and MIME Type for Comma-Separated Values (CSV) Files.

Jörg W Mittag
@alex, specifically read #6 and #7.
Bart Kiers
A: 

CSV is very far from standardised. The nearest approach to it is this RFC, which explains how commas and other special characters should be handled.

anon