From: Rasmus Lerdorf Date: Sat, 29 Jan 2000 12:46:59 +0000 (+0000) Subject: No comment - will explain next week X-Git-Tag: BEFORE_SAPIFICATION_FEB_10_2000~155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=796ce90c1eaa867159f177cc0cde4f4e1f8b9805;p=php No comment - will explain next week --- diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 1f03a84586..ea259ec340 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -358,7 +358,7 @@ int send_php(request_rec *r, int display_source_mode, char *filename) * directive, then decline to handle this request */ if (!php_apache_info.engine) { - r->content_type = "text/html"; + r->content_type = "text/html;charset=iso-8859-1"; r->allowed |= (1 << METHODS) - 1; return DECLINED; } @@ -390,7 +390,7 @@ int send_php(request_rec *r, int display_source_mode, char *filename) } /* Assume output will be HTML. Individual scripts may change this further down the line */ - r->content_type = "text/html"; + r->content_type = "text/html;charset=iso-8859-1"; /* Init timeout */ hard_timeout("send", r);