diff options
author | hugo <hugo@localhost> | 2001-07-25 11:34:22 +0000 |
---|---|---|
committer | hugo <hugo@localhost> | 2001-07-25 11:34:22 +0000 |
commit | 784d211a7a21fec935cfd4ceec193983d92e0d45 (patch) | |
tree | a161e0b8a8183e2ca91e667bb17740dd749bf28f | |
parent | aa9a2c29e903f8b524400d48259c25148b6227c0 (diff) | |
download | markup-validator-784d211a7a21fec935cfd4ceec193983d92e0d45.zip markup-validator-784d211a7a21fec935cfd4ceec193983d92e0d45.tar.gz markup-validator-784d211a7a21fec935cfd4ceec193983d92e0d45.tar.bz2 |
Specifying the charset (Latin-1)
-rwxr-xr-x | httpd/cgi-bin/checklink.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/httpd/cgi-bin/checklink.pl b/httpd/cgi-bin/checklink.pl index e0ff376..8357b1e 100755 --- a/httpd/cgi-bin/checklink.pl +++ b/httpd/cgi-bin/checklink.pl @@ -5,7 +5,7 @@ # (c) 1999-2001 World Wide Web Consortium # based on Renaud Bruyeron's checklink.pl # -# $Id: checklink.pl,v 2.82 2001-06-27 15:59:04 hugo Exp $ +# $Id: checklink.pl,v 2.83 2001-07-25 11:34:22 hugo Exp $ # # This program is licensed under the W3C(r) License: # http://www.w3.org/Consortium/Legal/copyright-software @@ -38,7 +38,7 @@ $| = 1; # Version info my $PROGRAM = 'W3C checklink'; -my $VERSION = q$Revision: 2.82 $ . '(c) 1999-2001 W3C'; +my $VERSION = q$Revision: 2.83 $ . '(c) 1999-2001 W3C'; my $REVISION; ($REVISION = $VERSION) =~ s/Revision: (\d+\.\d+) .*/$1/; # Different options specified by the user @@ -1669,7 +1669,7 @@ sub html_header() { print "Cache-Control: no-cache\nPragma: no-cache\n"; } if (! $_cl) { - print "Content-Type: text/html\nContent-Language: en"; + print "Content-Type: text/html; charset=iso-8859-1\nContent-Language: en"; } my $title = ' Link Checker'.($uri eq '' ? '' : ': '.$uri); print " |