Set the Eclipse encoding method

Source: Internet
Author: User

1. Modify the Eclipse Default Workspace encoding method. Click "Windows"-"preferences", pop-up window, click "General"-"workspace", so that each time you write

The default text file encoding method is used UTF-8

2. Modify the project coding method. Move the mouse to the project name, right-click, select "Properties", Pop-up dialog box, select "Resources", there is a "text file

Code, select the encoding you want to use

3. Modify the file encoding method. Move the mouse to the file, right-click, select "Properties", Pop-up dialog box, also "resources" under a "Text file encoding"

, select the encoding you want to use

4. Modify the default encoding for a class of files. Window-preferences, pop-up dialog box, select General-Content type, select the type you want to modify on the right,

Select the encoding you want to use at the "Default encoding" below

Set the Eclipse encoding method

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.