The Chinese output in php becomes garbled when accessed by the browser. What should I do?
Just define the encoding format for the header
header("Content-type: text/html; charset=utf-8");
One is the browser, whether the encoding is utf-8
The other is<meta charset="utf-8">
Just define the encoding format for the header
One is the browser, whether the encoding is utf-8
The other is<meta charset="utf-8">