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~

.
Menu