首页 > 其他 > 详细

Character Encoding tomcat.

时间:2014-06-08 00:19:45      阅读:427      评论:0      收藏:0      [点我收藏+]

default character encoding of the request or response body:

  If a character encoding is not specified, the Servlet specification requires that an encoding of ISO-8859-1 is used.

  For JSP pages,The request character encoding handling is the same,for JSP pages in standard syntax the default response charset is the usual ISO-8859-1, but for the ones in XML syntax it is UTF-8.

 

Default encoding for GET

  Many browsers are starting to offer (default) options of encoding URIs using UTF-8 instead of ISO-8859-1.

  HTML 4.0 recommends the use of UTF-8 to encode the query string.

Default Encoding for POST

  ISO-8859-1 is defined as the default character set for HTTP request and response bodies in the servlet specification

ref:  http://wiki.apache.org/tomcat/FAQ/CharacterEncoding

Character Encoding tomcat.,布布扣,bubuko.com

Character Encoding tomcat.

原文:http://www.cnblogs.com/listened/p/3774598.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!