Summary: | <fmt:requestEncoding> with no value attribute specified doesn't set the character encoding properly based on the spec. | ||
---|---|---|---|
Product: | Taglibs | Reporter: | Ryan Lubke <Ryan.Lubke> |
Component: | Standard Taglib | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | P3 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Ryan Lubke
2002-04-01 20:00:40 UTC
Fixed. Agree with problem 2 (default encoding not applied) in the bug description section, but not problem 1 ("The character encoding as specified by a Content-Type header is never considered."). In the case where the request already specifies a char encoding, we should not have to do anything, since retrieving the request encoding using pageContext.getRequest().getCharacterEncoding() and then setting it using pageContext.getRequest().setCharacterEncoding(value); should be redundant. Fixed problem 1. |