[imp] Default charset for broken mails

Jan Schneider jan at horde.org
Fri May 14 06:49:08 PDT 2004


Zitat von Daniel Eckl <daniel.eckl at gmx.de>:

> Hi dear list,
>
> does anyone know a way to set the default charset which will be used, if
> the viewed mail has broken headers?
>
> Everyday I get mails which have wrong and strange headers like:
>
> Content-Transfer-Encoding: binary
> Content-Type: text/plain
>
> or sometimes no content-type header at all.
>
> But everytime, this was in fact Content-Transfer-Encoding: 8-bit and
> charset ISO-8859-1.
>
> If they are included in a utf-8 page without conversion, I have the
> classical white-on-black question marks for 8-bit chars.
>
> So my problems would be solved by having a fallback for
> Content-Transfer-Encoding: 8-bit and charset ISO-8859-1.
>
> I know this is a difficult subject and also a philosophical problem of
> how error tolerant a mail client should be.
>
> I opened such mails with kmail, too and they managed to encode them
> correctly, so there seems to be the possibility to be somewhat more
> error tolerant.
>
> I hope there is such a possibility in IMP too...

This is planned for a long time already and would be a great help especially
for Asian users, but noone worked on it so far.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the imp mailing list