NYCPHP Meetup

NYPHP.org

[nycphp-talk] MSSQL, PDO & Unicode

Justin Dearing zippy1981 at gmail.com
Wed Jun 4 13:37:00 EDT 2008


On Wed, Jun 4, 2008 at 1:20 PM, Ben Sgro <ben at projectskyline.com> wrote:
> The problem does not go away on Windows:
>
> SQLSTATE[HY000]: General error: 10007 Unicode data in a Unicode-only
> collation or ntext data cannot be sent to clients using DB-Library (such as
> ISQL) or ODBC version 3.7 or earlier. [10007] (severity 5) [(null)]

Did you try the PDO odbc driver. also do you have the latest mssql
server driver.

Or you can also try:
http://pecl.php.net/package/PDO_DBLIB. That might have a newer FreeTDS lib.

Really though find out what the latest FreeTDS can handle before
trying any non odbc driver for sql server on php. After all, any open
source mssql server interface is probably based on freetds.



More information about the talk mailing list