解决sencha touch 2 AJAX提交中文乱码有关问题
解决sencha touch 2 AJAX提交中文乱码问题解决方法: 提交的时候编码 params: {noteName:encodeURI(encodeU
解决sencha touch 2 AJAX提交中文乱码问题
解决方法: 提交的时候编码
params: {
noteName:encodeURI(encodeURI(noteName)),
content:encodeURI(encodeURI(noteContent)),
},
之后在后台
URLDecoder.decode(request.getParameter("noteName"),"utf-8") 这样获取 就好了
感谢肥肥!~