专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
最近用visual studio.net 2008 写了个asp网页在判断密码是否正确时提示框中文出现乱码 如: response.Write "<script language=JavaScript>alert('密码.'); window.location.href='login.asp';</script>" 提示是乱码使用response.write也是乱码后来发现我网页中没有加<META http- [阅读全文] [PDF]
asp.net默认编码是UTF-8 js文件里编码也是UTF-8 当你要在aspx页面上进行传中文参数时会出现乱码 <-----request.aspx--接收参数页-----> <----response.aspx--传送参数页-----> 例:<a href="request.aspx?str=中国人"></a> 解决办法: 1.可以和改webconfig编码 如: <location [阅读全文] [PDF]
最近用visual studio.net 2008 写了一个asp网页,在判断密码是否正确时的提示框的中文出现乱码。 如: response.Write "<script language=JavaScript>alert('密码错误.'); window.location.href='login.asp';</script>" 提示的是乱码,使用response.write也是乱码,后来发现我的网页中没有加<META http-equiv=Content-Type content="text [阅读全文] [PDF]
1 共3条 分1页