win charles显示中文乱码解决终极方案

win charles显示中文乱码解决终极方案

1 找到Charles.ini
2 然后修改文件 加个vmarg.2=-Dfile.encoding=UTF-8 就可以了
具体如下

working.directory=.
classpath.1=lib/charles.jar
main.class=com.xk72.charles.gui.MainWithClassLoader
vm.version.min=1.4
vm.heapsize.preferred=256M
vmarg.1=-Dsun.java2d.d3d=false
vmarg.2=-Dfile.encoding=UTF-8
dde.enabled=true
dde.class=com.xk72.charles.win32.Win32DDEManager
dde.server.name=Charles
dde.topic=System
single.instance=dde

[ErrorMessages]
java.not.found=A suitable Java installation was not found. Please visit http://www.java.com/ to install Java.
java.failed=The Java installation is broken. Please uninstall and reinstall Java from http://www.java.com/