]> granicus.if.org Git - php/commitdiff
No comment - will explain next week
authorRasmus Lerdorf <rasmus@php.net>
Sat, 29 Jan 2000 12:46:59 +0000 (12:46 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 29 Jan 2000 12:46:59 +0000 (12:46 +0000)
sapi/apache/mod_php4.c

index 1f03a8458663a6290c48d770fb9c9a62fcbd4294..ea259ec340016c8ae5fce1a88930cf81fb9de8c5 100644 (file)
@@ -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);