by ChiDeok Hwang, from hangul-patch list(2000/1/13) --- hdrline.c.orig Thu Sep 2 00:41:00 1999 +++ hdrline.c Thu Jan 13 13:55:59 2000 @@ -626,6 +626,14 @@ break; } + { + int i, len = strlen(dest); + if (len > 0 && dest[len-1] & 0x80) { + for(i=len-2;i>=0 && (dest[i] & 0x80);i--) ; + if (i%2 == 1) dest[len-1] = '\0'; + } + } + if (optional) mutt_FormatString (dest, destlen, ifstring, hdr_format_str, (unsigned long) hfi, flags); else if (flags & M_FORMAT_OPTIONAL) --- parse.c.orig Wed Jan 12 17:20:17 2000 +++ parse.c Thu Jan 13 13:58:43 2000 @@ -336,9 +336,13 @@ */ safe_free ((void **) &ct->filename); ct->filename = safe_strdup (s); + rfc2047_decode (ct->filename, ct->filename, mutt_strlen (ct->filename) + 1); } if ((s = mutt_get_parameter ("name", parms)) != 0) - ct->form_name = safe_strdup (s); + { + ct->form_name = safe_strdup (s); + rfc2047_decode (ct->form_name, ct->form_name, mutt_strlen (ct->form_name) + 1); + } mutt_free_parameter (&parms); } } --- rfc2047.c.orig Sat Jul 24 23:54:38 1999 +++ rfc2047.c Thu Jan 13 13:58:09 2000 @@ -59,7 +59,7 @@ while (*s && dlen > 0) { - if (wordlen >= 72) + if (0 && wordlen >= 72) { if (dlen < 4 + cslen) break; @@ -133,7 +133,7 @@ while (*s && dlen >= 4) { - if (wordlen >= 71) + if (0 && wordlen >= 71) { if (dlen < 4 + cslen) break; --azLHFNyN32YCQGCU-- - To Unsubscribe: send mail to majordomo@kr.FreeBSD.org with "unsubscribe hangul-patch" in the BODY of the message This mailing list isn't supported by Korea FreeBSD Users Group directly.