Re: Using PHP mssql_init/bind for sending Unicode to StoredProcedures

"Thomas, Christopher (LLU)" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <6B9B0CEF7F409D439E78288D8665BD8F3418F1@oakmont.llu.ad.lluahsc.org>
You are probably correct in that there is no Unicode support in the
php-mssql library. One of the goals of PHP 6 is to have full Unicode
support. There is a Google SOC person helping to complete this project:
http://code.google.com/soc/2008/php/appinfo.html?csaid=AD4803BA9A70BCB3
. If you can, I would download a PHP 6 snapshot and install it on a test
box and see what the mssql library looks like. By looking at the logs in
the source tree, I doubt they have got around to it yet. If this is so,
you might consider submitting a ticket to PHP so they know about it.

Chris 

> -----Original Message-----
> From: [email protected] [mailto:freetds-
> [email protected]] On Behalf Of Jason Young (Morgon)
> Sent: Friday, June 06, 2008 10:55 PM
> To: [email protected]
> Subject: [freetds] Using PHP mssql_init/bind for sending Unicode to
> StoredProcedures
> 
> I know this isn't totally FreeTDS' issue, but I was curious if anyone
> else has had experience/success with using PHP's "stored procedure"
> support for MSSQL, as it seems like it'd be a cleaner/safer way than a
> straight EXEC call...
> 
> In any event, perhaps it's simply a lack of NVARCHAR in the php_mssql
> library, but I cannot send UTF8 data to SQL Server using
> mssql_init/bind/execute - yet it's not a general fault in my setup, as
I
> can "EXEC blah N'<UTF Text>'" just fine.
> 
> Just not supported (yet), or am I missing something?
> 
> Thank you!
> -Jason Young
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.