[exif] use unknownToUTF8 for the EXIF_COMMENT_CHARSET_ASCII/UNKNOWN case as many...
authorJonathan Marshall <jmarshall@xbmc.org>
Sat, 8 Mar 2014 05:27:04 +0000 (18:27 +1300)
committerJonathan Marshall <jmarshall@xbmc.org>
Sat, 8 Mar 2014 05:28:17 +0000 (18:28 +1300)
xbmc/pictures/PictureInfoTag.cpp

index 35cb660..cffb691 100644 (file)
@@ -337,7 +337,7 @@ const CStdString CPictureInfoTag::GetInfo(int info) const
       // Archived data is already converted (EXIF_COMMENT_CHARSET_CONVERTED)
       // Unknown data can't be converted as it could be any codec (EXIF_COMMENT_CHARSET_UNKNOWN)
       // JIS data can't be converted as CharsetConverter and iconv lacks support (EXIF_COMMENT_CHARSET_JIS)
-      value = m_exifInfo.Comments;
+      g_charsetConverter.unknownToUTF8(m_exifInfo.Comments, value);
     }
     break;
   case SLIDE_EXIF_LONG_DATE_TIME: