From 4631282fc9150fd313a617d0a7191b9398b7cf87 Mon Sep 17 00:00:00 2001 From: marrrrrrme6 <70988388+marrrrrrme6@users.noreply.github.com> Date: Fri, 4 Oct 2024 11:46:19 +0900 Subject: [PATCH] Update MinecraftInstance.cpp Changed jvm arguments to output in utf-8. Signed-off-by: marrrrrrme6 <70988388+marrrrrrme6@users.noreply.github.com> --- launcher/minecraft/MinecraftInstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/minecraft/MinecraftInstance.cpp b/launcher/minecraft/MinecraftInstance.cpp index 98ac7647ff..05110bc085 100644 --- a/launcher/minecraft/MinecraftInstance.cpp +++ b/launcher/minecraft/MinecraftInstance.cpp @@ -518,7 +518,7 @@ QStringList MinecraftInstance::javaArguments() } } - args << "-Duser.language=en"; + args << "-Duser.language=en -Dfile.encoding=UTF-8"; if (javaVersion.isModular() && shouldApplyOnlineFixes()) // allow reflective access to java.net - required by the skin fix