java import new project garbled solution: (recommended: java video tutorial)
1. Right-click properties on the project and select Resource. Change the Text file encoding settings (bgk or utf-8, etc...)
2. In the IDE (Eclipse), select Window--->preferences---->General----> ;Workspace----Find Text file encoding and set the encoding format
3. (What I use) In the IDE (Eclipse), select Window--->preferences---->General--- ->Content Types-------Click on text (there is a symbol)---Find Java Source File ----Set the appropriate encoding format (gbk or UTF-8) in Default encoding
For more java knowledge, please pay attention to the java basic tutorial column.
The above is the detailed content of Java import new project garbled solution. For more information, please follow other related articles on the PHP Chinese website!