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 a line is left empty on the utf8 coding page without reason and the utf8 page cannot be displayed under IE?

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

Editor to share with you under the IE utf8 coding page for no reason to empty a line and the utf8 page can not be displayed how to do, I hope you have something to gain after reading this article, let's discuss it together!

The reason is that when all utf8 codes are used to include files, the final binary stream contains multiple UTF8 BOM tags, and IE cannot normally parse pages containing multiple UTF8 BOM tags and directly replace them with actual displayed carriage returns, which leads to a blank line, but firefox does not have this problem.

Therefore, if the template uses the included method to include multiple utf8 files that need to be saved with ultraedit, save as a function selection utf8 without bom format.

In addition, if the Chinese page places the title tag in the html head tag

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