]> granicus.if.org Git - php/commitdiff
Clarify stream_encoding.
authorAndrei Zmievski <andrei@php.net>
Mon, 11 Dec 2006 21:48:07 +0000 (21:48 +0000)
committerAndrei Zmievski <andrei@php.net>
Mon, 11 Dec 2006 21:48:07 +0000 (21:48 +0000)
Zend/zend.c

index 3e919d38d0d2b9b9a158163b7351babc769caff8..0d03f1462685fd1b7d347e7009fd132b8f6ee52d 100644 (file)
@@ -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()