浅谈JS中的escape,URLEncode与encodeURIComponent
在JS中,escape,URLEncode与encodeURIComponent都是编码方法,一般用于对URL进行编码为什么要使用编码方法网络标准RFC 1738做了硬性规定:"...Only alphanumerics [0-9a-zA-Z], the special characters "$-_.+!*'()," [not including the quotes - ed],...
原创
2018-11-26 21:44:34 ·
2985 阅读 ·
0 评论