X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Futf7.c;h=08bc14b4135a8a9ab7ff8f688e962d9d8f538023;hb=1a6071baa1d376cd45ab88891b00181bb84042f1;hp=e9ae15d904e2e31d2d47bf4cacef32cfd6247810;hpb=ac813896ca32d850febc2d95065ac4fa040f11f9;p=apps%2Fmadmutt.git diff --git a/imap/utf7.c b/imap/utf7.c index e9ae15d..08bc14b 100644 --- a/imap/utf7.c +++ b/imap/utf7.c @@ -215,7 +215,7 @@ void imap_utf7_encode (char **s) if (Charset) { char *t = m_strdup(*s); - if (!mutt_convert_string (&t, Charset, "UTF-8", 0)) { + if (!mutt_convert_string (&t, Charset, "utf-8", 0)) { char *u7 = utf8_to_utf7 (t, strlen (t), NULL, 0); p_delete(s); *s = u7; @@ -229,7 +229,7 @@ void imap_utf7_decode (char **s) if (Charset) { char *t = utf7_to_utf8 (*s, m_strlen(*s), 0, 0); - if (t && !mutt_convert_string (&t, "UTF-8", Charset, 0)) { + if (t && !mutt_convert_string (&t, "utf-8", Charset, 0)) { p_delete(s); *s = t; }