JS中escape,encodeURI,encodeURIComponent各自不编码的字符
escape不编码字符有69个:*,+,-,.,/,@,_,0-9,a-z,A-Z
encodeURI不编码字符有82个:!,#,$,&,',(,),*,+,,,-,.,/,:,;,=,?,@,_,~,0-9,a-z,A-Z
encodeURIComponent不编码字符有71个:!, ',(,),*,-,.,_,~,0-9,a-z,A-Z
本博客所有文章如无特别注明均为原创。作者:ok12 ,复制或转载请以超链接形式注明转自 成功志 。
原文地址《JS中escape,encodeURI,encodeURIComponent各自不编码的字符》
原文地址《JS中escape,encodeURI,encodeURIComponent各自不编码的字符》
发表评论