xampp The solution to php garbled code: first find the "php.ini" file and open it; then find the code ";default_charset = "iso-8859-1""; finally change this code to "default_charset = "gb2312"" is enough.
Recommended: "PHP Video Tutorial"
1. Find the php.ini file, open it, and find the code; default_charset = “iso-8859-1”
2. Modify this code to default_charset = “gb2312”
The above is the detailed content of How to solve the xampp php garbled problem. For more information, please follow other related articles on the PHP Chinese website!