Set myeclipse new JSP file default encoding is UTF-8

Source: Internet
Author: User

There are three places to change the encoding settings:

1.

window--"preference--" general--"contenttype

then expand each subkey in the content types and enter "UTF-8" in the default encoding, and then click Update

2.

window--"preference--" myeclipse--"Files and Editor"

Change the "Encoding" of each subkey to "ISO 10645/unicode (UTF-8)" or "chinese,national standard", point Applay,

The document types that you create later are UTF-8 formats!

3 in order to not appear in the project ExtJS Chinese garbled problem, it is recommended to change the MyEclipse workspace settings to UTF-8 encoding

window--"preference--" general--"workspace--" text Files encoding--"other select UTF-8

In this way when the JS code is loaded JS code and JSP encoding the same will not appear garbled, or ExtJS effect can not display the problem

(MyEclipse6.0 version is window--"preference--" myeclipse--"files andeditors the following CSS, DTD, HTML, JS, JSP ecoding changed to UTF-8)

Set myeclipse new JSP file default encoding is UTF-8

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.