摘要: 解决方法: include页面编码格式改成uft-8无签名格式。 阅读全文
posted @ 2012-03-09 16:38 奇幻男孩 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 提交页面是ASP的GB2312编码格式,接收页面是ASP.net的UTF-8格式,如果不进行转换你就进行Request.QueryString["flag"]是只能得到英文字符的,而后的中文字符是会丢失的。解决方法是:string CurrentStr = Request.Url.Query;System.Collections.Specialized.NameValueCollection nv= System.Web.HttpUtility.ParseQueryString(CurrentStr, System.Text.Encoding.GetEncoding(&qu 阅读全文
posted @ 2012-03-09 16:16 奇幻男孩 阅读(633) 评论(0) 推荐(0) 编辑