Home  >  Article  >  Software Tutorial  >  How to batch modify the graphic and text encoding of java files in eclipse

How to batch modify the graphic and text encoding of java files in eclipse

PHPz
PHPzOriginal
2024-06-09 16:59:08913browse

Been troubled for a long time! The encoding of java files is not uniform, and an error occurs when the project is run? Don’t worry, PHP editor Xigua has some advice for you! This tutorial will introduce in detail a convenient method of combining graphics and text to help you batch modify the encoding of java files, easily solve encoding problems, and help your project run smoothly. Click now to view the details and save your code!

Open the eclipse tool, select windows,

How to batch modify the graphic and text encoding of java files in eclipse

right-click [windows], and then click [Preferences] to enter the following page:

How to batch modify the graphic and text encoding of java files in eclipse

Select [General]-》[Content Types],

How to batch modify the graphic and text encoding of java files in eclipse

Click [Content Types], the following picture will appear:

How to batch modify the graphic and text encoding of java files in eclipse

Click in sequence [Text]-[Java Source File], the following picture will appear

How to batch modify the graphic and text encoding of java files in eclipse

Fill in the encoding you need in the Default encoding, here is an example [utf-8], click [Update] Modify all files to the encoding you specify

How to batch modify the graphic and text encoding of java files in eclipse

The above is the detailed content of How to batch modify the graphic and text encoding of java files in eclipse. 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