On 11/30/2015 1:02 PM, Andrew Sutherland wrote:
On Mon, Nov 30, 2015, at 01:24 PM, Adam Roach wrote:
Does this mean it might interact with webmail services as well? Or do
they tend to do server-side transcoding from the received encoding to
something like UTF8?
They do server-side decoding.  It would take a tremendous amount of
effort to try and expose the underlying character set directly to the
browser given that the MIME part also has transport-encoding occurring
(base64 or quoted-printable), may have higher level things like
format=flowed going on, and may need multipart/related cid-protocol
transforms going on.

Additionally, declared mail charsets are sufficiently often a lie that it is much easier to control the decoding process by converting to UTF-8 server-side, which also evades inconsistencies in browser decoding of charsets.

--
Joshua Cranmer
Thunderbird and DXR developer
Source code archæologist

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to