Garbled characters
hua
hua 2018-09-19 20:42:50
0
2
1460

Why the Chinese characters displayed are garbled

hua
hua

reply all (1)
雪梦晨、曦

Write in the php file:

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

or write

in the html file

  • reply Just write conn->query("set names -8utf") in the function file. Thank you.
    hua author 2018-09-20 11:52:48
  • reply utf-8
    hua author 2018-09-20 11:53:05
  • reply I really don’t understand your reply, haha, just solve it
    雪梦晨、曦 author 2018-09-20 14:18:00
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!