+++ This bug was initially created as a clone of Bug #1324443 +++ https://hg.mozilla.org/comm-central/rev/9c1291d2e1f7521c2558e8c76f37a6b724c9be32#l1.12 When I send an e-mail with me as the sender and charset wind-1252, the From gets encoded as: From: =?UTF-8?Q?J=c3=b6rg_Knobloch?= <firstname.lastname@example.org> Yet I get a complaint on the intent to encode the From header with the charset of the message. Since encodeMimePartIIStr_UTF8 just ignores the charset passed in, it makes no sense to call it with a charset it will just ignore: https://dxr.mozilla.org/comm-central/rev/9cb95ca4c3f7cbd473e78addb8e3607af6af8386/mailnews/mime/src/mimeJSComponents.js#442 This message is unnecessary and will scare people. Besides, according to RFC 6532 headers can have raw UTF-8 but nothing else (https://tools.ietf.org/html/rfc6532#section-3.2). Patch coming.
Created attachment 8829336 [details] [diff] [review] 1332997-deprecation-warning.patch
Comment on attachment 8829336 [details] [diff] [review] 1332997-deprecation-warning.patch This ugly warning should also go from the other branches.
Aurora (TB 53): https://hg.mozilla.org/releases/comm-aurora/rev/0a3a0a1fad09404c2810f1c1a9b05ee3b72c452c
Beta (TB 52): https://hg.mozilla.org/releases/comm-beta/rev/32e89445bd829a162180193ae4792f750085c50a