mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Encode editor payload using UTF-8 (#841)
This commit is contained in:
parent
bd3a4e1ad7
commit
4923d10b86
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user