]> granicus.if.org Git - mutt/commitdiff
short-cut utf-7 as a 7bit character set. Currently, utf-7 may be
authorThomas Roessler <roessler@does-not-exist.org>
Sun, 7 Nov 1999 22:52:40 +0000 (22:52 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sun, 7 Nov 1999 22:52:40 +0000 (22:52 +0000)
overridden by us-ascii.

sendlib.c

index 00eae548b26e99e5168bba3ae93e51aa8a28ccfa..9aa49c213193b55b9c23508999a61df7d5d45dfd 100644 (file)
--- a/sendlib.c
+++ b/sendlib.c
@@ -849,7 +849,7 @@ static const char *get_text_charset (BODY *b, CONTENT *info)
       && info->hibin)
     return ("unknown-8bit");
 
-  if (info->hibin)
+  if (info->hibin || !strcasecmp (chsname, "utf-7"))
     return (chsname);
 
   return ("us-ascii");