Stop labeling charset of each page since this label might be wrong. Tao Cheng says: "By default, the Browser assumes incoming pages w/o charset labelling are in iso-8859-1. Explicit labelling prevents the users from manually switching it to other view charset."
git-svn-id: svn://10.0.0.236/trunk@77122 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
23c9d69e76
commit
0ea1c8178d
@ -1,4 +1,4 @@
|
||||
# $Id: Common.pm,v 1.20 1999-09-10 19:03:39 endico%mozilla.org Exp $
|
||||
# $Id: Common.pm,v 1.21 2000-08-24 22:29:52 endico%mozilla.org Exp $
|
||||
|
||||
package LXR::Common;
|
||||
|
||||
@ -43,8 +43,7 @@ sub fatal {
|
||||
|
||||
sub abortall {
|
||||
print(STDERR "[",scalar(localtime),"] abortall: $_[0]\n");
|
||||
print("Content-Type: text/html; charset=iso-8859-1\n\n",
|
||||
"<html>\n<head>\n<title>Abort</title>\n</head>\n",
|
||||
print("<html>\n<head>\n<title>Abort</title>\n</head>\n",
|
||||
"<body><h1>Abort!</h1>\n",
|
||||
"<b><i>** Aborting: $_[0]</i></b>\n",
|
||||
"</body>\n</html>\n") if $wwwdebug;
|
||||
@ -464,9 +463,6 @@ sub init_all {
|
||||
if (defined($readraw)) {
|
||||
print("\n");
|
||||
} else {
|
||||
print("Content-Type: text/html; charset=iso-8859-1\n");
|
||||
|
||||
#
|
||||
# Print out a Last-Modified date that is the larger of: the
|
||||
# underlying file that we are presenting; and the "source" script
|
||||
# itself (passed in as an argument to this function.) If we can't
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user