#1453: charset= ignored when Content-Type != text/plain w/ base64 -------------------------------+-------------------------------------------- Reporter: bl...@debian.org | Owner: mutt-dev Type: defect | Status: new Priority: trivial | Milestone: Component: charset | Version: 1.5.3i Resolution: | Keywords: -------------------------------+-------------------------------------------- Changes (by pdmef):
* component: mutt => charset Old description: > {{{ > Package: mutt > Version: 1.5.3-1 > Severity: normal > Tags: upstream > > -- Please type your report below this line > > Please look on the mails that our DDTP (ddtp.debian.org) sends. It > contains the data (basically text in various encodings) embedded in > base64 chunks. The Content-Type is not text/plain, but mutt recognices > it as text and shows in the pager when you view the attachment. However, > mutt IGNORES THE CHARSET SPECIFICATION IN THIS CASE and does not recode > the content to my current environment's charset (UTF-8), so I see > non-ascii chars as escape codes. > > ------------=_1044181221-30562-2 > Content-Type: application/debian-dt; charset="ISO-8859-1"; > name="bug21394.txt" > Content-Disposition: inline; filename="bug21394.txt" > Content-Transfer-Encoding: base64 > > CiMgQnVnLU5yLjogMjEzOTQgCiMgICAKCgpCVFNDTE9TRTogMjEzOTQKIyBQ > YWNrYWdlczogb3BlbmdhdGUKIyBvbGQgZGVzY3JpcHRpb246CiMgRGVzY3Jp > > -- System Information > Debian Release: testing/unstable > Kernel Version: Linux zombie 2.4.21-pre4 #6 Fri Jan 31 10:00:46 CET 2003 > i686 unknown unknown GNU/Linux > > Versions of the packages mutt depends on: > hi libc6 2.3.1-10 GNU C Library: Shared libraries and > Timezone > ii exim 3.36-4 An MTA (Mail Transport Agent) > ii libncurses5 5.3.20021109-2 Shared libraries for terminal handling > ii libsasl7 1.5.27-3.3 Authentication abstraction library. > ii exim 3.36-4 An MTA (Mail Transport Agent) > ^^^ (Provides virtual package mail-transport-agent) > > -- 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 > Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs > Configured with: /build/packages/gcc/3.2/gcc-3.2-3.2.2ds6/src/configure > -v --enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr > --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include- > dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls > --without-included-gettext --disable-__cxa_atexit --enable-java-gc=boehm > --enable-objc-gc i386-linux > Thread model: posix > gcc version 3.2.2 20030129 (Debian prerelease) > > - CFLAGS > -Wall -pedantic -g -O2 > > -- Mutt Version Information > > Mutt 1.5.3i (2002-12-17) > Copyright (C) 1996-2002 Michael R. Elkins und andere. > Mutt übernimmt KEINERLEI GEWÄHRLEISTUNG. Starten Sie `mutt -vv', um > weitere Details darüber zu erfahren. Mutt ist freie Software. > Sie können es unter bestimmten Bedingungen weitergeben; starten Sie > `mutt -vv' für weitere Details. > > System: Linux 2.4.21-pre4 (i686) [using ncurses 5.3] > Einstellungen bei der Compilierung: > -DOMAIN > -DEBUG > -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE > +USE_FCNTL -USE_FLOCK > +USE_POP +USE_IMAP +IMAP_EDIT_THREADS -USE_GSS -USE_SSL +USE_GNUTLS > +USE_SASL -USE_SASL2 > +HAVE_REGCOMP -USE_GNU_REGEX > +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET > +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM > +HAVE_PGP +HAVE_SMIME -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT > +ENABLE_NLS -LOCALES_HACK +COMPRESSED +HAVE_WC_FUNCS > +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR > +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO > ISPELL="/usr/bin/ispell" > SENDMAIL="/usr/sbin/sendmail" > MAILPATH="/var/mail" > PKGDATADIR="/usr/share/mutt" > SYSCONFDIR="/etc" > EXECSHELL="/bin/sh" > MIXMASTER="mixmaster" > Um die Entwickler zu kontaktieren, schicken Sie bitte > eine Nachricht (in englisch) an <mutt-dev@mutt.org>. > Um einen Bug zu melden, verwenden Sie bitte das Programm flea(1). > > patch-1.5.3.Md.gpg_status_fd > patch-1.4.Md.gpg-agent > patch-1.5.1.cd.edit_threads.9.2 > patch-1.5.3.Md.etc_mailname_gethostbyname > patch-1.3.23.1.ametzler.pgp_good_sign > patch-1.3.27.bse.xtitles.1 > Md.muttbug > patch-1.4.admcd.gnutlsdlopen.53d > patch-1.4.admcd.gnutlsbuild.53d > patch-1.4.admcd.gnutls.55d > patch-1.5.3.rr.compressed.1 > > Received: (at submit) by bugs.guug.de; 2 Feb 2003 11:20:22 +0000 > From m...@linux.it Sun Feb 02 12:20:22 2003 > Received: from attila.bofh.it ([213.92.8.2] ident=postfix) > by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian)) > id 18fIAW-0008Us-00 > for <sub...@bugs.guug.de>; Sun, 02 Feb 2003 12:20:12 +0100 > Received: by attila.bofh.it (Postfix, from userid 10) > id E07FE5F703; Sun, 2 Feb 2003 12:21:57 +0100 (CET) > Received: by wonderland.linux.it (Postfix/Md, from userid 1001) > id 7893333BE2; Sun, 2 Feb 2003 12:14:48 +0100 (CET) > From: Marco d'Itri <m...@linux.it> > To: sub...@bugs.guug.de > Subject: mutt-1.5.3i: charset= ignored when Content-Type != text/plain w/ > base64 > X-GUUG-CC: 179...@bugs.debian.org > Message-Id: <20030202111448.7893333...@wonderland.linux.it> > Date: Sun, 2 Feb 2003 12:14:48 +0100 (CET) > > Package: mutt > Version: 1.5.3-1 > Severity: normal > > [NOTE: this bug report has been submitted to the debian BTS as > Bug#179445. > Please Cc all your replies to 179...@bugs.debian.org .] > > From: bl...@debian.org > Subject: mutt-1.5.3i: charset= ignored when Content-Type != text/plain w/ > base64 > Date: Sun, 02 Feb 2003 11:40:39 +0100 > > -- Please type your report below this line > > Please look on the mails that our DDTP (ddtp.debian.org) sends. It > contains the data (basically text in various encodings) embedded in > base64 chunks. The Content-Type is not text/plain, but mutt recognices > it as text and shows in the pager when you view the attachment. However, > mutt IGNORES THE CHARSET SPECIFICATION IN THIS CASE and does not recode > the content to my current environment's charset (UTF-8), so I see > non-ascii chars as escape codes. > > ------------=_1044181221-30562-2 > Content-Type: application/debian-dt; charset="ISO-8859-1"; > name="bug21394.txt" > Content-Disposition: inline; filename="bug21394.txt" > Content-Transfer-Encoding: base64 > > CiMgQnVnLU5yLjogMjEzOTQgCiMgICAKCgpCVFNDTE9TRTogMjEzOTQKIyBQ > YWNrYWdlczogb3BlbmdhdGUKIyBvbGQgZGVzY3JpcHRpb246CiMgRGVzY3Jp > > -- System Information > Debian Release: testing/unstable > Kernel Version: Linux zombie 2.4.21-pre4 #6 Fri Jan 31 10:00:46 CET 2003 > i686 unknown unknown GNU/Linux > > Versions of the packages mutt depends on: > hi libc6 2.3.1-10 GNU C Library: Shared libraries and > Timezone > ii exim 3.36-4 An MTA (Mail Transport Agent) > ii libncurses5 5.3.20021109-2 Shared libraries for terminal handling > ii libsasl7 1.5.27-3.3 Authentication abstraction library. > ii exim 3.36-4 An MTA (Mail Transport Agent) > ^^^ (Provides virtual package mail-transport-agent) > > -- 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 > Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs > Configured with: /build/packages/gcc/3.2/gcc-3.2-3.2.2ds6/src/configure > -v --enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr > --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include- > dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls > --without-included-gettext --disable-__cxa_atexit --enable-java-gc=boehm > --enable-objc-gc i386-linux > Thread model: posix > gcc version 3.2.2 20030129 (Debian prerelease) > > - CFLAGS > -Wall -pedantic -g -O2 > > -- Mutt Version Information > > Mutt 1.5.3i (2002-12-17) > Copyright (C) 1996-2002 Michael R. Elkins und andere. > Mutt übernimmt KEINERLEI GEWÄHRLEISTUNG. Starten Sie `mutt -vv', um > weitere Details darüber zu erfahren. Mutt ist freie Software. > Sie können es unter bestimmten Bedingungen weitergeben; starten Sie > `mutt -vv' für weitere Details. > > System: Linux 2.4.21-pre4 (i686) [using ncurses 5.3] > Einstellungen bei der Compilierung: > -DOMAIN > -DEBUG > -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE > +USE_FCNTL -USE_FLOCK > +USE_POP +USE_IMAP +IMAP_EDIT_THREADS -USE_GSS -USE_SSL +USE_GNUTLS > +USE_SASL -USE_SASL2 > +HAVE_REGCOMP -USE_GNU_REGEX > +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET > +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM > +HAVE_PGP +HAVE_SMIME -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT > +ENABLE_NLS -LOCALES_HACK +COMPRESSED +HAVE_WC_FUNCS > +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR > +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO > ISPELL="/usr/bin/ispell" > SENDMAIL="/usr/sbin/sendmail" > MAILPATH="/var/mail" > PKGDATADIR="/usr/share/mutt" > SYSCONFDIR="/etc" > EXECSHELL="/bin/sh" > MIXMASTER="mixmaster" > Um die Entwickler zu kontaktieren, schicken Sie bitte > eine Nachricht (in englisch) an <mutt-dev@mutt.org>. > Um einen Bug zu melden, verwenden Sie bitte das Programm flea(1). > > patch-1.5.3.Md.gpg_status_fd > patch-1.4.Md.gpg-agent > patch-1.5.1.cd.edit_threads.9.2 > patch-1.5.3.Md.etc_mailname_gethostbyname > patch-1.3.23.1.ametzler.pgp_good_sign > patch-1.3.27.bse.xtitles.1 > Md.muttbug > patch-1.4.admcd.gnutlsdlopen.53d > patch-1.4.admcd.gnutlsbuild.53d > patch-1.4.admcd.gnutls.55d > patch-1.5.3.rr.compressed.1 > > >How-To-Repeat: > > >Fix: > }}} New description: {{{ Package: mutt Version: 1.5.3-1 Severity: normal Tags: upstream -- Please type your report below this line Please look on the mails that our DDTP (ddtp.debian.org) sends. It contains the data (basically text in various encodings) embedded in base64 chunks. The Content-Type is not text/plain, but mutt recognices it as text and shows in the pager when you view the attachment. However, mutt IGNORES THE CHARSET SPECIFICATION IN THIS CASE and does not recode the content to my current environment's charset (UTF-8), so I see non-ascii chars as escape codes. ------------=_1044181221-30562-2 Content-Type: application/debian-dt; charset="ISO-8859-1"; name="bug21394.txt" Content-Disposition: inline; filename="bug21394.txt" Content-Transfer-Encoding: base64 CiMgQnVnLU5yLjogMjEzOTQgCiMgICAKCgpCVFNDTE9TRTogMjEzOTQKIyBQ YWNrYWdlczogb3BlbmdhdGUKIyBvbGQgZGVzY3JpcHRpb246CiMgRGVzY3Jp -- System Information Debian Release: testing/unstable Kernel Version: Linux zombie 2.4.21-pre4 #6 Fri Jan 31 10:00:46 CET 2003 i686 unknown unknown GNU/Linux Versions of the packages mutt depends on: hi libc6 2.3.1-10 GNU C Library: Shared libraries and Timezone ii exim 3.36-4 An MTA (Mail Transport Agent) ii libncurses5 5.3.20021109-2 Shared libraries for terminal handling ii libsasl7 1.5.27-3.3 Authentication abstraction library. ii exim 3.36-4 An MTA (Mail Transport Agent) ^^^ (Provides virtual package mail-transport-agent) -- 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 Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs Configured with: /build/packages/gcc/3.2/gcc-3.2-3.2.2ds6/src/configure -v --enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include- dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --disable-__cxa_atexit --enable-java-gc=boehm --enable-objc-gc i386-linux Thread model: posix gcc version 3.2.2 20030129 (Debian prerelease) - CFLAGS -Wall -pedantic -g -O2 -- Mutt Version Information Mutt 1.5.3i (2002-12-17) Copyright (C) 1996-2002 Michael R. Elkins und andere. Mutt übernimmt KEINERLEI GEWÄHRLEISTUNG. Starten Sie `mutt -vv', um weitere Details darüber zu erfahren. Mutt ist freie Software. Sie können es unter bestimmten Bedingungen weitergeben; starten Sie `mutt -vv' für weitere Details. System: Linux 2.4.21-pre4 (i686) [using ncurses 5.3] Einstellungen bei der Compilierung: -DOMAIN -DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK +USE_POP +USE_IMAP +IMAP_EDIT_THREADS -USE_GSS -USE_SSL +USE_GNUTLS +USE_SASL -USE_SASL2 +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +HAVE_PGP +HAVE_SMIME -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +COMPRESSED +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO ISPELL="/usr/bin/ispell" SENDMAIL="/usr/sbin/sendmail" MAILPATH="/var/mail" PKGDATADIR="/usr/share/mutt" SYSCONFDIR="/etc" EXECSHELL="/bin/sh" MIXMASTER="mixmaster" Um die Entwickler zu kontaktieren, schicken Sie bitte eine Nachricht (in englisch) an <mutt-dev@mutt.org>. Um einen Bug zu melden, verwenden Sie bitte das Programm flea(1). patch-1.5.3.Md.gpg_status_fd patch-1.4.Md.gpg-agent patch-1.5.1.cd.edit_threads.9.2 patch-1.5.3.Md.etc_mailname_gethostbyname patch-1.3.23.1.ametzler.pgp_good_sign patch-1.3.27.bse.xtitles.1 Md.muttbug patch-1.4.admcd.gnutlsdlopen.53d patch-1.4.admcd.gnutlsbuild.53d patch-1.4.admcd.gnutls.55d patch-1.5.3.rr.compressed.1 Received: (at submit) by bugs.guug.de; 2 Feb 2003 11:20:22 +0000 From m...@linux.it Sun Feb 02 12:20:22 2003 Received: from attila.bofh.it ([213.92.8.2] ident=postfix) by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian)) id 18fIAW-0008Us-00 for <sub...@bugs.guug.de>; Sun, 02 Feb 2003 12:20:12 +0100 Received: by attila.bofh.it (Postfix, from userid 10) id E07FE5F703; Sun, 2 Feb 2003 12:21:57 +0100 (CET) Received: by wonderland.linux.it (Postfix/Md, from userid 1001) id 7893333BE2; Sun, 2 Feb 2003 12:14:48 +0100 (CET) From: Marco d'Itri <m...@linux.it> To: sub...@bugs.guug.de Subject: mutt-1.5.3i: charset= ignored when Content-Type != text/plain w/ base64 X-GUUG-CC: 179...@bugs.debian.org Message-Id: <20030202111448.7893333...@wonderland.linux.it> Date: Sun, 2 Feb 2003 12:14:48 +0100 (CET) Package: mutt Version: 1.5.3-1 Severity: normal [NOTE: this bug report has been submitted to the debian BTS as Bug#179445. Please Cc all your replies to 179...@bugs.debian.org .] From: bl...@debian.org Subject: mutt-1.5.3i: charset= ignored when Content-Type != text/plain w/ base64 Date: Sun, 02 Feb 2003 11:40:39 +0100 -- Please type your report below this line Please look on the mails that our DDTP (ddtp.debian.org) sends. It contains the data (basically text in various encodings) embedded in base64 chunks. The Content-Type is not text/plain, but mutt recognices it as text and shows in the pager when you view the attachment. However, mutt IGNORES THE CHARSET SPECIFICATION IN THIS CASE and does not recode the content to my current environment's charset (UTF-8), so I see non-ascii chars as escape codes. ------------=_1044181221-30562-2 Content-Type: application/debian-dt; charset="ISO-8859-1"; name="bug21394.txt" Content-Disposition: inline; filename="bug21394.txt" Content-Transfer-Encoding: base64 CiMgQnVnLU5yLjogMjEzOTQgCiMgICAKCgpCVFNDTE9TRTogMjEzOTQKIyBQ YWNrYWdlczogb3BlbmdhdGUKIyBvbGQgZGVzY3JpcHRpb246CiMgRGVzY3Jp -- System Information Debian Release: testing/unstable Kernel Version: Linux zombie 2.4.21-pre4 #6 Fri Jan 31 10:00:46 CET 2003 i686 unknown unknown GNU/Linux Versions of the packages mutt depends on: hi libc6 2.3.1-10 GNU C Library: Shared libraries and Timezone ii exim 3.36-4 An MTA (Mail Transport Agent) ii libncurses5 5.3.20021109-2 Shared libraries for terminal handling ii libsasl7 1.5.27-3.3 Authentication abstraction library. ii exim 3.36-4 An MTA (Mail Transport Agent) ^^^ (Provides virtual package mail-transport-agent) -- 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 Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs Configured with: /build/packages/gcc/3.2/gcc-3.2-3.2.2ds6/src/configure -v --enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include- dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --disable-__cxa_atexit --enable-java-gc=boehm --enable-objc-gc i386-linux Thread model: posix gcc version 3.2.2 20030129 (Debian prerelease) - CFLAGS -Wall -pedantic -g -O2 -- Mutt Version Information Mutt 1.5.3i (2002-12-17) Copyright (C) 1996-2002 Michael R. Elkins und andere. Mutt übernimmt KEINERLEI GEWÄHRLEISTUNG. Starten Sie `mutt -vv', um weitere Details darüber zu erfahren. Mutt ist freie Software. Sie können es unter bestimmten Bedingungen weitergeben; starten Sie `mutt -vv' für weitere Details. System: Linux 2.4.21-pre4 (i686) [using ncurses 5.3] Einstellungen bei der Compilierung: -DOMAIN -DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK +USE_POP +USE_IMAP +IMAP_EDIT_THREADS -USE_GSS -USE_SSL +USE_GNUTLS +USE_SASL -USE_SASL2 +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +HAVE_PGP +HAVE_SMIME -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +COMPRESSED +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO ISPELL="/usr/bin/ispell" SENDMAIL="/usr/sbin/sendmail" MAILPATH="/var/mail" PKGDATADIR="/usr/share/mutt" SYSCONFDIR="/etc" EXECSHELL="/bin/sh" MIXMASTER="mixmaster" Um die Entwickler zu kontaktieren, schicken Sie bitte eine Nachricht (in englisch) an <mutt-dev@mutt.org>. Um einen Bug zu melden, verwenden Sie bitte das Programm flea(1). patch-1.5.3.Md.gpg_status_fd patch-1.4.Md.gpg-agent patch-1.5.1.cd.edit_threads.9.2 patch-1.5.3.Md.etc_mailname_gethostbyname patch-1.3.23.1.ametzler.pgp_good_sign patch-1.3.27.bse.xtitles.1 Md.muttbug patch-1.4.admcd.gnutlsdlopen.53d patch-1.4.admcd.gnutlsbuild.53d patch-1.4.admcd.gnutls.55d patch-1.5.3.rr.compressed.1 >How-To-Repeat: >Fix: }}} -- -- Ticket URL: <http://dev.mutt.org/trac/ticket/1453#comment:13> Mutt <http://www.mutt.org/> The Mutt mail user agent