From bugzilla_noreply@novell.com Sun Feb 21 23:06:49 2010
From: bugzilla_noreply@novell.com
To: bugs@lists.opensuse.org
Subject: [Bug 581645] New: mutt passes wrong input encoding to w3m
Date: Sun, 21 Feb 2010 23:10:18 +0000
Message-ID:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5505579869724628222=="
--===============5505579869724628222==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugzilla.novell.com/show_bug.cgi?id=581645
http://bugzilla.novell.com/show_bug.cgi?id=581645#c0
Summary: mutt passes wrong input encoding to w3m
Classification: openSUSE
Product: openSUSE 11.2
Version: Final
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening(a)forge.provo.novell.com
ReportedBy: olaf(a)aepfle.de
QAContact: qa(a)suse.de
Found By: Outsourced Testing
Blocker: ---
after mailcap changes from bug #479432 :
This change seems to trigger a bug, at least for mails received from google
alert emails.
Their header contains
# Content-Type: text/html; charset=ISO-8859-1
# Content-Transfer-Encoding: quoted-printable
The whole body is html:
#
stuff
My locale is LANG=de_DE.UTF-8
What seems to happen is that mutt takes the body,
translates the body from quoted-printable ISO-8859-1 to 8bit UTF-8 and
feeds it via the text/html mailcap entry to w3m.
But mutt passes -I ISO-8859-1 instead -I UTF-8 to w3m
This makes the non-ASCII chars unreadable.
If I copy /etc/mailcap to ~/.mailcap and change the text/html entry like this,
the entries are shown correctly when opening the body with "v
view-attachments":
text/html; w3m -I UTF-8 -T text/html -dump %s; copiousoutput
mutt (or whatever) should set the correct %{charset}
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
--===============5505579869724628222==--
From bugzilla_noreply@novell.com Tue Feb 23 09:03:51 2010
From: bugzilla_noreply@novell.com
To: bugs@lists.opensuse.org
Subject: [Bug 581645] mutt passes wrong input encoding to w3m
Date: Tue, 23 Feb 2010 09:07:00 +0000
Message-ID: <20100223090700.CE10A24551B@molor.provo.novell.com>
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2785163519360587510=="
--===============2785163519360587510==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugzilla.novell.com/show_bug.cgi?id=581645
http://bugzilla.novell.com/show_bug.cgi?id=581645#c
yang xiaoyu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xyyang(a)novell.com
AssignedTo|bnc-team-screening(a)forge.pr |werner(a)novell.com
|ovo.novell.com |
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
--===============2785163519360587510==--
From bugzilla_noreply@novell.com Tue Feb 23 09:44:47 2010
From: bugzilla_noreply@novell.com
To: bugs@lists.opensuse.org
Subject: [Bug 581645] mutt passes wrong input encoding to w3m
Date: Tue, 23 Feb 2010 09:48:13 +0000
Message-ID: <20100223094813.446B324551B@molor.provo.novell.com>
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3950991818739776131=="
--===============3950991818739776131==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugzilla.novell.com/show_bug.cgi?id=3D581645
http://bugzilla.novell.com/show_bug.cgi?id=3D581645#c1
Dr. Werner Fink changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |max(a)novell.com,
| |ro(a)novell.com,
| |werner(a)novell.com
AssignedTo|werner(a)novell.com |max(a)novell.com
--- Comment #1 from Dr. Werner Fink 2010-02-23 09:48:12=
UTC ---
Beside the attachment mutt does convert anything, it simply
does:
3.3.3. Command Expansion
The various commands defined in the mailcap files are passed to the
/bin/sh shell using the system(3) function. Before the command is
passed to /bin/sh -c, it is parsed to expand various special parameters
with information from Mutt. The keywords Mutt expands are:
[...]
%{}
Mutt will expand this to the value of the specified parameter
from the Content-Type: line of the mail message. For instance,
if Your mail message contains:
Content-Type: text/plain; charset=3Diso-8859-1
then Mutt will expand %{charset} to iso-8859-1. The default
metamail mailcap file uses this feature to test the charset to
spawn an xterm using the right charset to view the message.
[...]
that is that mutt executes accordingly to the /etc/mailcap `-I ISO-8859-1'
and this is *exactly* what /etc/mailcap told mutt. The only thing which
is missed is the output format of the terminal its self. This should
be done by w3m its self accordingly to the variable LANG.
--=20
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are on the CC list for the bug.
--===============3950991818739776131==--
From bugzilla_noreply@novell.com Tue Feb 23 15:02:33 2010
From: bugzilla_noreply@novell.com
To: bugs@lists.opensuse.org
Subject: [Bug 581645] mutt passes wrong input encoding to w3m
Date: Tue, 23 Feb 2010 15:06:05 +0000
Message-ID: <20100223150605.DA39BCC7CE@soval.provo.novell.com>
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5568410104031283465=="
--===============5568410104031283465==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugzilla.novell.com/show_bug.cgi?id=581645
http://bugzilla.novell.com/show_bug.cgi?id=581645#c2
--- Comment #2 from Olaf Hering 2010-02-23 16:06:04 CET ---
Created an attachment (id=344109)
--> (http://bugzilla.novell.com/attachment.cgi?id=344109)
bug581645-maildir.tar.gz
example maildir
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
--===============5568410104031283465==--
From bugzilla_noreply@novell.com Tue Feb 23 15:26:55 2010
From: bugzilla_noreply@novell.com
To: bugs@lists.opensuse.org
Subject: [Bug 581645] mutt passes wrong input encoding to w3m
Date: Tue, 23 Feb 2010 15:30:04 +0000
Message-ID: <20100223153004.7EA1C24551E@molor.provo.novell.com>
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============4845481632496526065=="
--===============4845481632496526065==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugzilla.novell.com/show_bug.cgi?id=3D581645
http://bugzilla.novell.com/show_bug.cgi?id=3D581645#c3
Reinhard Max changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider| |olaf(a)aepfle.de
--- Comment #3 from Reinhard Max 2010-02-23 16:30:03 CET -=
--
How do I get mutt to use /etc/mailcap at all?
When I open the attached mail in a newly installed mutt, it just displays the
raw HTML.
--=20
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are on the CC list for the bug.
--===============4845481632496526065==--
From bugzilla_noreply@novell.com Tue Feb 23 15:48:59 2010
From: bugzilla_noreply@novell.com
To: bugs@lists.opensuse.org
Subject: [Bug 581645] mutt passes wrong input encoding to w3m
Date: Tue, 23 Feb 2010 15:52:23 +0000
Message-ID: <20100223155223.2258CCC7CE@soval.provo.novell.com>
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============8156721690625732269=="
--===============8156721690625732269==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugzilla.novell.com/show_bug.cgi?id=581645
http://bugzilla.novell.com/show_bug.cgi?id=581645#c4
Olaf Hering changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|olaf(a)aepfle.de |
--- Comment #4 from Olaf Hering 2010-02-23 16:52:22 CET ---
press v to list the "attachments", then press ENTER
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
--===============8156721690625732269==--
From bugzilla_noreply@novell.com Fri Nov 12 17:10:17 2010
From: bugzilla_noreply@novell.com
To: bugs@lists.opensuse.org
Subject: [Bug 581645] mutt passes wrong input encoding to w3m
Date: Fri, 12 Nov 2010 17:09:58 +0000
Message-ID: <20101112170958.DAEDDCC7D4@soval.provo.novell.com>
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7104143302791619519=="
--===============7104143302791619519==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugzilla.novell.com/show_bug.cgi?id=3D581645
https://bugzilla.novell.com/show_bug.cgi?id=3D581645#c5
Reinhard Max changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|max(a)novell.com |werner(a)novell.com
--- Comment #5 from Reinhard Max 2010-11-12 18:09:57 CET -=
--
I just re-checked this. Mutt really outputs the HTML in UTF-8 encoding, but
tells w3m to interpret it as windows-1252.
--=20
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are on the CC list for the bug.
--===============7104143302791619519==--
From bugzilla_noreply@novell.com Fri Nov 12 18:21:23 2010
From: bugzilla_noreply@novell.com
To: bugs@lists.opensuse.org
Subject: [Bug 581645] mutt passes wrong input encoding to w3m
Date: Fri, 12 Nov 2010 18:21:16 +0000
Message-ID: <20101112182116.F17D7245523@molor.provo.novell.com>
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7384421453624781420=="
--===============7384421453624781420==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugzilla.novell.com/show_bug.cgi?id=3D581645
https://bugzilla.novell.com/show_bug.cgi?id=3D581645#c6
Dr. Werner Fink changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |UPSTREAM
--- Comment #6 from Dr. Werner Fink 2010-11-12 18:21:16=
UTC ---
Can not reproduce this with my mailcap entries nor with my current
mutt. Beside this: Where the `-I %{charset}' is defined? Nevertheless
I'll not implement if this is missed in mutt therefore report it
upstream if and only if `-I %{charset}' is included in the mailcap
RFC rules.
--=20
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are on the CC list for the bug.
--===============7384421453624781420==--