"Open other encoding formats" -> "utf-8"; 3. Change the other encoding of the text file to utf-8. ."/> "Open other encoding formats" -> "utf-8"; 3. Change the other encoding of the text file to utf-8. .">

Home  >  Article  >  Backend Development  >  How to solve hbuild php garbled problem

How to solve hbuild php garbled problem

藏色散人
藏色散人Original
2021-12-29 11:17:473777browse

Hbuild php garbled solution: 1. Open the HBuilder software; 2. Select "File" -> "Open other encoding formats" -> "utf-8; 3. Encode the text file Others can be changed to utf-8.

How to solve hbuild php garbled problem

The operating environment of this article: Windows 7 system, HBuilderX version 3.1.13, Dell G3 computer.

Open the HBuilder software and ensure that HBuilder is running normally. Check that there are no other errors, such as plug-in problems, automatic crashes, etc.

How to solve hbuild php garbled problem

Under normal operation, create a new html file, enter Chinese. Select "File" ->"Open other encoding formats" ->"utf-8".

How to solve hbuild php garbled problem

Now "Tools-Options" pops up Framework

How to solve hbuild php garbled problem

There is "Workspace" in the general, and the other text file encoding is changed to: utf-8.

How to solve hbuild php garbled problem

After correcting the above problems, we found that our Chinese page has no garbled characters.

How to solve hbuild php garbled problem

Finally close the software, restart the software and create a new html file, and it will be normal when you access it again.

How to solve hbuild php garbled problem

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to solve hbuild php garbled problem. 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