⑴response.setCharacterEncoding("utf-8"); ⑵response.setContentType("text/html; charset=utf-8");
实践证明,代码2比代码1作用更大,如果只加代码1 可解决除IE之外的乱码
PrintWriter返回值乱码问题
原文:http://blog.csdn.net/itmyhome1990/article/details/37932755