Some times our new VPS installs the GBK program when will discover the garbled problem, below we may use the following method to solve.
Find the httpd.conf in the etc/httpd/conf/directory
1. Solution One
Find "Adddefaultcharset UTF-8" and Change "UTF-8" to "GB2312"
2. Solution II
Find "Adddefaultcharset UTF-8" and change "Adddefaultcharset UTF-8" to "#AddDefaultCharset UTF-8" to add a "#" comment before it.
3. Solution III
Find "Adddefaultcharset UTF-8" and change "Adddefaultcharset UTF-8" to "adddefaultcharset off" so that you can turn off
4. Solution IV
Then choose one of the top four options (recommended option two. Three. four) and restart the Apache server.
5. Restart Apache
6. Programme V
Use VI Edit to find the "DefaultLanguage nl" in which "NL" Change to "ZH-CN"
Then look for "Adddefaultcharset UTF-8" and Change "UTF-8" to "GB2312"
Service Apache Restart
This can solve the problem of the VPS garbled!