将字符串转换为普通文本

a12*_*773 0 c# character-encoding

当我打开一个文件时,它包含这样的内容:

It's that
Run Code Online (Sandbox Code Playgroud)

这是什么以及如何将其转换为ASCII?

Zbi*_*iew 6

这是HTML编码,使用WebUtility.HtmlDecode(在System.Net命名空间中):

string encoded = "It's that";
string decoded = System.Net.WebUtility.HtmlDecode(s);
Run Code Online (Sandbox Code Playgroud)