encodeURIComponent()转译一下字符以外的所有字符。
encodeURIComponent()
A-Z a-z 0-9 - _ . ! ~ * ' ( )
← encodeURI() escape() →