diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-12-21 13:37:13 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-02-23 11:35:11 +0000 |
commit | 8bfdfb187b9c911366376f1574dc7e45fe4f0767 (patch) | |
tree | 352fe74ebf45e0ae9328064e6b86e603dac48b34 /src/mm-charsets.h | |
parent | 75b37e16b12ca3807852804fed668ba2fd7ca317 (diff) |
charsets: use new bytearray_from_utf8() instead of byte_array_append()
Diffstat (limited to 'src/mm-charsets.h')
-rw-r--r-- | src/mm-charsets.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mm-charsets.h b/src/mm-charsets.h index 1f635aa1..8300ad6c 100644 --- a/src/mm-charsets.h +++ b/src/mm-charsets.h @@ -37,15 +37,6 @@ MMModemCharset mm_modem_charset_from_string (const gchar *string); /*****************************************************************************************/ -/* Append the given string to the given byte array but re-encode it - * into the given charset first. The original string is assumed to be - * UTF-8 encoded. - */ -gboolean mm_modem_charset_byte_array_append (GByteArray *array, - const gchar *utf8, - MMModemCharset charset, - GError **error); - /* Take a string encoded in the given charset in binary form, and * convert it to UTF-8. */ gchar *mm_modem_charset_byte_array_to_utf8 (GByteArray *array, |