On Mon, Mar 26, 2012 at 03:42:43PM +0100, Chris Burdess wrote: > Harald Weis wrote: > > I have still a problem with attachments like so: > > > > [-- Attachment #2: =?iso-8859-1?Q?R=E9sum=E9_des_devis.xls?= --] > > > > [-- Type: application/vnd.ms-excel, Encoding: base64, Size: 45K --] > > > > This is annoying because I cannot open it directly with gnumeric.
> Well, firstly, don't use latin9 as your system charset. We are in the 21st > century now, it should be UTF-8 (unless you mostly use CJK, which is unlikely > in France). Okay, I see the point. The reason why I am still with latin9 was up to now that I did not take the time to find a replacement for the font I like to use with xterm and emacs (vgathin-iso8859-15.pcf.gz created by Ollivier Robert). After (re)reading the FreeBSD Handbook I've finally started to download some free TrueType fonts (thanks to google as there is no link in the Handbook I cannot see why) and hope to find something similar or better. > Second, those charset-hook declarations look wrong, the form of the 2nd > parameter should be cp1252 not WINDOWS-1252. In any case cp1252 is the > default in mutt for body parts with broken charsets if I recall correctly. > > Third, your application/vnd.ms-excel body part is binary data not text. So it > won't be interpreted with a charset anyway. Just make sure that your mailcap > is set up to launch numeric for an application/vns.ms-excel MIME type and > away you go. Right, worked immediately after having corrected two stupid errors in .mailcap. Thank you, Chris, for your quick and kind help. -- Harald Weis
