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

原文地址:https://www.cnblogs.com/human/p/3297921.html