Make it clearer what BODY->charset is used for, and why we are
checking for !noconv during mailcap charset parameter expansion.
* If NULL, filename is used
* instead.
*/
- char *charset; /* charset of attached file */
+ char *charset; /* send mode: charset of attached file as stored
+ * on disk. the charset used in the generated
+ * message is stored in parameter. */
CONTENT *content; /* structure used to store detailed info about
* the content of the attachment. this is used
* to determine what content-transfer-encoding
param[z] = '\0';
/* In send mode, use the current charset, since the message hasn't
- * been converted yet. */
+ * been converted yet. If noconv is set, then we assume the
+ * charset parameter has the correct value instead. */
if ((ascii_strcasecmp (param, "charset") == 0) && a->charset && !a->noconv)
_pvalue = a->charset;
else