As it turns out, there are some browsers that can't handle default

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
This commit is contained in:
Rasmus Lerdorf 2000-03-20 08:19:51 +00:00
parent 49c32728af
commit c32e09f791
2 changed files with 3 additions and 3 deletions

View 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)

View 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 ;