aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-display.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index df306cf3a5..bbac0c2507 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2000-12-14 Larry Ewing <lewing@helixcode.com>
+
+ * mail-display.c (mail_display_new): call
+ gtk_html_set_default_content_type to make gkthtml default to utf-8
+ when parsing. This requires gtkhtml >= the released 0.8.
+
2000-12-14 Ettore Perazzoli <ettore@helixcode.com>
* mail-threads.c (read_msg): Call `ui_set_busy()' before
diff --git a/mail/mail-display.c b/mail/mail-display.c
index a16401a995..4e945ec731 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -879,6 +879,9 @@ mail_display_new (void)
gtk_widget_show (GTK_WIDGET (scroll));
html = gtk_html_new ();
+ gtk_html_set_default_content_type (GTK_HTML (html),
+ "text/html; charset=utf-8");
+
gtk_html_set_editable (GTK_HTML (html), FALSE);
gtk_signal_connect (GTK_OBJECT (html), "url_requested",
GTK_SIGNAL_FUNC (on_url_requested),