PHP is utf8 encoding
MSSQL database is gb2312 encoding
Using PDO to connect to MSSQL to insert records containing Chinese will cause garbled characters!
How to solve it?
Unify the coding
Unify the coding