From: Andrei Zmievski Date: Mon, 11 Dec 2006 21:48:07 +0000 (+0000) Subject: Clarify stream_encoding. X-Git-Tag: RELEASE_1_0_0RC1~722 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a15a3c3f4cd6642ab99042e984eba212191d2b7;p=php Clarify stream_encoding. --- diff --git a/Zend/zend.c b/Zend/zend.c index 3e919d38d0..0d03f14626 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -182,6 +182,10 @@ ZEND_INI_BEGIN() STD_ZEND_INI_ENTRY("unicode.script_encoding", NULL, ZEND_INI_ALL, OnUpdateEncoding, script_encoding_conv, zend_unicode_globals, unicode_globals) STD_ZEND_INI_ENTRY("unicode.http_input_encoding", NULL, ZEND_INI_ALL, OnUpdateEncoding, http_input_encoding_conv, zend_unicode_globals, unicode_globals) STD_ZEND_INI_ENTRY("unicode.filesystem_encoding", NULL, ZEND_INI_ALL, OnUpdateEncoding, filesystem_encoding_conv, zend_unicode_globals, unicode_globals) + /* + * This is used as a default for the stream contexts. It's not an actual + * UConverter because each stream needs its own. + */ STD_ZEND_INI_ENTRY("unicode.stream_encoding", "UTF-8", ZEND_INI_ALL, OnUpdateStringUnempty, stream_encoding, zend_unicode_globals, unicode_globals) ZEND_INI_END()