ODBC - PHP - Unicode problem
| From: | Erik . | Date: | Tue, 07 Feb 2006 13:09:44 +0000 |
| Subject: | ODBC - PHP - Unicode problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-41192@lists.php.net to get a copy of this message | ||
Hi all,
I have an elusive problem with PHP and ODBC.
I want to use ODBC to contact a MSSQL server on an NT box, from a linux machine.
FreeTDS driver, no problem
unixODBC, no problem
I can contact the correct database on the NT box through isql and tsql, no problem
I can make a command-line PHP script that queries the database, no problem
BUT when I try to run the exact same script over a webserver (apache 1.3.34) I get the error "Can't initiate unicode conversion" and the db connection never gets made.
Now I have no idea where to look.
Any pointers?
-Erik