if (!nsCRT::strcmp(aTopic, "charset")) { UpdateCharSet(NS_LossyConvertUCS2toASCII(aData)); mDeviceContext->FlushFontCache(); ClearStyleDataAndReflow();  return NS_OK;
if (nsAutoString(aTopic).EqualsWithConversion("charset")) { UpdateCharSet(aData); } else { NS_WARNING("unrecognized topic in nsPresContext::Observe"); return NS_ERROR_FAILURE;
nsPresContext::Observe(nsISupports* aSubject,                         const char* aTopic,                        const PRUnichar* aData){  if (!nsCRT::strcmp(aTopic, "charset")) {    UpdateCharSet(NS_LossyConvertUCS2toASCII(aData));    mDeviceContext->FlushFontCache();    ClearStyleDataAndReflow();    return NS_OK;  }  NS_WARNING("unrecognized topic in nsPresContext::Observe");  return NS_ERROR_FAILURE;}