string(2) "13" ["catename"] => string(12) "浜狠枃揉 effectOR" } [ 1] => array"> My Chinese characters are garbled. How can I solve it?-PHP Chinese Network Q&A
My Chinese characters are garbled. How can I solve it?
蛋糕
蛋糕 2018-01-20 16:05:44
0
3
1198

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枃"
}

蛋糕
蛋糕

reply all (3)
HCJ

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)

    代码输入中...

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

      Day

      It is recommended to change to utf-8 encoding format

        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!