Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if myeclipse opens the html garbled code?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "what to do when myeclipse opens html garbled codes". In daily operation, I believe many people have doubts about how to open html garbled codes in myeclipse. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "how to open html garbled codes by myeclipse". Next, please follow the editor to study!

Methods: 1, select the project, right-click to select "properties", change the coding format of the Other item; 2, click "Windows"-"preference"-"general"-"Content Types"-"Text"-"HTML" to set the desired coding format.

The operating environment of this tutorial: windows7 system, myeclipse10.7.1&&html5 version, Dell G3 computer.

Problem: open the HTML file in MyEclipse garbled, use other text editing tools (notepad++) to open it normally.

Solution:

1. First change the coding of the project.

Select the item and right-click properties- > to change it to the desired encoding format.

2. It is found that the Java code is normal and the html code is still garbled after the change.

Then change: Windows-> preference-> general-> Content Types-> Text-> Select the suffix file format you want to change, and change it to the correct format.

Attachment: you can set the file encoding of the MyEclipse workspace to be commonly used. Because the code of Windows is GBK, but we often use it as UTF-8.

At this point, on the "myeclipse open html garbled how to do" on the end of the study, I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report