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

Java import new project garbled solution

Release: 2019-12-02 10:02:20
Original
2745 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template