Part of bug fix 8899, changed not to hard code "US-ASCII" when attachment has no charset label.

This commit is contained in:
nhotta%netscape.com 1999-06-30 21:35:04 +00:00
parent ba02b75a97
commit 8616c5ae23

View File

@ -92,12 +92,8 @@ MimeInlineText_initialize (MimeObject *obj)
{
if (obj->options && obj->options->default_charset)
text->charset = PL_strdup(obj->options->default_charset);
// Do not label US-ASCII if the app default charset is multibyte.
// Perhaps US-ASCII label should be removed for all cases.
else if (MULTIBYTE & INTL_DefaultDocCharSetID(0))
;
else
text->charset = PL_strdup("US-ASCII");
text->charset = PL_strdup("");
}
}
}