summaryrefslogtreecommitdiffstats
path: root/imap/utf7.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-02-13 22:06:14 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-02-13 22:06:14 +0000
commitfc49175b05b13d851688e5d30551933e83274c3c (patch)
treec342b9fd450b357d5607724f3d958852d08591f1 /imap/utf7.c
parentbf3983c846200904215cfb76e3a1215b9f69ba2c (diff)
Change charset-hook's behaviour.
Diffstat (limited to 'imap/utf7.c')
-rw-r--r--imap/utf7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/imap/utf7.c b/imap/utf7.c
index 93031503..fc68203b 100644
--- a/imap/utf7.c
+++ b/imap/utf7.c
@@ -248,7 +248,7 @@ void imap_utf7_encode (char **s)
if (Charset)
{
char *t = safe_strdup (*s);
- if (!mutt_convert_string (&t, Charset, "UTF-8"))
+ if (!mutt_convert_string (&t, Charset, "UTF-8", 0))
utf8_to_utf7 (t, strlen (t), s, 0);
safe_free ((void **) &t);
}
@@ -259,7 +259,7 @@ void imap_utf7_decode (char **s)
if (Charset)
{
char *t = utf7_to_utf8 (*s, strlen (*s), 0, 0);
- if (t && !mutt_convert_string (&t, "UTF-8", Charset))
+ if (t && !mutt_convert_string (&t, "UTF-8", Charset, 0))
{
safe_free ((void **) s);
*s = t;