[tracker/wip/sam/meson] tracker-extract-jpeg: Ensure UTF-8 content in nie:comment
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/sam/meson] tracker-extract-jpeg: Ensure UTF-8 content in nie:comment
- Date: Sun, 25 Sep 2016 13:17:32 +0000 (UTC)
commit a66d6e5f985f9c43f3a7450ee208ad0f24fa6f38
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Jul 16 17:16:26 2016 +0200
tracker-extract-jpeg: Ensure UTF-8 content in nie:comment
We can't rely on libjpeg to do this.
src/tracker-extract/tracker-extract-jpeg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-jpeg.c b/src/tracker-extract/tracker-extract-jpeg.c
index 03ab269..bddb376 100644
--- a/src/tracker-extract/tracker-extract-jpeg.c
+++ b/src/tracker-extract/tracker-extract-jpeg.c
@@ -494,7 +494,7 @@ tracker_extract_get_metadata (TrackerExtractInfo *info)
}
if (md.comment) {
- tracker_resource_set_string (metadata, "nie:comment", md.comment);
+ tracker_guarantee_resource_utf8_string (metadata, "nie:comment", md.comment);
}
if (md.address || md.state || md.country || md.city ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]