[tracker] tracker-extract-gif: Ensure UTF-8 content in nie:comment
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract-gif: Ensure UTF-8 content in nie:comment
- Date: Sat, 16 Jul 2016 17:22:37 +0000 (UTC)
commit ee01b7bd446a493dc5c422de551552d4ed9ae27b
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Jul 16 17:17:17 2016 +0200
tracker-extract-gif: Ensure UTF-8 content in nie:comment
We can't rely on libgif to do this.
src/tracker-extract/tracker-extract-gif.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gif.c b/src/tracker-extract/tracker-extract-gif.c
index 8e96199..d740c28 100644
--- a/src/tracker-extract/tracker-extract-gif.c
+++ b/src/tracker-extract/tracker-extract-gif.c
@@ -426,7 +426,7 @@ read_metadata (GifFileType *gifFile,
}
if (gd.comment) {
- tracker_resource_set_string (metadata, "nie:comment", gd.comment);
+ tracker_guarantee_resource_utf8_string (metadata, "nie:comment", gd.comment);
g_free (gd.comment);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]