si
解决方案 »
- javascript调用web service返回undefined问题如何解决
- 两个层嵌套时alpha的问题
- ASP.NET网站运行加载内容问题!!!!
- jmail在什么地方下载呢?请大家给一个下载的网址?
- web项目安装到服务器上水晶报表无法使用了。出现了以下错误,如何解决??
- 急救,为何验证控件不验证
- 水晶报表常见出错问题解决方法2则
- 来者有分,求新闻发布发布系统源码。
- Context.User只能在当前页面保存?如何在跳转了页面依然能使用之前的User信息?
- c#语言::数据结构应该看哪本书好啊?
- 帮写一个ASP.NET的Timer类
- 【新版发布,散分】用于ASP.NET2.0的WEB实时进度条
{
Response.Write(Server.UrlDecode("%E7%94%B5%E5%8A%A8%E8%BD%A6%E7%94%B5%E6%B1%A0"));
Response.Write(Server.UrlEncode("电动车电池"));
}
Server.UrlEncode
Server.UrlEncode
{
Response.Write(Server.UrlDecode("%E7%94%B5%E5%8A%A8%E8%BD%A6%E7%94%B5%E6%B1%A0"));
Response.Write(Server.UrlEncode("电动车电池"));
}
HttpContext.Current.Server.UrlEncode
{
Response.Write(Server.UrlDecode("%E7%94%B5%E5%8A%A8%E8%BD%A6%E7%94%B5%E6%B1%A0"));
Response.Write(Server.UrlEncode("电动车电池"));
}
用这个没错的,都是可以实现的
Server.UrlDecode(string) 对已经编码的串进行解码,得到相应的原数据 网上看一下uft_8格式以及gb-2312的相关知识。
Server.UrlEncode