mDefaultCharacterSet.Assign(NS_LITERAL_CSTRING("ISO-8859-1"));
mDefaultCharacterSet.AssignLiteral("ISO-8859-1");
DocumentViewerImpl::GetDefaultCharacterSet(nsACString& aDefaultCharacterSet){  NS_ENSURE_STATE(mContainer);  if (mDefaultCharacterSet.IsEmpty())  {    const nsAdoptingString& defCharset =      nsContentUtils::GetLocalizedStringPref("intl.charset.default");    if (!defCharset.IsEmpty())      LossyCopyUTF16toASCII(defCharset, mDefaultCharacterSet);    else      mDefaultCharacterSet.Assign(NS_LITERAL_CSTRING("ISO-8859-1"));  }  aDefaultCharacterSet = mDefaultCharacterSet;  return NS_OK;}