Fix the UTF8 POSTing issue

This commit is contained in:
str4d
2012-03-01 05:03:29 +00:00
parent 5b6a23b13a
commit b6f7321497

View File

@@ -1,6 +1,10 @@
<%
// NOTE: Do the header carefully so there is no whitespace before the <?xml... line
// http://www.crazysquirrel.com/computing/general/form-encoding.jspx
if (request.getCharacterEncoding() == null)
request.setCharacterEncoding("UTF-8");
%><%@page pageEncoding="UTF-8"
%><%@page contentType="text/html" import="net.i2p.i2ptunnel.web.EditBean"
%><?xml version="1.0" encoding="UTF-8"?>