Please tell me about the problem of garbled characters when using PDO to connect to MSSQL database and insert it?
Fёηg
Fёηg 2021-07-16 15:59:17
0
1
1192

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?

Fёηg
Fёηg

reply all(1)
Peter_Zhu

Unify the coding

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template