diff options
author | Silvio <s1lv10@uol.com.br> | 2010-04-23 17:26:17 -0300 |
---|---|---|
committer | Silvio <s1lv10@uol.com.br> | 2010-04-23 17:26:17 -0300 |
commit | f29a55152a4365fb4eb591879a11b0d85edb7e81 (patch) | |
tree | 1c7afbd27e131145228b81622d9081325e593fc1 | |
parent | 96d54bf6955d8e9711a50646473620182d442d76 (diff) | |
download | exif-f29a55152a4365fb4eb591879a11b0d85edb7e81.tar.gz exif-f29a55152a4365fb4eb591879a11b0d85edb7e81.tar.bz2 |
Fixing utf8 charset conversion
-rw-r--r-- | exif.class.php | 4 |
1 files 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 +} |