On 1999-12-03 13:58:34 +0200, Marius Gedminas wrote:

> I send a letter to myself and include some iso-8859-13 characters
> both in the body and in the Subject line.  I get these headers:

>   Subject: =?iso-8859-13?Q?<skipped>?=
>   Content-Type: text/plain; charset=iso-8859-4

> Now the bug is this: the characters in <skipped> *are* translated to
> iso-8859-4, but Mutt says they're in iso-8859-13.

The attached patch should help.

-- 
http://www.guug.de/~roessler/
Index: rfc2047.c
===================================================================
RCS file: /home/roessler/cvsroot/mutt/rfc2047.c,v
retrieving revision 2.6
diff -u -u -r2.6 rfc2047.c
--- rfc2047.c   1999/08/20 08:24:02     2.6
+++ rfc2047.c   1999/12/03 12:19:11
@@ -44,7 +44,7 @@
   if(hibit)
   {
     snprintf (charset, sizeof (charset), "=?%s?Q?",
-             mutt_strcasecmp ("us-ascii", Charset) == 0 ? "unknown-8bit" : 
NONULL(Charset));
+             mutt_strcasecmp ("us-ascii", send_charset) == 0 ? "unknown-8bit" : 
+NONULL(send_charset));
   }
   else
     strfcpy(charset, "=?us-ascii?Q?", sizeof(charset));

Reply via email to