方法一: 代码如下:function gb2utf8(data){ var glbEncode = []; gb2utf8_data = data; execScript(“gb2utf8_data = MidB(gb2utf8_data, 1)”, “VBScript”); var t=escape(gb2utf8_data).replace(/%u/g,””).replace(/(.{2})(.{2})/g,”%$2%$1″).replace(/%([A-Z].)%(.{2})/g,”@$1$2″); t=t.split(“@”
1