Home  >  Article  >  Web Front-end  >  HTML中文乱码的解决_html/css_WEB-ITnose

HTML中文乱码的解决_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:47:041105browse

【背景】

在一个项目中,发现在Eclipse打开部分HTML页面中文是乱码,而java代码、jsp页面的中文是正常的。

【解决方式】

经跟踪发现,出现乱码的HTML页面是由其他编辑器开发的,保存时,编码改成“UTF-8”再放入工程中,Eclipse打开则正常了。

 

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn