From: David ‘Bombe’ Roden Date: Wed, 4 Oct 2017 17:26:44 +0000 (+0200) Subject: Fix charset name X-Git-Tag: 0.9.7^2~30 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a34c3b49cdd2a0d71d0c061ce33f567b77409383;p=Sone.git Fix charset name --- 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();