UTF-8 characters don't display correctly

前端 未结 7 1178
清酒与你
清酒与你 2020-12-11 02:41

This is my PHP code:



        
7条回答
  •  一整个雨季
    2020-12-11 03:06

    If your database is UTF-8, it's ok for mysql.

    For your echo, if you do it in a web site, put this in the top page:

    header('Content-Type: text/html; charset=UTF-8');
    

提交回复
热议问题