On Wed, Aug 14, 2002 at 04:11:50PM +0200, Marc wrote:
> I have a little problem displaying the Euro symbol (among some others)
> in mutt. It always ends up in "\200" instead of the Euro symbol. I use
> XTerm as my terminal. Maybe that's of interest for someone.
> 
> Mails in which the Euro symbol is displayed wrong were sent with
> 
>       Content-Type: text/plain; charset="iso-8859-1"
>       Content-Transfer-Encoding: 8bit
> 
> ... mostly by MS Outlook.
> 
> Unfortunately I couldn't find anything on the list that would help me
> fix this issue. I use mutt 1.3.28i on a clean MDK 8.2 install with all
> updates applied. I appologize in case this has been discussed before.
> 
> So, is the problem to be solved by my mutt configuration or is it an XTerm
> thing?
I think this problem is to be solved by procmail.
Your mails have 2 problems : they don't use a standard encoding and they
put a wrong Content-Type: charset.
To be able to see the ¤ character, you *need* iso-8859-15 or utf-8 (or
maybe some other encodings, but it doesn't exist in iso-8859-1). So
you'll have to change the Content-Type: to iso-8859-15. The second
problem is that MS doesn't use iso-8859-15 to display the ¤, but has
created a non-standard encoding : windows-1252.
I advise you to use the "recode" program to do it :
recode -f windows-1252/CR-LF..ISO_8859-15
So just use procmail with formail and recode to fix mails that you know
having theses issues.
-- 
Bernard Massot

Attachment: msg30272/pgp00000.pgp
Description: PGP signature

Reply via email to