What should I do if the Chinese characters are garbled?
Bis
Bis 2019-03-01 16:08:55
0
3
1384

The Chinese output in php becomes garbled when accessed by the browser. What should I do?

Bis
Bis

reply all(2)
韦小宝

Just define the encoding format for the header

header("Content-type: text/html; charset=utf-8");


A.来来来

One is the browser, whether the encoding is utf-8

The other is<meta charset="utf-8">

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template