Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25592 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86413 invoked by uid 1010); 10 Sep 2006 16:48:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86398 invoked from network); 10 Sep 2006 16:48:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2006 16:48:55 -0000 X-Host-Fingerprint: 80.123.98.46 unknown Received: from [80.123.98.46] ([80.123.98.46:12852] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 69/35-46429-6F144054 for ; Sun, 10 Sep 2006 12:48:54 -0400 Message-ID: <69.35.46429.6F144054@pb1.pair.com> To: internals@lists.php.net Date: Sun, 10 Sep 2006 18:48:56 +0200 User-Agent: Thunderbird 1.5.0.5 (X11/20060728) MIME-Version: 1.0 References: <2b9a524b62303d2b7c3f5e20a7b86537@gravitonic.com> <94.1C.26632.7BBFEF44@pb1.pair.com> In-Reply-To: <94.1C.26632.7BBFEF44@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Posted-By: 80.123.98.46 Subject: Re: RFC: unicode.semantics: runtime or not? From: mike@php.net (Michael Wallner) Michael Wallner wrote: > I think it would be best for all of us to go the more robust route > and make unicode.semantics only changeable in php.ini. I actually think that I'm currently experiencing a problem related to this issue. The new output control code supports aliases, i.e. one can start internal handlers with the ob_start() function. Those aliases are maintained in a HashTable filled at MINIT, but UG(unicode) is always 0 at MINIT, so ob_start("ob_gzhandler") won't work if unicode.semantics is enabled and respectively ob_start(b"ob_gzhandler") works only. Regards, -- Michael