Bug 369392 - "Composer declares wrong encoding" [p=mh+mozilla@glandium.org (Mike Hommey) r=WeirdAl sr=Neil]

This commit is contained in:
reed@reedloden.com 2007-10-14 20:14:29 -07:00
parent 5f6ec433bc
commit 8c66a0ba86

View File

@ -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;
} }
} }