mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
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:
parent
49c32728af
commit
c32e09f791
@ -197,7 +197,7 @@ struct _sapi_post_entry {
|
|||||||
#define SAPI_HEADER_SEND_FAILED 3
|
#define SAPI_HEADER_SEND_FAILED 3
|
||||||
|
|
||||||
#define SAPI_DEFAULT_MIMETYPE "text/html"
|
#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_PHP_VERSION_HEADER "X-Powered-By: PHP/" PHP_VERSION
|
||||||
|
|
||||||
#define SAPI_POST_READER_FUNC(post_reader) void post_reader(SLS_D)
|
#define SAPI_POST_READER_FUNC(post_reader) void post_reader(SLS_D)
|
||||||
|
@ -193,9 +193,9 @@ auto_append_file =
|
|||||||
; As of 4.0b4, PHP always outputs a character encoding by default in
|
; As of 4.0b4, PHP always outputs a character encoding by default in
|
||||||
; the Content-type: header. To disable sending of the charset, simply
|
; the Content-type: header. To disable sending of the charset, simply
|
||||||
; set it to be empty.
|
; 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_mimetype = "text/html"
|
||||||
default_charset = "iso-8859-1"
|
;default_charset = "iso-8859-1"
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; Paths and Directories ;
|
; Paths and Directories ;
|
||||||
|
Loading…
Reference in New Issue
Block a user