You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/09/23 23:59:34 UTC

DO NOT REPLY [Bug 36790] - response.setContentType() never forgets "charset"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36790>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36790


markt@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From markt@apache.org  2005-09-23 23:59 -------
This behaviour is as per the JSP spec.
<spec-quote section="JSP.4.2">
For JSP pages in standard syntax, it is the character encoding specified by the
pageEncoding attribute of the page directive or by a JSP configuration element
page-encoding whose URL pattern matches the page. ... If there�s no such
specification, no initial response character encoding is passed to
ServletResponse.setContentType() - the ServletResponse object�s default,
ISO-8859-1, isused.
</spec-quote>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org