Hi, * Alain Bench [06-06-09 07:16:39 +0200] wrote:
Mutt dislikes the dot in the charset label, because it is prohibited by RFC 2047. "ANSI_X3.4-1968" is not an accepted MIME charset name; It should be spelled "us-ascii".
Patching Mutt rfc2047.c:find_encoded_word() to accept the dot is dead easy and would probably work, but that's not a very sensible solution. I don't recommend it. Better fix the sending mailer.
So we have a bug here since mutt knows of "aliases" for character sets, i.e. a mapping of commonly used non-MIME names to MIME names. And as this table contains "ANSI_X3.4-1968", mutt should properly map it to "us-ascii".
But when I look at the table in charset.c, there're more special characters...
bye, Rocco -- :wq!