mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 369392 - "Composer declares wrong encoding" [p=mh+mozilla@glandium.org (Mike Hommey) r=WeirdAl sr=Neil]
This commit is contained in:
parent
5f6ec433bc
commit
8c66a0ba86
@ -2482,6 +2482,7 @@ function EditorSetDefaultPrefsAndDoctype()
|
|||||||
element.setAttribute("http-equiv", "content-type");
|
element.setAttribute("http-equiv", "content-type");
|
||||||
element.setAttribute("content", "text/html; charset=" + prefCharsetString);
|
element.setAttribute("content", "text/html; charset=" + prefCharsetString);
|
||||||
headelement.insertBefore( element, headelement.firstChild );
|
headelement.insertBefore( element, headelement.firstChild );
|
||||||
|
editor.documentCharacterSet = prefCharsetString;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user