diff options
Diffstat (limited to 'id.server/src')
-rw-r--r-- | id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java index a41f4be05..c73f963e1 100644 --- a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java +++ b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java @@ -37,6 +37,7 @@ public class SelectBKUServlet extends AuthServlet { try { super.init(servletConfig); MOAIDAuthInitializer.initialize(); + Logger.debug("default platform file.encoding: " + System.getProperty("file.encoding")); Logger.info(MOAIDMessageProvider.getInstance().getMessage("init.00", null)); } catch (Exception ex) { @@ -73,13 +74,14 @@ public class SelectBKUServlet extends AuthServlet { if (bkuSelectionType.equals(AuthConfigurationProvider.BKU_SELECTION_TYPE_HTMLCOMPLETE)) { // bkuSelectionType==HTMLComplete String redirectURL = returnValue; + resp.setContentType("text/html"); resp.sendRedirect(redirectURL); Logger.info("REDIRECT TO: " + redirectURL); } else { // bkuSelectionType==HTMLSelect String htmlForm = returnValue; - resp.setContentType("text/html"); + resp.setContentType("text/html;charset=UTF-8"); Logger.debug("HTML-Form: " + htmlForm); PrintWriter out = new PrintWriter(resp.getOutputStream()); out.print(htmlForm); |