Home > Backend Development > PHP Problem > What to do if php include is garbled

What to do if php include is garbled

藏色散人
Release: 2023-03-08 09:28:01
Original
2521 people have browsed it

php include garbled solution: first confirm whether the encoding of the file is utf-8; then open it with notepad; then select "save as" and select "utf8" to save.

What to do if php include is garbled

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer

Please confirm whether the encoding of the file is also utf-8 .

Open with Notepad, then "Save as"

What to do if php include is garbled

Look at the encoding of the file

What to do if php include is garbled

Usually after processing like this, there will be no problem of Chinese garbled characters

[Recommended learning: "PHP Video Tutorial"]

The above is the detailed content of What to do if php include is garbled. For more information, please follow other related articles on the PHP Chinese website!

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