if(charset.EqualsLiteral("ISO-8859-1"))
if (charset.EqualsLiteral("ISO-8859-1")) {
nsFormSubmission::GetEncoder(nsGenericHTMLElement* aForm,                             nsPresContext* aPresContext,                             const nsACString& aCharset,                             nsISaveAsCharset** aEncoder){  *aEncoder = nsnull;  nsresult rv = NS_OK;  nsCAutoString charset(aCharset);  if(charset.EqualsLiteral("ISO-8859-1"))    charset.AssignLiteral("windows-1252");  rv = CallCreateInstance( NS_SAVEASCHARSET_CONTRACTID, aEncoder);  NS_ASSERTION(NS_SUCCEEDED(rv), "create nsISaveAsCharset failed");  NS_ENSURE_SUCCESS(rv, rv);  rv = (*aEncoder)->Init(charset.get(),                         (nsISaveAsCharset::attr_EntityAfterCharsetConv +                           nsISaveAsCharset::attr_FallbackDecimalNCR),                         0);  NS_ASSERTION(NS_SUCCEEDED(rv), "initialize nsISaveAsCharset failed");  NS_ENSURE_SUCCESS(rv, rv);  return NS_OK;}