changeset 11092:68652f4ad6a7

[gaim-migrate @ 13115] Ioan Lupu asked for this meta tag so that logs will display properly in Firefox. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 12 Jul 2005 01:56:02 +0000
parents 5e29428077fc
children 7831d0969531
files src/log.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/log.c	Mon Jul 11 07:57:19 2005 +0000
+++ b/src/log.c	Tue Jul 12 01:56:02 2005 +0000
@@ -796,7 +796,9 @@
 			return;
 
 		strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&log->time));
-		fprintf(data->file, "<html><head><title>");
+		fprintf(data->file, "<html><head>");
+		fprintf(data->file, "<title>");
+		fprintf(data->file, "<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">");
 		fprintf(data->file, "Conversation with %s at %s on %s (%s)",
 			log->name, date, gaim_account_get_username(log->account), prpl);
 		fprintf(data->file, "</title></head><body>");