urlpathencode专题

关于Server.UrlPathEncode和Server.UrlEncode的区别

关于Server.UrlPathEncode和Server.UrlEncode的区别 Server.UrlPathEncode默认使用的是utf-8编码而Server.UrlEncode默认为系统默认编码(一般是gb2312) Server.UrlDecode默认使用系统编码解码。所以这里容易发生路径解码成乱码的问题。   Response.Write(Server.UrlDecode