aboutsummaryrefslogtreecommitdiff
path: root/src/mm-charsets.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-07 17:50:49 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-02-07 19:24:36 +0100
commit00ce1d68744d6c69ea1f5fbb4d49a9d242208a7b (patch)
treeb070fe437b25ffef01f2574f519066d0bc3476dd /src/mm-charsets.h
parent9f6f80a63abc03bce6c1ef8a2ee963c0aa20f28a (diff)
charsets: new method to do our best to convert from current charset to UTF-8
This method will try to convert the input string to UTF-8. The input string is supposed to be in the given charset; or otherwise is supposed to be the hex representation of the string in the given charset.
Diffstat (limited to 'src/mm-charsets.h')
-rw-r--r--src/mm-charsets.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mm-charsets.h b/src/mm-charsets.h
index 7eb35ab8..855387a0 100644
--- a/src/mm-charsets.h
+++ b/src/mm-charsets.h
@@ -72,5 +72,7 @@ guint8 *gsm_pack (const guint8 *src,
guint8 start_offset, /* in bits */
guint32 *out_packed_len);
-#endif /* MM_CHARSETS_H */
+gchar *mm_charset_take_and_convert_to_utf8 (gchar *str,
+ MMModemCharset charset);
+#endif /* MM_CHARSETS_H */