js对字符串进行编码和解码

escape(string)

unescape()

decodeURI(data);

encodeURI(data);

你可能感兴趣的:(js对字符串进行编码和解码)