mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Bugs 1402750 and 1490331 - Declare the character set correctly in the 'PGP add-on is missing' message.
Tag #1273
This commit is contained in:
parent
87953b53dc
commit
218ad487d8
1 changed files with 4 additions and 4 deletions
|
|
@ -356,14 +356,14 @@ nsPgpMimeProxy::Finish() {
|
|||
}
|
||||
else {
|
||||
nsCString temp;
|
||||
temp.Append("Content-Type: text/html\r\nCharset: UTF-8\r\n\r\n<html><body>");
|
||||
temp.Append("<BR><text=\"#000000\" bgcolor=\"#FFFFFF\" link=\"#FF0000\" vlink=\"#800080\" alink=\"#0000FF\">");
|
||||
temp.Append("<center><table BORDER=1 ><tr><td><CENTER>");
|
||||
temp.AppendLiteral("Content-Type: text/html; Charset=utf-8\r\n\r\n<html><body>");
|
||||
temp.AppendLiteral("<BR><text=\"#000000\" bgcolor=\"#FFFFFF\" link=\"#FF0000\" vlink=\"#800080\" alink=\"#0000FF\">");
|
||||
temp.AppendLiteral("<center><table BORDER=1 ><tr><td><CENTER>");
|
||||
|
||||
nsCString tString;
|
||||
PgpMimeGetNeedsAddonString(tString);
|
||||
temp.Append(tString);
|
||||
temp.Append("</CENTER></td></tr></table></center><BR></body></html>\r\n");
|
||||
temp.AppendLiteral("</CENTER></td></tr></table></center><BR></body></html>\r\n");
|
||||
|
||||
PR_SetError(0,0);
|
||||
int status = mOutputFun(temp.get(), temp.Length(), mOutputClosure);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue