3 ms·
In my experience excel doesn't even understand its own csv files. If you save one using the Swedish locale it uses semicolons as field separators since comma is
by miffe 5y ago
In my experience excel doesn't even understand its own csv files. If you save one using the Swedish locale it uses semicolons as field separators since comma is used as decimal points. Trying to open the resulting file using a English locale results in garbage.
- sheetjs 5y agoWhen saving as CSV, Excel will use the regional "List separator" setting. You can override this in Windows 7 with Region and Language > Additional Settings > List separator. If you are trying to generate a file that plays nice with Excel, there is a way to force a specific delimiter with the "sep" pragma: sep=| a|b|c 1|2|3
- contravariant 5y agoJust open it in Libreoffice and save it to .xlsx. It's the only way I've found that actually works reliably.