aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorLarry Ewing <lewing@helixcode.com>2000-12-15 03:15:08 +0800
committerLarry Ewing <lewing@src.gnome.org>2000-12-15 03:15:08 +0800
commit2e5328e2744938dc7754c9c09e09c955ce0dda1c (patch)
treed31f6eb87bf1028ffa4a61be2521360c5d69558e /mail
parent302ed285925f1e321def275329aa5283b02239ba (diff)
downloadgsoc2013-evolution-2e5328e2744938dc7754c9c09e09c955ce0dda1c.tar.gz
gsoc2013-evolution-2e5328e2744938dc7754c9c09e09c955ce0dda1c.tar.zst
gsoc2013-evolution-2e5328e2744938dc7754c9c09e09c955ce0dda1c.zip
call gtk_html_set_default_content_type to make gkthtml default to utf-8
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. svn path=/trunk/; revision=7022
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),