ietf-822
[Top] [All Lists]

[ietf-822] 8BITMIME vs html

2020-09-18 13:31:56
On Fri, Sep 18, 2020 at 7:31 AM Ned Freed 
<ned(_dot_)freed(_at_)mrochek(_dot_)com> wrote:

Hi all,

it has become customary to encode text messages in base64.  This is
presumably
an attempt to avoid breaking the body hashes of DKIM signatures.

The usual reason it's done is so that you don't have to fix your HTML
generator to produce shorter lines, or lines at all.


I don't believe it is possible to conform arbitrary html to 998+2
transparently due to things like pre. I tried a couple years ago but the
best I could come up with was a kludge to wrap lines with <!--
--> which seemed fairly horrible to me and I gave up. If it was just pre,
you could probably do it 90% of the time with a simple implementation but
if it has css, you have to understand that which I think is a dealbreaker.

This all happened before my time but AIUI 8BITMIME came before utf8 had won
out so it allowed nulls which must have been pretty traumatic for software
based on null-terminated strings to support but still requires 998+2 which
hampers its utility for html today. It's simple enough to devise a binary
-> 8bit cte but for the trouble to deploy it, you might as well go all the
way to BINARYMIME.



cheers
john
_______________________________________________
ietf-822 mailing list
ietf-822(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf-822