后端接受值的可以这样转换一下: 保证接受到的还是这个值。
String stcode=request.getParameter("code");
try {
byte[] tmp = stcode.getBytes("ISO8859_1");
stcode = new String(tmp, "UTF-8");
} catch (Exception e) {
System.out.println(e);
}
System.out.println("====stcode===="+stcode);
http://blog.csdn.net/young_so_nice/article/details/52526863