diff options
author | duerst <duerst@localhost> | 2002-10-12 13:17:48 +0000 |
---|---|---|
committer | duerst <duerst@localhost> | 2002-10-12 13:17:48 +0000 |
commit | 00c608e77e6d79acfbea0f801e5390e79d57152b (patch) | |
tree | 8646d74063ede3e86c8de58e43d9350e598f9149 | |
parent | 97e216c24d611d106005fed9ef37a9ca6da4c84e (diff) | |
download | markup-validator-00c608e77e6d79acfbea0f801e5390e79d57152b.zip markup-validator-00c608e77e6d79acfbea0f801e5390e79d57152b.tar.gz markup-validator-00c608e77e6d79acfbea0f801e5390e79d57152b.tar.bz2 |
always use check_utf8 (got lost when a condition was added where
an unless should have been an if (1.224), but this condition is
not needed anymore because we bail out if we don't have any
charset information)
-rwxr-xr-x | httpd/cgi-bin/check | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index e2d3e76..bdeeb9b 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -9,7 +9,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.251 2002-10-12 12:55:23 duerst Exp $ +# $Id: check,v 1.252 2002-10-12 13:17:48 duerst Exp $ # # Disable buffering on STDOUT! @@ -95,7 +95,7 @@ BEGIN { # # Strings - $VERSION = q$Revision: 1.251 $; + $VERSION = q$Revision: 1.252 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; @@ -151,7 +151,7 @@ $File->{'Header'} = &prepSSI({ }); $File->{'Footer'} = &prepSSI({ File => $CFG->{'Footer'}, - Date => q$Date: 2002-10-12 12:55:23 $, + Date => q$Date: 2002-10-12 13:17:48 $, }); # @@ -337,7 +337,7 @@ if (&conflict($File->{Charset}->{Use}, 'utf-8')) { } -$File = &check_utf8($File) unless $File->{Charset}->{Use}; +$File = &check_utf8($File); # always check $File = &byte_error($File); # |