Improve the previous commit by checking to make sure a->noconv also
isn't set. If noconv is set, we ignore any value a->charset might
have picked up during previous encoding checks.
/* In send mode, use the current charset, since the message hasn't
* been converted yet. */
- if ((ascii_strcasecmp (param, "charset") == 0) && a->charset)
+ if ((ascii_strcasecmp (param, "charset") == 0) && a->charset && !a->noconv)
_pvalue = a->charset;
else
_pvalue = mutt_get_parameter (param, a->parameter);