[sylpheed:33210] Re: Workaround for buggy MUAs
Ervin Peters
ervin.peters at ervnet.de
Tue Sep 22 16:04:01 JST 2009
Am Tue, 22 Sep 2009 07:23:06 +0200 teilte Colin Leroy
<colin at colino.net> mit:
> 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,
right.
> so anything encoded as ISO-8859-1 can be sucessfully decoded as
> Windows-1252.
but the other way, encoded as win-1252 and decoded as iso-8859-[1|15]
leads to wrong results on heavily used chars in Microsoft products
(autocorrect) because iso-8859-[1|15]is a subset of win-1252.
> Even the
> HTML5 draft says it's a good idea[1].
>
> [1]
> http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#character-encodings-0
>
These kind of anouncment, not readed carefully enought, might be the
reasen for making those mistakes in windows MUAs. Years ago, I made
this mistake in configuring MUAs on Windows - treating those encodings
as equal, not a super/subset relation.
ervin
--
Ervin Peters
Paul-Klee-Str. 10
D-99425 Weimar
+49 172 2043926
+49 3643 805745
More information about the Sylpheed
mailing list