ASP.NET csv excel issue with strange characters
- by cfdev9
I'm exporting a table of data to csv format, eg
"COL1","COL2","COL3"
"1","some text", "£232.00"
"2","some more text", "£111.00"
"3","other text", "£2.00"
The code to export is fairly simple using an ashx handler
context.Response.Clear()
context.Response.ContentType = "text/csv"
…