2008-09-18 [colin] 3.5.0cvs113
[claws.git] / src / procmime.c
index a23b95f9419c2cc2f014fdca72f006a16d749041..bfdf08427af391ffe4fd1bf8ec2a0634d4a99fd0 100644 (file)
@@ -691,6 +691,9 @@ static FILE *procmime_get_text_content(MimeInfo *mimeinfo)
                      ? forced_charset : 
                      procmime_mimeinfo_get_parameter(mimeinfo, "charset");
 
+       if (!forced_charset && !strcasecmp(src_codeset, CS_ISO_8859_1))
+               src_codeset = CS_WINDOWS_1252;
+
        if (mimeinfo->type == MIMETYPE_TEXT && !g_ascii_strcasecmp(mimeinfo->subtype, "html")) {
                SC_HTMLParser *parser;
                CodeConverter *conv;