From: philip at nancarrow dot net Operating system: Windows and Linux PHP version: 4.3.4 PHP Bug Type: GD related Bug description: iptcparse() function misses some fields
Description: ------------ The iptcparse() function (GD extension) only returns IPTC/NAA records 2 and upward, skipping past record 1. This appears to be by design, but means that the returned data is incomplete, for example the "destination" dataset 1:05 is missing. Worse that this is the fact that "coded character set" (1:90) is missing, and without this value the encoding of the data is unknown (for example if 1:90 specifies ESC,%,G the data is UTF8 encoded). I assume that the current implementation is defaulting to ASCII or Latin1 encoding. I can provide you with JPEG files containing IIM record 1 if required; they're quite common in the news industry. Thank you -- Edit bug report at http://bugs.php.net/?id=27238&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27238&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27238&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27238&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27238&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27238&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27238&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27238&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27238&r=support Expected behavior: http://bugs.php.net/fix.php?id=27238&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27238&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27238&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27238&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27238&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27238&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27238&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27238&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27238&r=float