[gaim-migrate @ 13115]

Tue, 12 Jul 2005 01:56:02 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Tue, 12 Jul 2005 01:56:02 +0000
changeset 11092
41b30a94f759
parent 11091
1e518b98be44
child 11093
da8444821ec2

[gaim-migrate @ 13115]
Ioan Lupu asked for this meta tag so that logs will display properly in Firefox.

src/log.c file | annotate | diff | comparison | revisions
--- 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>");

mercurial