mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 18:24:02 +00:00
Part of bug fix 8899, changed not to hard code "US-ASCII" when attachment has no charset label.
This commit is contained in:
parent
ba02b75a97
commit
8616c5ae23
@ -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("");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user