Regarding Chinese garbled characters in idea, Eclipse, EditPlus and other software, modify the coding problem and solve it in one step

  1. First of all, why there are garbled characters, because of the encoding problem of your files and software
  2. Many people will choose to modify the code in the software, in fact, this is a very cumbersome operation
  3. Is there a simple common solution to file and software encoding issues?
  4. Instead of modifying the code in the software, it is better to modify the code of the file to make it consistent with the software. The following will introduce
  • Use the original computer notepad to solve the problem

        The Notepad provided by Windows can actually modify the file encoding , the operation is as follows:

        Right-click the file, select Open With , and open it with Notepad

        

        Click on file, select save as

        

         Then there is an encoding drop-down box below, if your software is UTF-8 (such as idea software ), then select UTF-8, if your software is GBK encoding (such as EditPlus software ), then select ANSI

 After saving and opening the software, you will find that the garbled characters have been solved, and the process is very simple! ! !

 

Guess you like

Origin blog.csdn.net/m0_59799878/article/details/129760064