PRInt32 aSource)
nsCharsetSource aSource, const char* aCmd)
nsWebShell::ReloadDocument(const char* aCharset,                           PRInt32 aSource){  // XXX hack. kee the aCharset and aSource wait to pick it up  nsCOMPtr<nsIContentViewer> cv;  NS_ENSURE_SUCCESS(GetContentViewer(getter_AddRefs(cv)), NS_ERROR_FAILURE);  if (cv)  {    nsCOMPtr<nsIMarkupDocumentViewer> muDV = do_QueryInterface(cv);      if (muDV)    {      PRInt32 hint;      muDV->GetHintCharacterSetSource(&hint);      if( aSource > hint )       {         muDV->SetHintCharacterSet(NS_ConvertASCIItoUCS2(aCharset).get());         muDV->SetHintCharacterSetSource(aSource);         if(eCharsetReloadRequested != mCharsetReloadState)          {            mCharsetReloadState = eCharsetReloadRequested;            return Reload(LOAD_FLAGS_CHARSET_CHANGE);         }      }    }  }  //return failer if this request is not accepted due to mCharsetReloadState  return NS_ERROR_WEBSHELL_REQUEST_REJECTED;}