From e28c9773fc36c381c83ea9bdcd7e68787cfc5571 Mon Sep 17 00:00:00 2001 From: Gravita <12893402+gravit0@users.noreply.github.com> Date: Tue, 5 Mar 2024 19:07:02 +0700 Subject: [PATCH] [FIX] file.encoding utf-8 by default --- .../java/pro/gravit/launchserver/config/LaunchServerConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/config/LaunchServerConfig.java b/LaunchServer/src/main/java/pro/gravit/launchserver/config/LaunchServerConfig.java index 82598844..9300340a 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/config/LaunchServerConfig.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/config/LaunchServerConfig.java @@ -75,6 +75,7 @@ public static LaunchServerConfig getDefault(LaunchServer.LaunchServerEnv env) { newConfig.launcher.compress = true; newConfig.launcher.deleteTempFiles = true; newConfig.launcher.stripLineNumbers = true; + newConfig.launcher.customJvmOptions.add("-Dfile.encoding=UTF-8"); newConfig.sign = new JarSignerConf();