Unicode replace...?
Hi,
I'm retrieving a product write up from an external system, the write up often contains invalid characters that don't display correctly in my UI. The characters are GRAVE ACCENT and ACUTE ACCENT, which translate to unicode 145 and 146 - they just turn into square boxes.
How can I replace the characters in a string, is there a regular expression that can do this specific task..? Or is it something like...
Code:
_writeUp.Replace("\u00145", "'");
_writeUp.Replace("\u00146", "'");
Thanks
If it helped, then please rate the post by clicking "Rate this post"!