Harald Weis wrote:
> Hello All,
> 
> 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.
> 
> My (FreeBSD) System charset is LATIN-9.
> Following the advice of this list, muttrc contains these lines:
> 
> charset-hook ^unknown-8bit$ WINDOWS-1252
> charset-hook ^x-user-defined$ WINDOWS-1252
> charset-hook ^ISO-8859-1$ WINDOWS-1252
> charset-hook ^US-ASCII$ WINDOWS-1252
> charset-hook ^none$ WINDOWS-1252
> charset-hook ^ISO-8859-8-i$ ISO-8859-8                                        
>   
> charset-hook ^GB2312$ GB18030
> 
> What else can I do ?


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).

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.
-- 
Chris Burdess

Reply via email to