Home > Web Front-end > HTML Tutorial > How to solve html encoding problem. . . _html/css_WEB-ITnose

How to solve html encoding problem. . . _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:22:54
Original
1190 people have browsed it

HTML coding web design

Doing web design, I used uft-8 coding at the beginning, but when it came to product display calls and news calls, I copied the code from other websites, and the result was that website It's gb2312's website. If you copy it, it will be garbled! ! !
Then I used Notepad to filter it, but it still didn’t matter. I created a new uft-8 page, copied the code there, and then called that page, but it still didn’t matter. I’m looking for a way to coexist! ! ! Thank you so much!

Reply to the discussion (solution)

Did you filter it with Notepad and change the file encoding to UTF8?
Isn’t it enough that the file encoding and declaration encoding (META) are the same?

The method above should work
Replace the full text of gb2312 with uft-8

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template