Launcher icon indicating copy to clipboard operation
Launcher copied to clipboard

Minecraft Logs are still shown in system encoding in Java 18 and higher versions

Open XIAYM-gh opened this issue 3 years ago • 2 comments

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

  1. Launch game & Open the multimc log inspector
  2. 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.

XIAYM-gh avatar Oct 24 '22 11:10 XIAYM-gh

Java 18 is not officially supported by Minecraft anyway, use java 17 for 1.17+ and java 8 for older versions

arthomnix avatar Nov 02 '22 16:11 arthomnix

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

SeemWind avatar Apr 20 '24 15:04 SeemWind