java Response 设置中文编码

response.setHeader("Content-type", "text/html;charset=UTF-8");
response.setCharacterEncoding("utf-8");
response.setContentType("text/html;charset=UTF-8");
原文地址:https://www.cnblogs.com/whm-blog/p/7201691.html