From 2e5328e2744938dc7754c9c09e09c955ce0dda1c Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Thu, 14 Dec 2000 19:15:08 +0000 Subject: call gtk_html_set_default_content_type to make gkthtml default to utf-8 2000-12-14 Larry Ewing * 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 --- mail/ChangeLog | 6 ++++++ mail/mail-display.c | 3 +++ 2 files changed, 9 insertions(+) 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 + + * 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 * 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), -- cgit v1.2.3