Fix toString call which breaks due to Windows not defaulting to UFT8
This commit is contained in:
@@ -108,7 +108,7 @@ public class LangResourcePack extends AbstractFileResourcePack {
|
||||
|
||||
String langFile;
|
||||
try (InputStream in = Files.newInputStream(langPath)) {
|
||||
langFile = IOUtils.toString(in);
|
||||
langFile = IOUtils.toString(in, StandardCharsets.UTF_8);
|
||||
}
|
||||
|
||||
Map<String, String> properties = new HashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user