I'm reading a CSV file into a c# script and trying to replace certain characters that are causing problems. However, I can't seem to replace ’ which needs to be an apostrophe.
I have tried stripping non-ascii characters with a regex but that leaves a ™ which I then cannot replace either.
Any ideas on how I can replace these unwanted characters?
The source file is being accessed remotely so I have no access to it in terms of changing the encoding
Thanks
Web Development Manager
I have tried stripping non-ascii characters with a regex but that leaves a ™ which I then cannot replace either.
Any ideas on how I can replace these unwanted characters?
The source file is being accessed remotely so I have no access to it in terms of changing the encoding
Thanks
Web Development Manager