From a34c3b49cdd2a0d71d0c061ce33f567b77409383 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 4 Oct 2017 19:26:44 +0200 Subject: [PATCH] Fix charset name --- src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java b/src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java index 8ddbacd..943135d 100644 --- a/src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java +++ b/src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java @@ -225,7 +225,7 @@ public abstract class JsonPage implements FreenetPage { OutputStreamWriter writer = null; PrintWriter printWriter = null; try { - writer = new OutputStreamWriter(byteArrayOutputStream, "uTF-8"); + writer = new OutputStreamWriter(byteArrayOutputStream, "UTF-8"); printWriter = new PrintWriter(writer); t.printStackTrace(printWriter); byteArrayOutputStream.flush(); -- 2.7.4