From 1323073e42ea74963c6992d90714e0a01b6b4ac3 Mon Sep 17 00:00:00 2001 From: Ulrich <undisclosed> Date: Wed, 17 Jun 2020 15:19:34 +0000 Subject: [PATCH] Encoding korrigiert --- src/de/uhilger/wbx/web/AdocServlet.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/de/uhilger/wbx/web/AdocServlet.java b/src/de/uhilger/wbx/web/AdocServlet.java index 7bb93b4..3df878c 100644 --- a/src/de/uhilger/wbx/web/AdocServlet.java +++ b/src/de/uhilger/wbx/web/AdocServlet.java @@ -101,7 +101,7 @@ try (PrintWriter out = response.getWriter()) { // abhaengig vom Parameter pdf HTML- oder PDF-Datei ausgeben FileInputStream in = new FileInputStream(outfile); - BufferedReader reader = new BufferedReader(new InputStreamReader(in)); + BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8")); String line; while ((line = reader.readLine()) != null) { out.println(line); -- Gitblit v1.9.3