Skip to content

Commit

Permalink
Fixed: use UTF-8 for config
Browse files Browse the repository at this point in the history
  • Loading branch information
BestBearr committed Jul 29, 2024
1 parent 982a535 commit fd9701c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.jetbrains.annotations.NotNull;

import java.io.File;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.Map;

Expand All @@ -35,6 +36,7 @@ public ConfigManager(@NotNull AlpinePlugin plugin, @NotNull SerializerRegistry s
}

YamlConfigurationProperties.Builder<?> builder = ConfigLib.BUKKIT_DEFAULT_PROPERTIES.toBuilder()
.charset(StandardCharsets.UTF_8)
.inputNulls(true)
.outputNulls(true);

Expand Down

0 comments on commit fd9701c

Please sign in to comment.