【Http】 WebUtility.HtmlDecode() http转解码

WebUtility.HtmlDecode() http转解码

定义:将HTTP传输的HTTP编码字串转换成已译码的字串

  1. HtmlDecode(String)
    將 HTTP 传输的 HTTP 编码字串转换成已解码的字串。
public static string? HtmlDecode (string? value);
  1. HtmlDecode(String, TextWriter)
    将已HTML编码的字串转换成已译码的字串,并将译码的字串传送至TextWriter输出数据流。
public static void HtmlDecode (string? value, System.IO.TextWriter output);

详细参考

猜你喜欢

转载自blog.csdn.net/TaoDuanYi/article/details/135387559