rem: dump(aCharset); editorShell.SetDocumentCharacterSet(aCharset); 
add: if(window.editorShell && (! window.editorShell.documentModified) && editorShell.editorDocument.locatoin != "about:blank") { dump(aCharset); editorShell.SetDocumentCharacterSet(aCharset); editorShell.LoadUrl(editorShell.editorDocument.location); } 
context: function EditorSetDocumentCharacterSet(aCharset){  dump(aCharset);  editorShell.SetDocumentCharacterSet(aCharset);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/85233334ded21f6729c170488ddbefede102432e/editor.js/buggy/editor/ui/composer/content/editor.js