php-export-data
php-export-data copied to clipboard
csv comma separted values ==> ";"
At 129 the separator is wrong so i added a parameter with default values
I'm not sure I understand. ","
is a comma and ";"
is a semicolon. I'm fine with adding semicolon as an optional delimiter, but is there a reason you prefer it over the more common comma?
you ever try export csv with your separator and open it ? the result is completly weird. and is the default separator you can try with save as csv.
Opening it in Excel, you mean? Weird how?
My intent is that exporting to CSV should produce a file that looks as close to "official" CSV format as is possible, not just what works best with Excel. Also, my Excel Mac 2011 exports with commas not semicolons by default when doing "save as..."
it depends on the country for exemple in france the default separator is the semicolon so i propose you to add an optional parameter with default value ==> ","