[sylpheed:33208] Re: Workaround for buggy MUAs

Steve O'Hara-Smith steve at sohara.org
Tue Sep 22 15:37:07 JST 2009

On Tue, 22 Sep 2009 07:23:06 +0200
Colin Leroy <colin at colino.net> wrote:

> On 20 September 2009 at 18h09, Ervin Peters wrote:
> Hi, 
> > if x-Mailer contains ('windows') and x-Mailer contains ('outlook',
> > 'word', 'mapi', 'IIS' ) and ( Content-Type->charset is ISO-8859-1 or
> > Content-Type->charset is ISO-8859-15) then set Content-Type->charset =
> > 'win1252'.
> Windows-1252 is a superset of ISO-8859-1, anyway, so anything encoded
> as ISO-8859-1 can be sucessfully decoded as Windows-1252. Even the
> HTML5 draft says it's a good idea[1].

	However win-1252 mislabeled as iso8859-1 will produce wrong results
when displayed and also bad results when converted to UTF-8. This is the
scenario the OP seems to be trying to accomodate.

	As for the suggestion in the HTML5 draft - YEUCH in the name of
compatability a deliberate policy of misinterpreting properly labeled
content is recommended.

Steve O'Hara-Smith                          |   Directable Mirror Arrays
C:>WIN                                      | A better way to focus the sun
The computer obeys and wins.                |    licences available see
You lose and Bill collects.                 |    http://www.sohara.org/

More information about the Sylpheed mailing list