yanganok

string str = "%3D1%26"; string newstr = Server.UrlDecode(str); Response.Write(newstr);
输出结果为: =1&
不过你这应该是Url编码的,如果是HTML编码的应该用Server.HtmlEncode();
用 HttpUtility.HtmlDecode()也是可以的,不过我习惯用Server类

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-11-17
  • 2021-11-17
  • 2021-11-17
  • 2021-11-17
  • 2021-11-17
  • 2021-10-10
猜你喜欢
  • 2021-11-17
  • 2022-12-23
  • 2021-09-12
  • 2021-11-17
相关资源
相似解决方案