- From: Martin Duerst <duerst@dev.w3.org>
- Date: Fri, 27 Aug 2004 04:58:58 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv28741
Modified Files:
checklink
Log Message:
changed result pages to charset=utf-8 on Content-Type:; should not have any effect currently, but will be useful later.
Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 4.5
retrieving revision 4.6
diff -u -d -r4.5 -r4.6
--- checklink 21 Jul 2004 15:47:15 -0000 4.5
+++ checklink 27 Aug 2004 04:58:56 -0000 4.6
@@ -1406,7 +1406,7 @@
EOF
} else {
- printf("Status: 401 Authorization Required\nWWW-Authenticate: %s\nConnection: close\nContent-Language: en\nContent-Type: text/html; charset=iso-8859-1\n\n", $r->headers->www_authenticate);
+ printf("Status: 401 Authorization Required\nWWW-Authenticate: %s\nConnection: close\nContent-Language: en\nContent-Type: text/html; charset=utf-8\n\n", $r->headers->www_authenticate);
printf("%s
<html lang=\"en\">
@@ -1967,7 +1967,7 @@
my $headers = '';
if (! $Opts{Command_Line}) {
$headers .= "Cache-Control: no-cache\nPragma: no-cache\n" if $doform;
- $headers .= "Content-Type: text/html; charset=iso-8859-1\n";
+ $headers .= "Content-Type: text/html; charset=utf-8\n";
$headers .= "Set-Cookie: $cookie\n" if $cookie;
$headers .= "Content-Language: en\n\n";
}
Received on Friday, 27 August 2004 04:58:58 UTC