WebBox Klassenbibliothek
Ulrich
2020-06-17 1323073e42ea74963c6992d90714e0a01b6b4ac3
Encoding korrigiert
1 files modified
2 ■■■ changed files
src/de/uhilger/wbx/web/AdocServlet.java 2 ●●● patch | view | raw | blame | history
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);