代码如下:
String username = request.getParameter("yhm");
String password = request.getParameter("mm");
username = new String(username.getBytes("ISO-8859-1"), "GBK");
password = new String(password.getBytes("ISO-8859-1"), "GBK");
代码如下:
String username = request.getParameter("yhm");
String password = request.getParameter("mm");
username = new String(username.getBytes("ISO-8859-1"), "GBK");
password = new String(password.getBytes("ISO-8859-1"), "GBK");