前端传参数 name:张三
后端接受:$$$$$%%%
直接上代码:
解决:
try {name= new String(name.getBytes("iso-8859-1"), "utf-8"); } catch (UnsupportedEncodingException e) { e.printStackTrace(); }
完美解决