Hello all,
I am sending a SQL request and I want to write the results in a csv. But I want the numbers to be in the german standard, as 2,56 instead of 2.56.
I found that I should use “windows-1252” or “ISO 8859-15”, but if I try that i get the error
Write CSV: ‘windows-1252’ is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. (Parameter ‘name’)
Thank you for the quick answer! I forgot to mention that my result is a data table with unknown size, where many numbers and strings appear. Would I then use your code to go through every entry before I write it in the csv?