hooyantsing's Blog

有关编码设置

字数统计: 27阅读时长: 1 min
2019/11/30

有关编码设置

1
2
3
request.setCharacterEncoding("utf-8");
response.setCharacterEncoding("utf-8");
response.setContentType("text/html;  charset=utf-8");
CATALOG