Home  >  Article  >  Backend Development  >  How to solve the xampp php garbled problem

How to solve the xampp php garbled problem

藏色散人
藏色散人Original
2020-08-24 09:02:393039browse

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.

How to solve the xampp php garbled problem

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!

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