unsigned int i;
int first;
- /* FIXME: This belongs to somewhere else. */
- /* libexif should use the default system locale.
- * If an application specifically requires UTF-8, then we
- * must give the application a way to tell libexif that.
- *
- * bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
- */
- bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
if (ifd >= EXIF_IFD_COUNT)
return NULL;
first = exif_tag_table_first(tag);
} else
return NULL; /* Recorded tag not found in the table */
}
+ /* FIXME: This belongs to somewhere else. */
+ /* libexif should use the default system locale.
+ * If an application specifically requires UTF-8, then we
+ * must give the application a way to tell libexif that.
+ *
+ * bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ */
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
return _(ExifTagTable[i].title);
}
unsigned int i;
int first;
- /* libexif should use the default system locale.
- * If an application specifically requires UTF-8, then we
- * must give the application a way to tell libexif that.
- *
- * bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
- */
- bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
-
if (ifd >= EXIF_IFD_COUNT)
return NULL;
first = exif_tag_table_first(tag);
/* GNU gettext acts strangely when given an empty string */
if (!ExifTagTable[i].description || !*ExifTagTable[i].description)
return "";
+
+ /* libexif should use the default system locale.
+ * If an application specifically requires UTF-8, then we
+ * must give the application a way to tell libexif that.
+ *
+ * bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ */
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
return _(ExifTagTable[i].description);
}