对UTF-8和GB2312格式 URL进行解码新的系统编码格式是:UTF-8 老的页面编码格式是: GB2312 新的系统的URL参数(带中文) 提交到老的系统中,中文参数是乱码。解决思路1,在新的系统中传递的时候使用JS进行解码,然后再编码。这种方案,和浏览器本身传参无区别。所以,在使用这种方案后,在老的系统中解码,依然解决不了问题。简单写一下实现的伪代码传参的时候,使用JS 编码:location.href="old.aspx?word="+enc
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using System.
1.msdn关于globalization 元素(ASP.NET 设置架构)http://msdn.microsoft.com/zh-cn/developercenters/hy4kkhe0(VS.80).aspx2.在.net中用QueryString传中文时,需要HttpUtility.UrlEncode(value, System.Text.Encoding.GetEncoding("GB2312"))编码要注意大小写,request、response是小写的<?