js对中文编码 防止乱码

//编码

encodeURI(encodeURI(lm.getValueByName("name")))

 解码

decodeURI(date)

原文地址:https://www.cnblogs.com/blueskycc/p/6212418.html