mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-28 05:45:36 +00:00
Encode editor payload using UTF-8 (#841)
This commit is contained in:
1 file changed
+1
-1
@@ -114,7 +114,7 @@ public enum StandardPastebin implements Pastebin {
|
||||
outputStream = byteOut;
|
||||
}
|
||||
|
||||
try (Writer writer = new OutputStreamWriter(outputStream)) {
|
||||
try (Writer writer = new OutputStreamWriter(outputStream, StandardCharsets.UTF_8)) {
|
||||
GSON.toJson(content, writer);
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
|
||||
Reference in new issue
Block a user