diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2014-02-13 11:54:52 +0900 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2014-02-13 11:54:52 +0900 |
commit | cbd108abf19d9fb9ae1d4ccd153215f56a2763e8 (patch) | |
tree | 8a0631208c010d7b4baab089d1a7e56d1f6e6d0e /main/SAPI.h | |
parent | 06bbfe1e2a46d6c2eaf74b7c576b09114ee2e670 (diff) | |
download | php-git-cbd108abf19d9fb9ae1d4ccd153215f56a2763e8.tar.gz |
Implement RFC https://wiki.php.net/rfc/default_encoding
Diffstat (limited to 'main/SAPI.h')
-rw-r--r-- | main/SAPI.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/SAPI.h b/main/SAPI.h index a2158a9590..990ca6990c 100644 --- a/main/SAPI.h +++ b/main/SAPI.h @@ -21,6 +21,7 @@ #ifndef SAPI_H #define SAPI_H +#include "php.h" #include "zend.h" #include "zend_API.h" #include "zend_llist.h" @@ -291,7 +292,7 @@ struct _sapi_post_entry { #define SAPI_HEADER_SEND_FAILED 3 #define SAPI_DEFAULT_MIMETYPE "text/html" -#define SAPI_DEFAULT_CHARSET "" +#define SAPI_DEFAULT_CHARSET PHP_DEFAULT_CHARSET #define SAPI_PHP_VERSION_HEADER "X-Powered-By: PHP/" PHP_VERSION #define SAPI_POST_READER_FUNC(post_reader) void post_reader(TSRMLS_D) |