a.aspx里用Resdirect 方法把汉字传到远程一个b.aspx页面,在b.aspx页面里用Request接收但是接收到的是乱码

解决方法:
在web.config中加上:
<configuration>
<system.web>
<customErrors mode="Off"/>
<globalization
responseEncoding="gb2312"
requestEncoding="gb2312"
fileEncoding="gb2312"
/>
</system.web>
</configuration>

相关文章:

  • 2021-10-21
  • 2022-02-01
  • 2022-12-23
  • 2022-02-03
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2021-10-26
猜你喜欢
  • 2021-12-28
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案