Is it possible to display (convert?) the unicode hex \u0092 to an unicode html entity in .NET?

Viewed 2311

I have some string that contains the following code/value:

"You won\u0092t find a ...."

enter image description here

It looks like that string contains the Right Apostrophe special character.

I'm not sure how to display this to the webbrowser. It keeps displaying the TOFU square-box character instead. I'm under the impression that the unicode (hex) value 00092 can be converted to unicode (html) ’

Is my understanding correct?


Update 1:

It was suggested by @sam-axe that I HtmlEncode the unicode. That didn't work. Here it is...

enter image description here

Note the ampersand got correctly encoded....

2 Answers
Related