Edit report at http://bugs.php.net/bug.php?id=31980&edit=1

 ID:                 31980
 Comment by:         jihoy at admin dot com
 Reported by:        sdteffen at gmail dot com
 Summary:            Unable to Extract Windows XP EXIF Information
 Status:             Closed
 Type:               Bug
 Package:            EXIF related
 Operating System:   win32 only
 PHP Version:        4CVS, 5CVS (2005-02-15)
 Assigned To:        edink
 Block user comment: N
 Private report:     N

 New Comment:

I have the same problem as well, who can help me out! I will be
grateful....

http://www.amerisleep.com


Previous Comments:
------------------------------------------------------------------------
[2005-02-16 15:40:39] sdteffen at gmail dot com

Thanks for the quick fix.

However, it looks like php_exif.dll is missing from the

snapshot zip file.

I checked 



http://snaps.php.net/win32/php4-win32-STABLE-200502161330.zip



and 



http://snaps.php.net/win32/PECL_STABLE/

------------------------------------------------------------------------
[2005-02-16 11:00:26] [email protected]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------
[2005-02-15 13:52:58] [email protected]

Assigning to our win32 build guru..



------------------------------------------------------------------------
[2005-02-15 13:48:00] [email protected]

Nevermind, in windows the EXIF module isn't compiled with MBSTRING
support.



------------------------------------------------------------------------
[2005-02-15 12:22:01] sdteffen at gmail dot com

Thanks for the comments.

I've updated my code according to Pierre's suggestion:



ini_set('exif.decode_unicode_intel', 'UCS-2LE');

ini_set('exif.encode_unicode','ISO-8859-1');

ini_set('exif.encode_jis','ISO-8859-1');

ini_set('exif.decode_jis_intel','ISO-8859-1');

$arrComment = exif_read_data('1.jpg', 'WINXP', true);



The problem still exists (Only first letter is returned).



Here's the example file:



http://sdteffen.de/1.jpg

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=31980


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=31980&edit=1

Reply via email to