[sylpheed:33207] Re: Workaround for buggy MUAs

Colin Leroy colin at colino.net
Tue Sep 22 14:23:06 JST 2009


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].

[1]
http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#character-encodings-0
-- 
Colin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.sraoss.jp/pipermail/sylpheed/attachments/20090922/389ffe84/attachment.bin 


More information about the Sylpheed mailing list