Is there any effective difference between
Content-Type: text/html; charset=utf-8
charset makes sense only for text-based content (
text/html, and such). Not all messages are text.
Content-Encoding means that the whole body has been encoded in some way (usually compressed). Typical values for this header are
deflate. The receipent of this message should decode (e.g. ungzip) the body to get the original message.
I'm not even sure if
UTF-8 makes any sense as a value for the