Home > Q&A > body text
Why the Chinese characters displayed are garbled
雪梦晨、曦2018-09-20 11:50:01
Write in the php file:
header("content-type:text/html;charset=utf-8");
or write
<meta charset="UTF-8">
Just write conn->query("set names -8utf") in the function file. Thank you.
utf-8
I really don’t understand your reply, haha, just solve it