Message from discussion
Alpine "decodes" text/html before executing mailcap entry
Received: by 10.68.16.106 with SMTP id f10mr8431069pbd.8.1322581250966;
Tue, 29 Nov 2011 07:40:50 -0800 (PST)
Path: lh20ni38038pbb.0!nntp.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!newsfeed.straub-nv.de!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!talisker.lacave.net!lacave.net!.POSTED!not-for-mail
From: Lucas Levrel <lucas.lev...@u-pec.fr>
Newsgroups: comp.mail.pine
Subject: Alpine "decodes" text/html before executing mailcap entry
Date: Tue, 29 Nov 2011 16:39:45 +0100
Organization: Service de news de lacave.net
Lines: 17
Message-ID: <alpine.LNX.2.00.1111291631040.3006@coulomb.univ-paris12.fr>
NNTP-Posting-Host: exafs.u-pec.fr
Mime-Version: 1.0
X-Trace: talisker.lacave.net 1322581174 33029 193.51.149.88 (29 Nov 2011 15:39:34 GMT)
X-Complaints-To: abuse@lacave.net
NNTP-Posting-Date: Tue, 29 Nov 2011 15:39:34 +0000 (UTC)
User-Agent: Alpine 2.00 (LNX 1167 2008-08-23)
X-X-Sender: lu...@coulomb.univ-paris12.fr
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
Hi,
My .mailcap states:
text/html; cp -f %s /tmp/toto.html\; seamonkey-html-viewer /tmp/toto.html
When I try to view the HTML part of a mail in latin-9 encoding, text is
converted to utf-8 before being sent to my mailcap command. The result is
a bad toto.html whose header says "latin-9" but whose body is utf-8.
I checked the original mail itself is correct: piping the "raw text" of
the HTML part to "cat>toto.html" yields a latin-9-encoded file.
Is there a way to make Alpine send raw text to the mailcap command?
Thanks in advance.
--
LL