巧的是,本想看一下HttpServerUtility的UrlEncode有没有什么说明,结果马虎之下点上了 HttpUtility,发现里面也有一个UrlEncode,其中有一个重载
public
static
string
UrlEncode(
string str,
Encoding e
);
string str,
Encoding e
);
OK! 跟asp的结果一样。
转载于:https://www.cnblogs.com/geel/archive/2004/11/03/59974.html