How do I load a data file with localized number formatting?


#1

I have a measurement data CSV (DSV) file that is formatted according to Italian locale: it uses ; as a column delimiter, , as a decimal separator, and . as a thousands separator. I have used the @dataLoad(defaultCsvDelimiter=';') annotation to solve the delimiter issue, but I am still getting an error regarding 0,13 not being able to be parsed as a decimal.

Also, the documentation for DataLoad.defaultCsvDelimiter mentions the ability to specify a delimiter parameter in content type—how exactly do I do that?