From b6f7321497bd599f4b9defd3673abb46ed5102e3 Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Thu, 1 Mar 2012 05:03:29 +0000 Subject: [PATCH] Fix the UTF8 POSTing issue --- apps/i2ptunnel/jsp/wizard.jsp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/i2ptunnel/jsp/wizard.jsp b/apps/i2ptunnel/jsp/wizard.jsp index ddb6556991..74afb65a28 100644 --- a/apps/i2ptunnel/jsp/wizard.jsp +++ b/apps/i2ptunnel/jsp/wizard.jsp @@ -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"?> -- GitLab