From 0ea1c8178d70491ca20ee4e827680a73fefabd4e Mon Sep 17 00:00:00 2001 From: "endico%mozilla.org" Date: Thu, 24 Aug 2000 22:29:52 +0000 Subject: [PATCH] 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 --- mozilla/webtools/lxr/lib/LXR/Common.pm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/mozilla/webtools/lxr/lib/LXR/Common.pm b/mozilla/webtools/lxr/lib/LXR/Common.pm index 1ba75b07306..c543389dc9f 100755 --- a/mozilla/webtools/lxr/lib/LXR/Common.pm +++ b/mozilla/webtools/lxr/lib/LXR/Common.pm @@ -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", - "\n\nAbort\n\n", + print("\n\nAbort\n\n", "

Abort!

\n", "** Aborting: $_[0]\n", "\n\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