Mailinglist Archive: opensuse-bugs (4691 mails)

< Previous Next >
[Bug 581645] New: mutt passes wrong input encoding to w3m
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 21 Feb 2010 23:10:18 +0000
  • Message-id: <bug-581645-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: olaf@xxxxxxxxx
QAContact: qa@xxxxxxx
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:
# <html><head></head><body> stuff </body></html>

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.

< Previous Next >