#3543: mutt-1.5.20: charset-hook doesn't work for header line
---------------------------+------------------------------------------------
Reporter: is@… | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: mutt | Version:
Keywords: |
---------------------------+------------------------------------------------
{{{
Package: mutt
Version: 1.5.20
Severity: normal
-- Please type your report below this line
Hi,
I received a delivery status notification e-mail with character
set "unicode-1-1-utf-7".
I managed to display the body correctly by issuing
:charset-hook unicode-1-1-utf-7 utf-7
but this doesn't work for header lines; I still see:
Subject: Benachrichtigung =?unicode-1-1-utf-7?Q?+ANw-bermittlungsstatus
(Verz+APY-gerung)?=
IMO, this needs to work for the header, too.
Regards,
-is
-- System Information
System Version: NetBSD marie 5.1 NetBSD 5.1 (MARIE) #0: Wed Jan 5
20:52:48 CET 2011
ignatios@random87:/var/itch/obj/shark/sys/arch/shark/compile/MARIE shark
-- Build environment information
(Note: This is the build environment installed on the system
muttbug is run on. Information may or may not match the environment
used to build mutt.)
- gcc version information
cc
Using built-in specs.
Target: arm--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=x86_64-unknown-netbsd4.99.72 --host=arm--netbsdelf --target=arm--
netbsdelf --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
- CFLAGS
-Wall -pedantic -Wno-long-long -O2 -I/usr/include -I/usr/pkg/include/db4
-- Mutt Version Information
Mutt 1.5.20 (2009-06-14)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: NetBSD 5.1 (shark)
hcache backend: Berkeley DB 4.8.30: (April 9, 2010)
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL -USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL
-USE_FLOCK
+USE_POP +USE_IMAP -USE_SMTP
+USE_SSL_OPENSSL -USE_SSL_GNUTLS -USE_SASL -USE_GSS +HAVE_GETADDRINFO
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR -HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME
-CRYPT_BACKEND_GPGME
-EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS -HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/pkg/share/mutt"
SYSCONFDIR="/usr/pkg/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <[email protected]>.
To report a bug, please visit http://bugs.mutt.org/.
--- Begin /usr/pkg/etc/Muttrc
ignore "from " received content- mime-version status x-status message-id
ignore sender references return-path lines
macro index \eb '/~b ' 'search in message bodies'
macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
macro generic <f1> "!less /usr/pkg/share/doc/mutt/manual.txt\n" "Show Mutt
documentation"
macro index <f1> "!less /usr/pkg/share/doc/mutt/manual.txt\n" "Show Mutt
documentation"
macro pager <f1> "!less /usr/pkg/share/doc/mutt/manual.txt\n" "Show Mutt
documentation"
set hostname=beverly.kleinbus.org
--- End /usr/pkg/etc/Muttrc
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3543>
Mutt <http://www.mutt.org/>
The Mutt mail user agent