Solve the problem of importing items in eclipse with Chinese characters

Source: Internet
Author: User

In peacetime development process, the introduction of other people's project learning or two development experience I believe everyone has, but after the introduction of the project in Chinese garbled problems believe that also troubled a lot of people, when the contents of less when the content can also be copied and pasted to solve, but the project content when the headache.

A quick way to teach you a room

The first import of the file became garbled because the workspace encoding method is not correct, Linux under the default encoding is Utf-8,windows is GBK,

So how to modify the workspace encoding method is very simple in window----preference---Workspace can be set as long as the code is changed to Utf-8 can be solved


This article is from the "11828641" blog, please be sure to keep this source http://11838641.blog.51cto.com/11828641/1895837

Solve the problem of importing items in eclipse with Chinese characters

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.