PHP MSSQL windows “Unicode data in a Unicode-only collation or ntext data”

There are a few solutions out there for this including installing additional mssql php extensions. The solution I found that worked was to cast the nchar or nvarchar fields as text in your select – CAST(field1 AS TEXT) AS field1

Leave a comment

Your email address will not be published. Required fields are marked *