charest.
pageencoring
utf8
中文,
默认传输使用的是iso8859
对于post
request.setcharacterencoring.utf8
对于get
先解码,在编码
(request.getparameter.)getbytes(("ios"),utf8)
2.get.修改tomcat.server.XML
config.index.html.usebodyencoingforuri属性为ture

charest.
pageencoring
utf8
中文,
默认传输使用的是iso8859
对于post
request.setcharacterencoring.utf8
对于get
先解码,在编码
(request.getparameter.)getbytes(("ios"),utf8)
2.get.修改tomcat.server.XML
config.index.html.usebodyencoingforuri属性为ture
本文标题:中文编码
本文链接:https://www.haomeiwen.com/subject/xtwhwttx.html
网友评论