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

Doesn't support Chinese very well #7

Open
XiaoboD opened this issue May 1, 2020 · 2 comments
Open

Doesn't support Chinese very well #7

XiaoboD opened this issue May 1, 2020 · 2 comments

Comments

@XiaoboD
Copy link

XiaoboD commented May 1, 2020

When there is Chinese in comment, some of characters will be garbled.
before:
image
after:
image

@Padgett233
Copy link

我也遇到了这个问题
I also have this problem

@Padgett233
Copy link

solution:
when you are trying to install
"jdk-8u271-windows-x64.exe" or "jre-8u271-windows-x64_2.exe"
but the java's default encoding is not the "UTF-8"
so you need to :
创建系统环境变量:
变量名: JAVA_TOOL_OPTIONS, 变量值:-Dfile.encoding=UTF-8

finally,input "java" command in your CMD,
you will see : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
(maybe your windows's CMD's default encoding is not the "UTF-8" too!)

i am sorry that my english is poor , you can find more help in google with the keyword “Set the JDK default encoding to 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

2 participants