Beyond Compare Chinese garbled what to do

Source: Internet
Author: User

Beyond Compare powerful, but in the use of Beyond Compare compare some Java or JSP file containing Chinese, obviously in the project is right, but with Beyond Compare opened after the garbled, and looked at a bunch of garbled and uncomfortable. Then how to solve gbk/utf-8 and other characters, code display garbled? This section will explain in detail the method of solving beyond compare Chinese garbled problem.

Method one for session setup

Step one opens the text comparison session interface, and under the "Session" menu, select "Session Settings" as shown in;


Select the session settings sample under the Session menu

Step two in the Open Session Settings dialog box select "Format", in the left-hand side of the encoding rewrite and the right-hand encoding overlay Select GB2312/UTF-8/GBK, which can be selected according to their preferences and the text of their own encode.


Select the encoding format example under Format options

This is only a session, the configured encoding information is only valid for the comparison of this text. The next time you open similar text, you need to reconfigure it. So there's a second way.

Method two file format (permanent configuration)

Step one opens the text comparison session interface, and under the Tools menu, select the file format option, as shown in;


Select File Format sample under the Tools menu

Step two on the right side of the Open File Format dialog box, select the first tab "Convert", set the encoding in the encoding options below, then click Save.


Example of setting encoding under encoding

Above to everyone to explain the solution beyond compare Chinese garbled two methods, two methods can solve garbled problem, method two more convenient, just set one time later, in the comparison file does not need to set up, also will not appear garbled situation. Garbled problem solved, compare files easier, if you want to learn more about the beyond compare to modify the color of the comparison file tutorial, you can refer to beyond compare how to modify the contrast file color.

Beyond Compare Chinese garbled what to do

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.