ASP的Server.UrlEncode和Asp.Net的Server.UrlEncode的返回结果不同
生活随笔
收集整理的這篇文章主要介紹了
ASP的Server.UrlEncode和Asp.Net的Server.UrlEncode的返回结果不同
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
今天,有朋友發消息來詢問,看到別人的UrlEncode編碼結果,和自己的不一樣,情形如下:
別人的 Server.UrlEncode(“索尼”) 返回的結果是 %CB%F7%C4%E1
而他的 Server.UrlEncode(“索尼”) 返回的結果是 %e7%b4%a2%e5%b0%bc
我自己測試了一下,發現 ASP.NET 中返回的是 %e7%b4%a2%e5%b0%bc, 而 ASP 中返回的是 %CB%F7%C4%E1
?
完整地址:http://www.zu14.cn/2009/06/05/urlencode-difference-between-asp-and-asp-net/
?
轉載于:https://www.cnblogs.com/sjcatsoft/archive/2009/06/05/1496716.html
總結
以上是生活随笔為你收集整理的ASP的Server.UrlEncode和Asp.Net的Server.UrlEncode的返回结果不同的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ubuntu上玩3D,把状态栏面板栏给玩
- 下一篇: 在线播放代码