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.
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!