Scenario:
The source code of the maven project is copied and imported on the eclipse of another computer, and there is a Chinese garbled
phenomenon . Solution:
Find the garbled java file, and on the notepad, the format column displays "encoded in ansi format" (corresponding to gbk) ,it shows good.
Enter GBK in eclipse->window->preferences->General->Content Types->Text->Java Source File
Default encoding, after update, it will display normally after re-import.
Other file garbled processing refer to the above operation
eclipse garbled
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326880733&siteId=291194637
Ranking