#38760 [NEW]: php_mssql fails to convert multi-byte UTF-8 to UCS-2

From: Date: Sat, 09 Sep 2006 01:30:35 +0000
Subject: #38760 [NEW]: php_mssql fails to convert multi-byte UTF-8 to UCS-2
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-101917@lists.php.net to get a copy of this message
From: aireater at gmail dot com Operating system: Windows 2003 Server PHP version: 5.1.6 PHP Bug Type: MSSQL related Bug description: php_mssql fails to convert multi-byte UTF-8 to UCS-2 Description: ------------ On PHP 5.1.6 Windows binary with php_mbstring and php_mssql.dll enabled, it fails to convert multi-byte UTF-8 strings to UCS-2 srtings. I've tried MS SQL Server 2005 Express and Standard but no success. On Windows 2003 Server. I've also tried several ntwdblib.dll but in vain. Expected result: ---------------- Should correctly convert multi-byte UTF-8 strings to UCS-2. Actual result: -------------- Most of single byte UTF-8 strings seem to be stored in the database but most of multi-byte UTF-8 strings get garbage. -- Edit bug report at http://bugs.php.net/?id=38760&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38760&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38760&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38760&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38760&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38760&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38760&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38760&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38760&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38760&r=support Expected behavior: http://bugs.php.net/fix.php?id=38760&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38760&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38760&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38760&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38760&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38760&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38760&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38760&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38760&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38760&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38760&r=mysqlcfg

« previous php.bugs (#101917) next »