Closed whitescent closed 1 month ago
I met the same bug and I think it is a string encoding/decoding problem related to AWT. All AWT widgets seems not supporting UTF-8 by default.
You can try to add -Dfile.encoding=gbk
to jvmArgs to fix it, though it does not seems like a good solution.
Another way could be using a font support UTF8, see Unicode text is not displayed correctly in awt Label. Maybe a font parameter of MenuScope.Item
is helpful.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
It shows well.
info
Update:
I found that if I run the program directly from
IDEA
, it shows garbled code, but if I run it as ajar
orexe
, it doesn't have this error.