利用js的encodeURI()方法把数据转换成中文的编码var str = "哈哈“
利用js的encodeURI()方法把数据转换成中文的编码
console.log(encodeURI(str));\\%E5%93%88%E5%93%88
然后用decodeURI()方法解码