JS中字符串的编码 解码


DEPTNAME 是一个字符串 编码: DEPTNAME = encodeURI(encodeURI(DEPTNAME)); 解码: DEPTNAME = decodeURI(DEPTNAME,"UTF-8");



参考自:https://blog.csdn.net/zlt995768025/article/details/77824910

posted @ 2019-09-27 01:17  wqkeep  阅读(1323)  评论(0编辑  收藏  举报