Home  >  Q&A  >  body text

My Chinese characters are garbled. How can I solve it?

array(3) {
[0] => array(2) {
["id"] => string(2) "13"
["catename"] => ; string(12) "浜风枃揉 effect"
}
[1] => array(2) {
["id"] => string(2) "10"
["catename"] => string(12) "彇冩叏鏂囩珷"
}
[2] => array(2) {
["id"] => ; string(2) "11"
["catename"] => string(12) "钖刈█鏁f枃"
}

蛋糕蛋糕2482 days ago1254

reply all(3)I'll reply

  • 日久见人心不古

    日久见人心不古2018-01-20 21:45:40

    Add a header('content-type:text/html;charset=utf-8'); in the PHP code or it may be a browser encoding problem (this problem generally does not occur)

    reply
    0
  • 代码输入中...

    代码输入中...2018-01-20 17:58:45

    There is an encoding problem. Wherever the encoding is not utf-8, please change it.

    reply
    0
  • Day

    Day2018-01-20 16:15:56

    It is recommended to change to utf-8 encoding format

    reply
    0
  • Cancelreply