You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: Windows 7 Professional with Service Pack 1 Build 7601 x64 zh-cn
the cmd default chcp is 936(The default font is a dot matrix font), you can change follow this step:
1、chcp 936 (GBK)
2、Right-click the title bar, properties, click OK to make the settings take effect
if i set the font to ‘新宋体’ and run
chcp 65001 && "D:/Genuitec/MyEclipse 2016/binary/com.sun.java.jdk8.win32.x86_1.8.0.u66/bin/java.exe" -jar "D:/static_code_analysis/Checkstyle/checkstyle-7.2-all.jar" -c "D:/static_code_analysis/Checkstyle/google_checks.xml" "E:\Workspaces\test\common.xml"
this issues(checkstyle/checkstyle#3569) can be fixed
then use mintty (options > Text > Character > GBK)
ipconfig output is right, checkstyle output is wrong then use mintty (options > Text > Character > UTF-8)
ipconfig output is wrong, checkstyle output is right ------------------------------------------------------------------------- Option Ⅱ cmd
1、chcp 65001 (UTF-8)
2、Modify the font, do not use dot matrix fonts
3、run "D:/Genuitec/MyEclipse 2016/binary/com.sun.java.jdk8.win32.x86_1.8.0.u66/bin/java.exe" -jar "D:/static_code_analysis/Checkstyle/checkstyle-7.2-all.jar" -c "D:/static_code_analysis/Checkstyle/google_checks.xml" "E:\Workspaces\test\common.xml"
the checkstyle output is right
then use mintty (options > Text > Character > GBK) then use mintty (options > Text > Character > UTF-8)
output looks like Option Ⅰ
The text was updated successfully, but these errors were encountered:
OS: Windows 7 Professional with Service Pack 1 Build 7601 x64 zh-cn
the cmd default chcp is 936(The default font is a dot matrix font), you can change follow this step:
1、chcp 936 (GBK)
2、Right-click the title bar, properties, click OK to make the settings take effect
if i set the font to ‘新宋体’ and run
chcp 65001 && "D:/Genuitec/MyEclipse 2016/binary/com.sun.java.jdk8.win32.x86_1.8.0.u66/bin/java.exe" -jar "D:/static_code_analysis/Checkstyle/checkstyle-7.2-all.jar" -c "D:/static_code_analysis/Checkstyle/google_checks.xml" "E:\Workspaces\test\common.xml"
this issues(checkstyle/checkstyle#3569) can be fixed
then use mintty (options > Text > Character > GBK)
ipconfig output is right, checkstyle output is wrong
then use mintty (options > Text > Character > UTF-8)
ipconfig output is wrong, checkstyle output is right
-------------------------------------------------------------------------
Option Ⅱ
cmd
1、chcp 65001 (UTF-8)
2、Modify the font, do not use dot matrix fonts
3、run "D:/Genuitec/MyEclipse 2016/binary/com.sun.java.jdk8.win32.x86_1.8.0.u66/bin/java.exe" -jar "D:/static_code_analysis/Checkstyle/checkstyle-7.2-all.jar" -c "D:/static_code_analysis/Checkstyle/google_checks.xml" "E:\Workspaces\test\common.xml"
the checkstyle output is right
then use mintty (options > Text > Character > GBK)
then use mintty (options > Text > Character > UTF-8)
output looks like Option Ⅰ
The text was updated successfully, but these errors were encountered: