Open I-love-study opened 2 years ago
你需要调整终端的编码
不管活动代码页是936还是65001,都是同样的编码错误 而且仅仅只公告栏的文字出现乱码,log并没有出现乱码
https://github.com/iTXTech/mirai-console-loader/issues/138 本仓库开发者使用的文本编辑器似乎是倾向于windows编码的,会出现各种编码问题,希望开发者重视
在openjdk 19上同样有这个问题
在 mcl.cmd 里面加上 chcp 65001 把终端改utf-8编码就行
@echo off
chcp 65001
setlocal
set JAVA_BINARY=java
%JAVA_BINARY% -jar mcl.jar %*
当使用 Windows + ibm semeru openjdk 的情况下, Mirai Console Loader 公告栏会出现乱码 注:必须是两个同时成立的情况下才会出现,在Windows上使用其他发行的 openjdk 或者在 linux 系统下使用 ibm semeru openjdk 则没有发现乱码