aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-composer-prefs.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 6524cae25b..2926993c3f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-19 Radek Doulik <rodo@ximian.com>
+
+ * mail-composer-prefs.c (sig_load_preview): use
+ gtk_html_begin_content to specify utf-8
+
2002-11-19 Not Zed <NotZed@Ximian.com>
* importers/evolution-mbox-importer.c (mail_importer_module_init):
diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c
index ba65f31a54..6482678093 100644
--- a/mail/mail-composer-prefs.c
+++ b/mail/mail-composer-prefs.c
@@ -191,7 +191,7 @@ sig_load_preview (MailComposerPrefs *prefs, MailConfigSignature *sig)
int len;
len = strlen (str);
- stream = gtk_html_begin (GTK_HTML (prefs->sig_preview));
+ stream = gtk_html_begin_content (GTK_HTML (prefs->sig_preview), "text/html; charset=utf-8");
gtk_html_write (GTK_HTML (prefs->sig_preview), stream, "<PRE>", 5);
if (len)
gtk_html_write (GTK_HTML (prefs->sig_preview), stream, str, len);