]> git.marmaro.de Git - mmh/blobdiff - uip/mhbuildsbr.c
Yozo TODA: fix for mhshow-charset- directives in .mh_profile being broken
[mmh] / uip / mhbuildsbr.c
index 0ebdaba6623722515119be86400d9884681866ec..6a7443e9f11d0a9aa29ae6b8a34d81a7a06970cb 100644 (file)
@@ -1358,12 +1358,11 @@ scan_content (CT ct)
                continue;
 
            if (contains8bit) {
-               t->tx_charset = CHARSET_UNKNOWN;
                *ap = concat ("charset=", write_charset_8bit(), NULL);
            } else {
-               t->tx_charset = CHARSET_USASCII;
                *ap = add ("charset=us-ascii", NULL);
            }
+           t->tx_charset = CHARSET_SPECIFIED;
 
            cp = strchr(*ap++, '=');
            *ap = NULL;