#40080 [NEW]: wddx_deserialize has unicode bug

From: Date: Tue, 09 Jan 2007 18:38:43 +0000
Subject: #40080 [NEW]: wddx_deserialize has unicode bug
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-107384@lists.php.net to get a copy of this message
From: tim at whiteinteractive dot com Operating system: Redhat & OS X PHP version: 4.4.4 PHP Bug Type: WDDX related Bug description: wddx_deserialize has unicode bug Description: ------------ wddx_deseralize seems to convert utf8 character sequences wrongly from <char> nodes. Just the leading byte seems to be off, the subsequent one[s] are correct. Tested on both 4.3.11 (Redhat) and 4.4.5RC1 (OS X) Please see my test page below. P.S. Sorry for duplicate post (#40052) I decided the category was wrong. Reproduce code: --------------- Interactive example: http://whiteinteractive.com/utf8bug/test2.php and source: http://whiteinteractive.com/utf8bug/test2.phps -- Edit bug report at http://bugs.php.net/?id=40080&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40080&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40080&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40080&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40080&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40080&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40080&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40080&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40080&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40080&r=support Expected behavior: http://bugs.php.net/fix.php?id=40080&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40080&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40080&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40080&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40080&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40080&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40080&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40080&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40080&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40080&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40080&r=mysqlcfg

« previous php.bugs (#107384) next »