String username = req.getParameter("username");
username=new String(username.getBytes(StandardCharsets.ISO_8859_1),StandardCharsets.UTF_8);
标签:username,String,request,乱码,StandardCharsets,tomcat8 From: https://www.cnblogs.com/dahuilang21/p/17178356.html