2008-09-18 [colin] 3.5.0cvs113
[claws.git] / src / textview.c
index fc3657e357898899f2a9c9a6552f8364bcf7c274..cdc84999269ab3578514390f6713fae70f2f6ae6 100644 (file)
@@ -930,8 +930,11 @@ static void textview_write_body(TextView *textview, MimeInfo *mimeinfo)
 
        if (textview->messageview->forced_charset)
                charset = textview->messageview->forced_charset;
-       else
+       else {
                charset = procmime_mimeinfo_get_parameter(mimeinfo, "charset");
+               if (!strcasecmp(charset, CS_ISO_8859_1))
+                       charset = CS_WINDOWS_1252;
+       }
 
        textview_set_font(textview, charset);