Solve the Chinese garbled problem of HttpServletResponse output

Set the response return code
response.setCharacterEncoding("UTF-8");
response.setHeader("Content-type", "text/html;charset=UTF-8");

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326824237&siteId=291194637