#33855 [Opn->Bgs]: Unable to identify a nvarchar field without an extra query
| From: | tony2001@php.net | Date: | Mon, 25 Jul 2005 21:04:47 +0000 |
| Subject: | #33855 [Opn->Bgs]: Unable to identify a nvarchar field without an extra query | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-82425@lists.php.net to get a copy of this message | ||
ID: 33855
Updated by: tony2001@php.net
Reported By: mauroi at digbang dot com
-Status: Open
+Status: Bogus
Bug Type: MSSQL related
Operating System: Irrelevant
PHP Version: 5.0.4
New Comment:
If MSSQL doesn't differ them, obviously PHP can't do it too.
Previous Comments:
------------------------------------------------------------------------
[2005-07-25 22:47:29] mauroi at digbang dot com
Description:
------------
Our applications work in Unicode. So, everything we retrieve from the
database has to be encoded to Unicode or Unicode from source. That's
why we need to identify nvarchar fields (ntext also) and bypass the
encoding with them.
mssql_field_type only returns 'char'.
Maybe a new function that returns the original data type (without
making an inner query, if that's possible) could be the best solution.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33855&edit=1