The ASP.NET application that I've been working on parses regular quotes and symbols happily. Other than the smart quotes in the CSV file created using MS Excel.
The following is the code I use:
for (int i = 0; i < ds.Tables["Comments"].Rows.Count; i++) {
value = ParseSmartQuotes(ds.Tables["Comments"].Rows[i][col.FieldName].ToString());
Within the ParseSmartQuotes method, I tried a lot of things. Some of them include:
A solution to replace the smart quotes with regular quotes (or) display the smart quotes as such in the web page would be highly appreciated.