aboutsummaryrefslogtreecommitdiff
path: root/exif.class.php
diff options
context:
space:
mode:
authorSilvio <s1lv10@uol.com.br>2010-04-23 17:26:17 -0300
committerSilvio <s1lv10@uol.com.br>2010-04-23 17:26:17 -0300
commitf29a55152a4365fb4eb591879a11b0d85edb7e81 (patch)
tree1c7afbd27e131145228b81622d9081325e593fc1 /exif.class.php
parent96d54bf6955d8e9711a50646473620182d442d76 (diff)
downloadexif-f29a55152a4365fb4eb591879a11b0d85edb7e81.tar.gz
exif-f29a55152a4365fb4eb591879a11b0d85edb7e81.tar.bz2
Fixing utf8 charset conversion
Diffstat (limited to 'exif.class.php')
-rw-r--r--exif.class.php4
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
+}