参考:http://www.jb51.net/article/22437.htm
1、在web.config里配制<globalization requestEncoding="gb2312" responseEncoding="gb2312" />
2、做URL的时候进行编码,然后再解码
编码:
id = HttpUtility.UrlEncode(id, System.Text.Encoding.GetEncoding("GB2312"));
解码:
id = HttpUtility.UrlDecode(id, System.Text.Encoding.GetEncoding("GB2312"));