页面编码UTF8,代码UTF8,乱码问题

页面编码UTF8,代码UTF8,乱码问题

在eclipse的server项目,的server.xml改成

<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/>

其中加入 URIEncoding="UTF-8"

 

posted @ 2015-06-05 18:03  精进中的昆杰  阅读(247)  评论(0编辑  收藏  举报