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

What to do if dedecms utf-8 is garbled?

藏色散人
藏色散人Original
2019-12-24 09:16:332543browse

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!

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