MyEclipse Encoding Setup

Source: Internet
Author: User


To make a JS file open when the encoding format is UTF-8, there are 2 things to do:

1, set the default encoding JS file format for UTF-8;

2, set the encoding format for workspace to UTF-8.

Set the default encoding format for JS files to UTF-8

On the Windows->preference page, select general->content Types

In the box on the right, select Text->javascript, and change the Default Encoding below to Utf-8


Set the default encoding format for Java files to UTF-8

On the Windows->preference page, select General->content Types

In the box to the right, select Java Class File and change the following default encoding to Utf-8


Set the encoding format for workspace to UTF-8

On the Windows->preference page, select General->workspace

Select the text File encoding in the right-hand box and change to Utf-8

After setting up these 2, the default open JS file is UTF-8 encoded.


MyEclipse Encoding Setup

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.