Home  >  Article  >  Java  >  Java import new project garbled solution

Java import new project garbled solution

尚
Original
2019-12-02 10:02:202627browse

Java import new project garbled solution

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn