其实 web.config中就有配置
<globalization requestEncoding="gb2312" responseEncoding="gb2312" />
<!--<pages validateRequest="false"/>-->
<httpRuntime
maxRequestLength="20000"
/>
<!--<pages validateRequest="false"/>-->
<httpRuntime
maxRequestLength="20000"
/>
c# 代码
Stream stream=Request.InputStream;
StreamReader sr=new StreamReader(stream,Encoding.UTF8);
string ss=sr.ReadToEnd();
byte[] bs=Encoding.UTF8.GetBytes(ss);
string cc=HttpUtility.UrlDecode(bs,0,bs.Length,Encoding.GetEncoding("GB2312"));
StreamReader sr=new StreamReader(stream,Encoding.UTF8);
string ss=sr.ReadToEnd();
byte[] bs=Encoding.UTF8.GetBytes(ss);
string cc=HttpUtility.UrlDecode(bs,0,bs.Length,Encoding.GetEncoding("GB2312"));