diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-11-26 23:22:57 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-02-23 11:35:11 +0000 |
commit | bc449cbe87ccebccbe35f926e88a2dd110832ddf (patch) | |
tree | d307b1d18c36fb620a28fa88174ba127a369a18f /src/mm-charsets.h | |
parent | 5ce97abd73da12b64393be798f2c294d29be2705 (diff) |
charsets: make translit optional in utf8_to_unpacked_gsm()
If the conversion is not fully compatible, the user of the method
needs to request transliteration enabled explicitly in order to avoid
returning errors in this method.
Diffstat (limited to 'src/mm-charsets.h')
-rw-r--r-- | src/mm-charsets.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mm-charsets.h b/src/mm-charsets.h index dc8613a5..b59eeeaa 100644 --- a/src/mm-charsets.h +++ b/src/mm-charsets.h @@ -54,7 +54,9 @@ gchar *mm_modem_charset_hex_to_utf8 (const gchar *src, MMModemCharset charset); guint8 *mm_charset_utf8_to_unpacked_gsm (const gchar *utf8, - guint32 *out_len); + gboolean translit, + guint32 *out_len, + GError **error); guint8 *mm_charset_gsm_unpacked_to_utf8 (const guint8 *gsm, guint32 len, gboolean translit, |