在要接收gb2312的目录中创建一个web.config文件,内容如下:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<globalization fileEncoding="gb2312" requestEncoding="gb2312" responseEncoding="gb2312"/>
</system.web>
</configuration>
这样就可以了!
转自:http://tonydaix.blog.163.com/blog/static/91391750200952523317415/