中文编码
2017-04-17 本文已影响0人
楼亭樵客
charest.
pageencoring
utf8
中文,
默认传输使用的是iso8859
对于post
request.setcharacterencoring.utf8
对于get
先解码,在编码
(request.getparameter.)getbytes(("ios"),utf8)
2.get.修改tomcat.server.XML
config.index.html.usebodyencoingforuri属性为ture
