All pastes #916915 Raw Edit

ie7-utf8.patch

public diff v1 · immutable
#916915 ·published 2008-02-25 00:30 UTC
rendered paste body
--- visitors.c.orig	2008-02-25 01:02:30.000000000 +0100+++ visitors.c	2008-02-25 01:04:29.000000000 +0100@@ -1435,6 +1435,7 @@ 		"MSIE 4", "Explorer 4.x", 		"MSIE 5", "Explorer 5.x", 		"MSIE 6", "Explorer 6.x",+		"MSIE 7", "Explorer 7.x", 		"MSIE", "Explorer unknown version", 		"Safari", NULL, 		"Konqueror", NULL,@@ -1543,7 +1544,7 @@ 	if (!strncmp(s+3, "cache:", 6)) 		return !vi_counter_incr(&vih->googlekeyphrases, "Google Cache Access"); 	vi_urldecode(urldecoded, s+3, VI_LINE_MAX);-	vi_strtolower(urldecoded);+	/* vi_strtolower(urldecoded); */ 	page = p ? (1+(atoi(p+7)/10)) : 1; 	snprintf(buf, 64, " (page %d)", page); 	buf[63] = '\0';@@ -2013,6 +2014,7 @@ 	fprintf(fp, "<html>\n" "<head>\n"+"<meta content=\"text/html; charset=utf-8\" http-equiv=\"content-type\" />\n" "<style>\n" "BODY, TD, B, LI, U, DIV, SPAN {\n" "	background-color: #ffffff;\n"