Home >Backend Development >PHP Tutorial >Solve the problem of encoding garbled characters in different browsers

Solve the problem of encoding garbled characters in different browsers

WBOY
WBOYOriginal
2016-08-08 09:25:321052browse

1. The page header setting statement prevents garbled header("Content-Type: text/html;chart=utf-8");


2. Set the programming software to UTF-8


The above has introduced the solution to garbled encoding in different browsers, including aspects of the problem. I hope it will be helpful to friends who are interested in PHP tutorials.

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