js 中 encodeURI 和 decodeURI 分别对字符进行utf-8编码/解码

decodeURI(‘%E4%B8%AD’);

 

上面这个返回一个 中 字



发表评论

您的电子邮箱地址不会被公开。

− 1 = 4