Superagent post submits the form data to the database for garbled Chinese characters.

ask for help, boss! Superagent post submits the form data to the database with garbled code as follows:

   


Don't be buried.


Web page client-side and server-side php need the same encoding. Utf-8 is recommended. If both are gb2312, you need to set PHP to gb2312~

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3791e-2c0bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3791e-2c0bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?