Fix charset name
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 4 Oct 2017 17:26:44 +0000 (19:26 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 4 Oct 2017 17:26:44 +0000 (19:26 +0200)
src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java

index 8ddbacd..943135d 100644 (file)
@@ -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();