Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用odbc in php。我遇到了问题utf8并用功能解决了它iconv()。但是当我将它上传到服务器utf8字符时,它不能正确显示(在本地,easy-php sqlserver-2008 r2一切都很好)。任何想法?
odbc in php
utf8
iconv()
easy-php sqlserver-2008 r2
SQL Server 使用 UCS2 而不是 UTF8 来存储它的数据。如果您传入 UTF8,则数据在 SQL Server 中将是垃圾。