My post below asked what the curly quotation marks were and why my app wouldn't work with them, my question now is how can I replace them when my program comes across them, how can I do this in C#? Are they special characters?
curly-quotation-marks-vs-square-quotation-marks-what-gives
Thanks
The VB equivalent of what @Matthew wrote:
I also have a program which does this, the source is in this file of CP-1252 Fixer. It additionally defines some mappings for converting characters within RTF strings whilst preserving all formatting, which may be useful to some.
It is also a complete mapping of all "smart quote" characters to their low-ascii counterparts, entity codes and character references.
Try this for smart single quotes if the above don't work:
Try this as well for smart double quotes:
it worked for me, you can try below code
Thanks!
According to the Character Map application that comes with Windows, the Unicode values for the curly quotes are 0x201c and 0x201d. Replace those values with the straight quote 0x0022, and you should be good to go.