Windows charles response garbled solution, charlesresponse
Use charles of windows as the proxy and find that the response returned by the server will contain Chinese garbled characters,
Check the software settings. Unfortunately, there is no encoding option.
Fortunately, there is a configuration file named charles. ini in the installation directory of Charles windows. You can modify this file to solve this problem.
Specific solution:
Add a line to the Charles. ini file
vmarg.3=-Dfile.encoding=UTF-8
You can.
Restart charles and check the response Chinese. The problem is solved without garbled characters.
Configuration file details:
1 working. directory =. 2 classpath.1 = lib/charles. jar 3 main. class = com. xk72.charles. gui. mainWithClassLoader 4 vm. version. min = 1.4 5 vm. heapsize. preferred= 256 M 6 vm. location = jre \ bin \ client \ jvm. dll 7 vmarg.1 =-Dsun. java2d. d3d = false 8 vmarg.2 = -Djava.net. preferIPv4Stack = true 9 vmarg.3 =-Dfile. encoding = UTF-8 // newly added configuration code 10 dde. enabled = true11 dde. class = com. xk72.charles. win32.Win32DDEManager12 dde. server. name = Charles13 dde. topic = System14 single. instance = dde15 16 [ErrorMessages] 17 java. not. found = A suitable Java installation was not found. please visit http://java.com/to install Java.18 java. failed = The Java installation is broken. please uninstall and reinstall Java from http://java.com/