> I found the man.cgi was garbled in my IE Browser with default encoding in
> Chinese. and I checked the source of man.cgi output, I think maybe add one > line: > <HTML> > <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> > > will avoid these type of browser auto charset detection error. submitted by: "Che Dong" <chedong@yeah.net>
This commit is contained in:
parent
1011c16797
commit
aa56cd41fb
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=13459
1 changed files with 3 additions and 2 deletions
|
|
@ -33,7 +33,7 @@
|
||||||
# BSDI Id: bsdi-man,v 1.2 1995/01/11 02:30:01 polk Exp
|
# BSDI Id: bsdi-man,v 1.2 1995/01/11 02:30:01 polk Exp
|
||||||
# Dual CGI/Plexus mode and new interface by sanders@bsdi.com 9/22/1995
|
# Dual CGI/Plexus mode and new interface by sanders@bsdi.com 9/22/1995
|
||||||
#
|
#
|
||||||
# $Id: man.cgi,v 1.75 2002-06-07 14:14:10 wosch Exp $
|
# $Id: man.cgi,v 1.76 2002-06-23 15:15:18 wosch Exp $
|
||||||
|
|
||||||
#use Data::Dumper;
|
#use Data::Dumper;
|
||||||
#use Carp;
|
#use Carp;
|
||||||
|
|
@ -944,7 +944,7 @@ ETX
|
||||||
}
|
}
|
||||||
|
|
||||||
sub copyright {
|
sub copyright {
|
||||||
$id = '$Id: man.cgi,v 1.75 2002-06-07 14:14:10 wosch Exp $';
|
$id = '$Id: man.cgi,v 1.76 2002-06-23 15:15:18 wosch Exp $';
|
||||||
|
|
||||||
return qq{\
|
return qq{\
|
||||||
<PRE>
|
<PRE>
|
||||||
|
|
@ -1087,6 +1087,7 @@ sub html_header {
|
||||||
<TITLE>$_[0]</TITLE>
|
<TITLE>$_[0]</TITLE>
|
||||||
<link rev="made" href="mailto:wosch\@FreeBSD.ORG">
|
<link rev="made" href="mailto:wosch\@FreeBSD.ORG">
|
||||||
<META name="robots" content="nofollow">
|
<META name="robots" content="nofollow">
|
||||||
|
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
|
||||||
</HEAD>
|
</HEAD>
|
||||||
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n\n};
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n\n};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue