Home > CMS Tutorial > DEDECMS > What to do if dedecms utf-8 is garbled?

What to do if dedecms utf-8 is garbled?

藏色散人
Release: 2019-12-24 09:16:33
Original
2639 people have browsed it

What to do if dedecms utf-8 is garbled?

dedecms What should I do if utf-8 garbled characters appear?

When making the head.htm of the dedecms template, the page displayed normally. When making the index.htm template, I found that garbled characters would appear when inputting Chinese in index.htm. I had never encountered it before. It felt very strange, so I searched for relevant information on the Internet, but unfortunately I didn't find the correct solution. Later, after consulting a friend, I found out that it was caused by not selecting BOM when saving HTM. If you encounter such problems when making templates, you can try it, but the main premise is that your coding must be correct, otherwise it will be useless. of.

What to do if dedecms utf-8 is garbled?

Select the bottom item when saving to solve it!

The above is the detailed content of What to do if dedecms utf-8 is garbled?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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