To decode this and other HTML encoded strings, use HtmlDecode()as shown below:
System.Web.HttpUtility.HtmlDecode("Русское Имя")
It is decoded before . As for UTF-8, then as bwreichle said, you can use:
Encoding.UTF8.GetBytes(@" ")
source
share