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

JavaMain启动中文乱码,KotlinMain启动就不乱码 #5

Open
Tiborhuang opened this issue Oct 11, 2021 · 3 comments
Open

JavaMain启动中文乱码,KotlinMain启动就不乱码 #5

Tiborhuang opened this issue Oct 11, 2021 · 3 comments

Comments

@Tiborhuang
Copy link

Task :JavaMain.main()
2021-10-11 16:58:48 I/Mirai: Mirai ����ʹ�����滷��. ��������֤�뽫�ᵯ���Ի���

KotlinMain启动
2021-10-11 17:29:09 I/Mirai: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 mirai.no-desktop 以关闭.

@ChthollyWn
Copy link

我也是这个问题,请问你解决了吗

@wysnxzm
Copy link

wysnxzm commented Oct 17, 2022

setting>gradle>build and run using项 默认的是gradle,改选idea项

@Plato-Apocalypse
Copy link

1.IDEA项目utf8设置好,2.IDEA -->HELP —> Edit Custom VM OPtions 加参数:-Dfile.encoding=UTF-8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants