日期:2014-05-16  浏览次数:20705 次

Ext4 中ItemSelector 中getValues乱码问题
Ext4 中ItemSelector 中getValues乱码问题
我的所有编码都是为utf-8的

------解决方案--------------------
页面中设置下编码

public String list() throws Exception{

HttpServletResponse response = ServletActionContext.getResponse();
response.setCharacterEncoding("UTF-8");
。。。。
}
------解决方案--------------------
有可能是你页面文件在写的时候写用的是gbk编码吧。