MyEclipse garbled problem

Source: Internet
Author: User

1 Entering Window->preferences

  • General->content types, you can set the text corresponding to the default encoding value of UTF-8 or empty, and then click Update. You may also click Text to enter the Java source file property, set the default encoding value to UTF-8 or empty, and click Update.
  • General->editors->text editors->spelling. Set the Encoding property to UTfF-8.
  • General->workspace. Set the text file encoding to UTF-8.
  • MyEclipse->files and editors. There is usually no need to modify this, so leave the default. The default ASP and PHP and JSP encoding are ISO Latin-1, and the encoding value of the other properties is ISO 10646/unicod (UTF-8)


2 Right-click the Properties property of the project, select Resource, set the text file encoding value to UTF-8.

The above methods can basically solve all the garbled problem, if not, you can select a Java file, right-click the Properties property, enter resource Select text file Encoding is encoded in UTF-8. Or put a single file in txt text, make sure it's not garbled and then copied in. These two methods are only suitable for a small number of files garbled, not suitable for the entire project garbled.

Finally, restart the program.

MyEclipse garbled problem

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.