Eclipse Import Project garbled problem (Chinese garbled)

Source: Internet
Author: User

1. Incorrect encoding

A. Change the code for a file or a project:

Move the mouse to the project name or file name, right-->properties->resource->text file enCoding, change encoding (GBK, UTF-8, etc.)->apply->ok exit

B. Modifying the encoding of the entire namespace

Eclipse Menu Bar->window->preferences (Preferences is generally the place to modify various Eclipse settings)->general->workspace->text file encoding, change encoding (GBK, UTF-8, etc.)->apply->ok exit

C. Modifying the encoding of a particular type of file (such as an XML file, Java file type) (not affected by namespace encoding)

Eclipse Menu bar->window->preferences->general->content types-> in the right view, select the language in the default encoding file type- >update->ok exit

Note: If the drop-down menu does not have the type of language you want, you can use your keyboard to enter it. If you do not change the language type, eclipse will naturally error, no error indicates that you can change the language type.

2.maven problem

Eclipse Menu bar->window->preferences->maven->installations->user settings-> importing Maven settings.xml files- >refresh

But why does maven now cause garbled don't know--

3. Two projects different coding methods put into a workspace there may be conflicts. Try not to put it in a workspace and see if you can solve the problem.

Eclipse Import Project garbled problem (Chinese garbled)

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.