
CSV file datasource - string parser
-
- Posts: 1
- Joined: Fri Apr 17, 2009 8:17 pm
- Location: Belarus
CSV file datasource - string parser
Hello, there is a bug in CsvHelper , i don't know why but you expect that csv (comma-separeted value) file will have ";" as delimeter, but csv uses comma "," as a delimeter, that is why it is called comma separated
becaouse of this bug when you retrieve data from csv you will get only one column (actually, all column will be merged in one with "_" betwen each cell vaue)

CSV file datasource - string parser
Hello,
In USA comma is the list separator, in many Eastern Europe countries the list separator is ";".
We have corrected the issue in the CsvHelper, now the column separator is taken from the System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator.
Patch will be available in the next prerelease build from April, 27.
Thank you.
That is correct, the CSV is an abbreviation of "comma-separated value", but by default applications use the "list separator" character from the Windows Regional Settings.Molot4inka wrote:Hello, there is a bug in CsvHelper , i don't know why but you expect that csv (comma-separeted value) file will have ";" as delimeter, but csv uses comma "," as a delimeter, that is why it is called comma
separatedbecaouse of this bug when you retrieve data from csv you will get only one column (actually, all column will be merged in one with "_" betwen each cell vaue)
In USA comma is the list separator, in many Eastern Europe countries the list separator is ";".
We have corrected the issue in the CsvHelper, now the column separator is taken from the System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator.
Patch will be available in the next prerelease build from April, 27.
Thank you.