]> granicus.if.org Git - php/commitdiff
As it turns out, there are some browsers that can't handle default
authorRasmus Lerdorf <rasmus@php.net>
Mon, 20 Mar 2000 08:19:51 +0000 (08:19 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Mon, 20 Mar 2000 08:19:51 +0000 (08:19 +0000)
charsets.  I think forcing this on is going to cause us a lot of headache,
so turn it off by default.
@ Don't default to iso-8859-1 since this confuses some browsers

main/SAPI.h
php.ini-dist

index ea3e8f591152abe77dc63e1f4464927e22fe97cc..d2352ed5254453791f3d60b06fda54f2e830b70a 100644 (file)
@@ -197,7 +197,7 @@ struct _sapi_post_entry {
 #define SAPI_HEADER_SEND_FAILED                        3
 
 #define SAPI_DEFAULT_MIMETYPE          "text/html"
-#define SAPI_DEFAULT_CHARSET           "iso-8859-1"
+#define SAPI_DEFAULT_CHARSET           ""
 #define SAPI_PHP_VERSION_HEADER                "X-Powered-By: PHP/" PHP_VERSION
 
 #define SAPI_POST_READER_FUNC(post_reader) void post_reader(SLS_D)
index d91a2824f84a55ac75859bfccd8c1e3e86ba4a2b..d85489c356203e30f97df9f6428edc448bd000b8 100644 (file)
@@ -193,9 +193,9 @@ auto_append_file    =
 ; As of 4.0b4, PHP always outputs a character encoding by default in
 ; the Content-type: header.  To disable sending of the charset, simply
 ; set it to be empty.
-; PHP's built-in default is text/html with the iso-8859-1 charset.
+; PHP's built-in default is text/html
 default_mimetype = "text/html"
-default_charset = "iso-8859-1"
+;default_charset = "iso-8859-1"
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;
 ; Paths and Directories ;