Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mirai native插件菜单显示不出文字怎么办 #164

Open
weizid opened this issue Sep 22, 2022 · 2 comments
Open

mirai native插件菜单显示不出文字怎么办 #164

weizid opened this issue Sep 22, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@weizid
Copy link

weizid commented Sep 22, 2022

因为好像有些插件不兼容jdk64位,所以换成了32位版本的,jdk在Temurin下载的
QQ截图20220922204122
操作系统:Windows server 2016
mcl 2.1.1
mirai native 版本:2.0.0
Java 运行时版本:18.0.2.1 32位

@weizid weizid added the bug Something isn't working label Sep 22, 2022
@weizid
Copy link
Author

weizid commented Sep 23, 2022

破案了,是jdk18版本还不兼容,用17或以下版本就好了

@cssxsh
Copy link
Contributor

cssxsh commented Nov 6, 2022

不是不兼容 ,而是 java 18 开始
java 就固定了默认编码 为 utf-8 , 不再是从系统中获取
你需要指定编码为中文的 GBK -Dfile.encoding=GBK

例如编辑 启动脚本 mcl.cmd, 在 -jarmcl.jar 之间加上 -Dfile.encoding=GBK
-Dfile.encoding=GBK -jar mcl.jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants