Chinese garbled characters After myeclipse import Project

Source: Internet
Author: User

Encoding settings:

Global encoding settings: toolbar --> window --> preferences --> General --> workspace --> text file encoding to set the appropriate encoding.

Local encoding settings: Right-click the source code and choose --> General --> editors --> test editors --> spelling --> encoding. Here we set the encoding of a single file.

We recommend that you use global encoding settings.

Myeclipse encoding settings:

Windows à preferences à myeclipse (Enterprise Workbench)

Files and editors à JSP à right encoding-> (UTF-8) --> Update

File default encoding settings:

Window-> preference, General-> content types on the left, open text in the box above the right, and select Java source file (you can see the box below has *. java on the right), and then in the "Default edcodng" text box below input "UTF-8", click "Update", it is OK. (The encoding of any file can be set here !)

Other edit-setencoding and project-properties-resource-text file encoding settings can be inherited from the container.

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.