Within eclipse properties garbled

Open eclipse properties file contains characters, the display distortion;

Before saving:

user.name = Yes

Save after:

user.name=\u5BF9\u5440

properties file encoding to ISO8859-1, in fact, this is not garbled, but the characters converted to ascii characters

 

First, open the eclipse Help - "Eclipse Marketplace ..., as shown in operation


Just loads when you open some common plug-ins, please be patient, to be loaded in the upper left of the input properties and enter a search (magnifying glass icon to search or back can also click)


Properties Editor selected in the search results and click on the bottom right of the plug corresponding to plug installation Insert button.


Due to eclipse the network is slow, so quiet you could appear later on this interface, check all plug-ins, and then click Confirm> to enter the next step


Agree to this option, and click Finish to begin the installation plug


The installation process prompts a warning, click OK to


You will be prompted to restart to take effect after the installation is complete, if you write code to save, and then click Yes (this will automatically restart Eclipse), or else point No, and then manually restart eclipse


Restart eclipse can be found in the file properties show normal Chinese


Original: https: //blog.csdn.net/gjm15652957971/article/details/80311714

Guess you like

Origin www.cnblogs.com/hawk-li/p/10974554.html