日期:2014-05-20  浏览次数:20412 次

如何在web.config中设置字符集
设为gbk,谢谢

------解决方案--------------------
<system.web>
......
<globalization requestEncoding= "gb2312 " responseEncoding= "gb2312 " culture= "zh-CN " fileEncoding= "gb2312 " />
......
</system.web>
------解决方案--------------------
<system.web>
......
<globalization requestEncoding= "gbk " responseEncoding= "gbk " fileEncoding= "gbk " />
......
</system.web>