openfire url get提交 中文乱码问题

原因是它只接受url编码后的中文

如:%E7%BC%96%E7%A0%81%E5%90%8E%E7%9A%84%E4%B8%AD%E6%96%87

会自动转变为:http://127.0.0.1:9090/plugins/userService/userservice?type=update&secret=4Hbu2b1q&username=444&password=111&name=111&email=111&groups=编码后的中文

 

js encodeURI 编码

posted @ 2014-12-19 11:38  fleam  阅读(175)  评论(0编辑  收藏  举报