1.new String(title.getBytes("ISO-8859-1"),"UTF-8")
request.setCharacterEncoding("utf-8"); response.setHeader("Content-type", "text/html;charset=UTF-8"); response.setCharacterEncoding("utf-8");
本文共 244 字,大约阅读时间需要 1 分钟。
1.new String(title.getBytes("ISO-8859-1"),"UTF-8")
request.setCharacterEncoding("utf-8"); response.setHeader("Content-type", "text/html;charset=UTF-8"); response.setCharacterEncoding("utf-8");
转载于:https://www.cnblogs.com/jianyi12/p/5647143.html