aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv
diff options
context:
space:
mode:
Diffstat (limited to 'id.server/src/at/gv')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java7
1 files changed, 4 insertions, 3 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 c73f963e1..50d3225d2 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
@@ -1,7 +1,8 @@
package at.gv.egovernment.moa.id.auth.servlet;
import java.io.IOException;
-import java.io.PrintWriter;
+import java.io.OutputStreamWriter;
+import java.io.Writer;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
@@ -83,8 +84,8 @@ public class SelectBKUServlet extends AuthServlet {
String htmlForm = returnValue;
resp.setContentType("text/html;charset=UTF-8");
Logger.debug("HTML-Form: " + htmlForm);
- PrintWriter out = new PrintWriter(resp.getOutputStream());
- out.print(htmlForm);
+ Writer out = new OutputStreamWriter(resp.getOutputStream(), "UTF8");
+ out.write(htmlForm);
out.flush();
Logger.debug("Finished GET SelectBKU");
}