标签:
方法一:new String(model.getMsgTitle().getBytes("ISO-8859-1"),"utf-8");将获取到的msgTtitle的值的字符改为"utf-8"形式;
public void queryNotice() throws Exception{
Notice nm = new Notice();
nm.setMsgTitle(new String(model.getMsgTitle().getBytes("ISO-8859-1"),"utf-8"));
`````
}
后者待续
标签:
原文地址:http://www.cnblogs.com/fdx-web/p/4711227.html