note 73645 added to function.exif-read-data
| From: | php-general at lists dot php dot net | Date: | Mon, 05 Mar 2007 19:50:54 +0000 |
| Subject: | note 73645 added to function.exif-read-data | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-124116@lists.php.net to get a copy of this message | ||
When reading EXIF information from the 'WINXP' group, you may need to change used encoding
from the default "ISO-8859-15" to "UTF-8". This can be done in php.ini or in
your code:
<?php
ini_set('exif.encode_unicode', 'UTF-8');
$exif = exif_read_data('TEST.JPG', 0, true);
echo $exif['WINXP']['Title'];
?>
Useful documentation about EXIF:
http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/EXIF.html
See also comments next to XPTitle and XPAuthor.
----
Server IP: 195.46.80.5
Probable Submitter: 158.193.85.154
----
Manual Page -- http://www.php.net/manual/en/function.exif-read-data.php
Edit -- https://master.php.net/note/edit/73645
Del: integrated -- https://master.php.net/note/delete/73645/integrated
Del: useless -- https://master.php.net/note/delete/73645/useless
Del: bad code -- https://master.php.net/note/delete/73645/bad+code
Del: spam -- https://master.php.net/note/delete/73645/spam
Del: non-english -- https://master.php.net/note/delete/73645/non-english
Del: in docs -- https://master.php.net/note/delete/73645/in+docs
Del: other reasons-- https://master.php.net/note/delete/73645
Reject -- https://master.php.net/note/reject/73645
Search -- https://master.php.net/manage/user-notes.php