diff --git a/src/charset.h b/src/charset.h
index d1b3f75e3676e9d87ae87e15942bf35ffd78b3e0..a08054b70be361c8c0b5cdbb2613320f7b53c72b 100644 (file)
--- a/src/charset.h
+++ b/src/charset.h
char *utf8_to_locale(const char *str);
char *locale_to_utf8(const char *str);
+/**
+ * Converts the UTF-8 string to the locale, and frees the source
+ * pointer. Returns the source pointer as-is if no conversion is
+ * required.
+ */
+char *
+replace_utf8_to_locale(char *src);
+
+/**
+ * Converts the locale string to UTF-8, and frees the source pointer.
+ * Returns the source pointer as-is if no conversion is required.
+ */
+char *
+replace_locale_to_utf8(char *src);
+
#endif