dummyagain
December 20th, 2006, 03:34 AM
I import the CSV in the database and I use dataTable to read the contents of CSV file first. The CSV files contains both english and traditional chinese characters. However, after importing the csv, the chinese characters are all mess code. I would like to know how to correct the encoding of the CSV file to make it able to store the chinese characters.
string content = File.ReadAllText(SaveLocation);
Thank you
string content = File.ReadAllText(SaveLocation);
Thank you