susidns UTF-8 fixes for POST requests (yep, blame tagged 'action' parameters)

This commit is contained in:
forget
2009-12-19 18:16:28 +00:00
parent ec893d09d0
commit 126fa320e5
4 changed files with 20 additions and 0 deletions

View File

@ -22,6 +22,11 @@
* *
* $Revision: 1.3 $ * $Revision: 1.3 $
*/ */
// http://www.crazysquirrel.com/computing/general/form-encoding.jspx
if (request.getCharacterEncoding() == null)
request.setCharacterEncoding("UTF-8");
%> %>
<%@page pageEncoding="UTF-8"%> <%@page pageEncoding="UTF-8"%>
<%@ page contentType="text/html"%> <%@ page contentType="text/html"%>

View File

@ -22,6 +22,11 @@
* *
* $Revision: 1.1 $ * $Revision: 1.1 $
*/ */
// http://www.crazysquirrel.com/computing/general/form-encoding.jspx
if (request.getCharacterEncoding() == null)
request.setCharacterEncoding("UTF-8");
%> %>
<%@page pageEncoding="UTF-8"%> <%@page pageEncoding="UTF-8"%>
<%@ page contentType="text/html" %> <%@ page contentType="text/html" %>

View File

@ -22,6 +22,11 @@
* *
* $Revision: 1.2 $ * $Revision: 1.2 $
*/ */
// http://www.crazysquirrel.com/computing/general/form-encoding.jspx
if (request.getCharacterEncoding() == null)
request.setCharacterEncoding("UTF-8");
%> %>
<%@page pageEncoding="UTF-8"%> <%@page pageEncoding="UTF-8"%>
<%@ page contentType="text/html"%> <%@ page contentType="text/html"%>

View File

@ -22,6 +22,11 @@
* *
* $Revision: 1.2 $ * $Revision: 1.2 $
*/ */
// http://www.crazysquirrel.com/computing/general/form-encoding.jspx
if (request.getCharacterEncoding() == null)
request.setCharacterEncoding("UTF-8");
%> %>
<%@page pageEncoding="UTF-8"%> <%@page pageEncoding="UTF-8"%>
<%@ page contentType="text/html"%> <%@ page contentType="text/html"%>