Launcher
Launcher copied to clipboard
Minecraft Logs are still shown in system encoding in Java 18 and higher versions
Operating System
Windows
Description of bug
Since Java 18, it has enabled the "Global UTF-8" feature, but MultiMC still reads logs in system encoding (such as GBK), and it causes non-ascii characters can't be shown correctly.
Steps to reproduce
- Launch game & Open the multimc log inspector
- Send any non-ascii message
Suspected cause
It is already been said in the description.
This issue is unique
- [X] I have searched the issue tracker and did not find an issue describing my bug.
Java 18 is not officially supported by Minecraft anyway, use java 17 for 1.17+ and java 8 for older versions
It has not been solved yet, for me I have to add these jvm parameter
-Dfile.encoding=gbk
not sure whether it will cause other errors