if (nsnull != mWebShell) { mWebShell->SetDefaultCharacterSet(characterSet); } return NS_OK;
if (!mLastDisplayURI.IsEmpty()) { nsCOMPtr <nsIMsgMessageService> messageService; nsresult rv = GetMessageServiceFromURI(mLastDisplayURI.get(), getter_AddRefs(messageService));  if (NS_SUCCEEDED(rv) && messageService) { nsCOMPtr<nsIWebShell> webShell(do_QueryInterface(mDocShell)); messageService->DisplayMessage(mLastDisplayURI.get(), webShell, mMsgWindow, nsnull, characterSet, nsnull); } }  return NS_OK;
NS_IMETHODIMP nsMessenger::SetDocumentCharset(const PRUnichar *characterSet){	// Set a default charset of the webshell. 	if (nsnull != mWebShell) {		mWebShell->SetDefaultCharacterSet(characterSet);	}    return NS_OK;}