-
Notifications
You must be signed in to change notification settings - Fork 14
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
乱码问题 #49
Labels
Comments
当然 最好的方式设置对应系统的编码方式 // 获取系统默认的文件编码
Charset defaultCharset = Charset.defaultCharset();
System.out.println("Default Charset: " + defaultCharset.name());
commandLine.withCharset(defaultCharset ) |
bluelovers
added a commit
that referenced
this issue
Aug 15, 2024
所以才會需要 #4 (comment) 因為他不是包含所有建立出來的終端跟命令烈都是utf8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
*老哥 , 我猜测commandLine.withCharset(Charset.forName("UTF-8")) 这里字符集配置失效可能是因为你创建命令行使用的是NodeCommandLineUtil的缘故 *
The text was updated successfully, but these errors were encountered: