aspnet :Server.UrlEncode(string ).ToString();

javascript: encodeURI(string)

相关文章: