Home >Web Front-end >HTML Tutorial >Statsvn code statistics encounter Chinese garbled characters and solve them

Statsvn code statistics encounter Chinese garbled characters and solve them

WBOY
WBOYOriginal
2016-06-24 12:25:492213browse

java class statsvn code statistics decompiled Chinese support

Use statsvn to enter code statistics and encounter Chinese garbled characters
The first thing I found is that the directory has Chinese garbled characters
The title on the chart is garbled
The coordinate axis on the chart The date is garbled

Since I am using win7, the Chinese package available online did not solve the problem
I finally decided to do it myself,
decompile the class, get the relevant java files, and modify the Chinese support characters
Compile the java file: javac java file to get the new class
and then put back the statsvn.jar package
and compile the statsvn source code yourself and add some debugging logs.
Final solution:
Support the Chinese directory in the chart title
Support the Chinese date on the chart axis
For the default encoding, please bring the -charset gb2312 parameter when using it
Share with everyone :
statsvn.jar Chinese package download address
http://download.csdn.net/detail/mabaoyes/5133777

Reply to discussion (solution)

There are very few people here!

I encountered a similar problem, thank you, the author

It’s a good tool, thank you

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn