我的jsp页面用的<%@ page contentType="text/html; charset=gb2312" %>
用post提交,并且在处理时加了
request.setCharacterEncoding("GB2312");
String strvalue = new String(request.getParameter("keywords").getBytes("ISO-8859-1"),"GB2312");
可是打出来的还是"?",这是怎么回事啊?急呀!
其它的汉字均正常显示,只有这个"堃"出现此问题!
用post提交,并且在处理时加了
request.setCharacterEncoding("GB2312");
String strvalue = new String(request.getParameter("keywords").getBytes("ISO-8859-1"),"GB2312");
可是打出来的还是"?",这是怎么回事啊?急呀!
其它的汉字均正常显示,只有这个"堃"出现此问题!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货