Windows charles response garbled solution, charlesresponse

Source: Internet
Author: User

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/

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.