Author: markt Date: Wed Aug 7 20:00:51 2013 New Revision: 1511463 URL: http://svn.apache.org/r1511463 Log: Part of fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48550 Make sure JSPs that could output UTF-8 mark the content as UTF-8. I think I found all the places where this needed to be changed.
Modified: tomcat/trunk/webapps/examples/jsp/cal/cal1.jsp tomcat/trunk/webapps/examples/jsp/cal/cal2.jsp tomcat/trunk/webapps/examples/jsp/jsp2/el/functions.jsp tomcat/trunk/webapps/examples/jsp/jsp2/el/implicit-objects.jsp Modified: tomcat/trunk/webapps/examples/jsp/cal/cal1.jsp URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/cal/cal1.jsp?rev=1511463&r1=1511462&r2=1511463&view=diff ============================================================================== --- tomcat/trunk/webapps/examples/jsp/cal/cal1.jsp (original) +++ tomcat/trunk/webapps/examples/jsp/cal/cal1.jsp Wed Aug 7 20:00:51 2013 @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --%> +<%@page contentType="text/html; charset=UTF-8" %> <HTML> <HEAD><TITLE> Calendar: A JSP APPLICATION Modified: tomcat/trunk/webapps/examples/jsp/cal/cal2.jsp URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/cal/cal2.jsp?rev=1511463&r1=1511462&r2=1511463&view=diff ============================================================================== --- tomcat/trunk/webapps/examples/jsp/cal/cal2.jsp (original) +++ tomcat/trunk/webapps/examples/jsp/cal/cal2.jsp Wed Aug 7 20:00:51 2013 @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --%> +<%@page contentType="text/html; charset=UTF-8" %> <HTML> <HEAD><TITLE> Calendar: A JSP APPLICATION Modified: tomcat/trunk/webapps/examples/jsp/jsp2/el/functions.jsp URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/jsp2/el/functions.jsp?rev=1511463&r1=1511462&r2=1511463&view=diff ============================================================================== --- tomcat/trunk/webapps/examples/jsp/jsp2/el/functions.jsp (original) +++ tomcat/trunk/webapps/examples/jsp/jsp2/el/functions.jsp Wed Aug 7 20:00:51 2013 @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --%> +<%@page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> <%@ taglib prefix="my" uri="http://tomcat.apache.org/jsp2-example-taglib"%> Modified: tomcat/trunk/webapps/examples/jsp/jsp2/el/implicit-objects.jsp URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/jsp2/el/implicit-objects.jsp?rev=1511463&r1=1511462&r2=1511463&view=diff ============================================================================== --- tomcat/trunk/webapps/examples/jsp/jsp2/el/implicit-objects.jsp (original) +++ tomcat/trunk/webapps/examples/jsp/jsp2/el/implicit-objects.jsp Wed Aug 7 20:00:51 2013 @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --%> +<%@page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> <html> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org