"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 >Backend Development >PHP Problem >How to solve hbuild php garbled problem
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.
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.
Under normal operation, create a new html file, enter Chinese. Select "File" ->"Open other encoding formats" ->"utf-8".
Now "Tools-Options" pops up Framework
There is "Workspace" in the general, and the other text file encoding is changed to: utf-8.
After correcting the above problems, we found that our Chinese page has no garbled characters.
Finally close the software, restart the software and create a new html file, and it will be normal when you access it again.
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!