67,537
社区成员
发帖
与我相关
我的任务
分享<%@ page contentType="text/html; charset=gb2312" %>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
和
request.setCharacterEncoding("gb2312");
try {
country = new String(request.getParameter("yourparam").getBytes("ISO-8859-1"),"UTF-8");
} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}