I’m developin a web application. I need to export the dataset to excel. The Dataset contains the following text in one column.
Text in Dataset
Employee Benefit Sales – Group Benefit Sales
When I exported this dataset to excel, all other dataset column values are exported as such in dataset. But this text alone got appended with special character as follows.
Text exported with Special Character
Employee Benefit Sales – Group Benefit Sales
I don’t know how this happens.
Help me how to solve this issue.
The problem MIGHT be an encoding problem.
Since we don’t know how you’re exporting the dataset to excel we can only assume you are creating a file or stream.
You’ll need to add a UTF8 BOM to the beginning of file/stream:
See this for more information.