#23105 [NEW]: read_exif_data fails to read entire string

From: Date: Tue, 08 Apr 2003 04:08:01 +0000
Subject: #23105 [NEW]: read_exif_data fails to read entire string
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37323@lists.php.net to get a copy of this message
From: joncu at autodesk dot com Operating system: XP PHP version: 4.3.1 PHP Bug Type: mbstring related Bug description: read_exif_data fails to read entire string read_exif_data() will only return the first letter of any WINXP Unicode strings. This only happens in a Win32 build of the php_exif.dll. The bug does not occur in a Linux build. I've confirmed this with both my own build and the currently posted php_exif.dll. I am unable to successfully run a debug build in XP, so I have not been able to debug further. The same data will be read fully under the IFD0 tags, but not under the WINXP tags. The following code ... foreach($exif as $key=>$section) { foreach($section as $name=>$val) { echo "$key.$name: $val<br />\n"; } } ... will return the following relevant data ... IFD0.Title: JMC_TITLE IFD0.Comments: JMC_COMMENTS IFD0.Subject: JMC_SUBJECT WINXP.Title: J WINXP.Comments: J WINXP.Subject: J These two sections should be identical, and are with Linux built binaries. -- Edit bug report at http://bugs.php.net/?id=23105&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23105&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23105&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23105&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23105&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23105&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23105&r=support Expected behavior: http://bugs.php.net/fix.php?id=23105&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23105&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23105&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23105&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23105&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23105&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23105&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23105&r=gnused

« previous php.bugs (#37323) next »