From f29a55152a4365fb4eb591879a11b0d85edb7e81 Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 23 Apr 2010 17:26:17 -0300 Subject: Fixing utf8 charset conversion --- exif.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exif.class.php b/exif.class.php index 92c18fc..86185af 100644 --- a/exif.class.php +++ b/exif.class.php @@ -110,7 +110,7 @@ Class Exif { $info = array(); foreach ($arTagNames as $tagName) { if ($tagName['section'] == "iptc") { - $info[$tagName['section'] .'_'. $tagName['tag']] = $arSmallIPTC[$tagName['tag']]; + $info[$tagName['section'] .'_'. $tagName['tag']] = utf8_encode($arSmallIPTC[$tagName['tag']]); } } return $info; @@ -182,4 +182,4 @@ Class Exif { "2#000" => "record_version" ); } -} \ No newline at end of file +} -- cgit v1.2.3