in reply to Semicolon delimited to Comma delimited
Disregarding the Microsoft issues with localized list-separator characters, as described here, and given that you already have exported to CSV, be it with another separator than the required ,, the solution is extremely simple, using Text::CSV_XS:
$ cat bad.csv a;b;c 1;2;3 ;4; "Føó";"Hēłŀõ Ẇőŕļđ"; $ perl -C3 -MText::CSV_XS=csv -we'csv (in => "bad.csv", sep => ";")' a,b,c 1,2,3 ,4, Føó,"Hēłŀõ Ẇőŕļđ",
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Semicolon delimited to Comma delimited
by swatzz (Novice) on Apr 23, 2015 at 14:00 UTC | |
by marinersk (Priest) on Apr 24, 2015 at 00:40 UTC |