Eclipse modifies the encoding type of a project file

Source: Internet
Author: User

1. Right-click the file whose encoding you want to modify and select [properties].

2. Select [Resource] on the left and [text file encoding] on the right. The default value is the Code inherited from the project. We select [other] to modify the encoding.

3. Select the expected encoding type from the drop-down list, or enter the encoding type by yourself.

4. Click [OK] to complete the selection.

Finally, we will provide you with a small skill.

After you convert the code, the previous Chinese may become garbled. You can do this.
1. Change the text back to normal.
2 select all text, CTRL + A, and then copy Ctrl + c
3. Modify the Encoding
4. Select Ctrl + A again, paste it, and press Ctrl + v.
5 have you seen it? Eclipse will automatically put the content of Ctrl + C on the current page, and the encoding has been changed.

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.