éè¦ä½¿ç¨çç±»ï¼System.Web.HttpUtility
UrlEncode() æ¹æ³ç¨æ¥ç¼ç
UrlDecode() æ¹æ³ç¨æ¥è§£ç 示ä¾ï¼
//对 URL ç¼ç è¿è¡è§£ç
string s = "%5B1%2C2%5D";
string result = System.Web.HttpUtility.UrlDecode(s);
//对 å符串è¿è¡ URL ç¼ç
string s = "[1,2]";
string result = System.Web.HttpUtility.UrlEncode(s);