Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25022 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80265 invoked by uid 1010); 27 Jul 2006 22:19:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80250 invoked from network); 27 Jul 2006 22:19:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jul 2006 22:19:58 -0000 X-PHP-List-Original-Sender: nlopess@php.net X-Host-Fingerprint: 212.55.154.21 relay1.ptmail.sapo.pt Linux 2.4/2.6 Received: from ([212.55.154.21:42142] helo=sapo.pt) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id C3/FF-23194-B0C39C44 for ; Thu, 27 Jul 2006 18:19:57 -0400 Received: (qmail 855 invoked from network); 27 Jul 2006 22:19:52 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.151) by relay1 with SMTP; 27 Jul 2006 22:19:52 -0000 Received: (qmail 32559 invoked from network); 27 Jul 2006 22:19:52 -0000 X-AntiVirus: PTMail-AV 0.3-0.88.3 X-Virus-Status: Clean (0.00615 seconds) Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[82.155.72.138]) (envelope-sender ) by mta1 (qmail-ldap-1.03) with SMTP for ; 27 Jul 2006 22:19:52 -0000 Message-ID: <001b01c6b1ca$c840adf0$0100a8c0@pc07653> To: "Andrei Zmievski" Cc: , "Michael Wallner" References: <006501c6b036$2f6f3e60$0100a8c0@pc07653> <29.B7.04178.B7D96C44@pb1.pair.com> <009401c6b19b$80fe8950$0100a8c0@pc07653> <72D417E5-2BC4-48DF-82F3-BEA9CA48C08D@gravitonic.com> Date: Thu, 27 Jul 2006 23:19:52 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Subject: Re: [PHP-DEV] Re: upgrading the zlib extension to unicode From: nlopess@php.net ("Nuno Lopes") Yep. After thoughting about it, I think it is the best way. If the user wants to save the unicode directly (and save BOM, etc), he has functions to handle that. So, I've just changed the 's' parameters to 'S' (binary only). I left the ob_start handler for Mike since he said he wanted to help with that. The filter code was already upgraded (probably by Sara). Nuno ----- Original Message ----- > So you decide to make the user pass in a binary string explicitly. I > suppose that's an approach since it makes them think about what format > the binary string should be in before it's compressed. > > -Andrei > > > On Jul 27, 2006, at 9:41 AM, Nuno Lopes wrote: > >>> Nuno Lopes wrote: >>>> Hello, >>>> >>>> So Andrei asked me to upgrade the zlib extension, but I have a few >>>> questions I would like to discuss with you: >>> >>> I'd like to collaborate on this. Besides reimplementing the output >>> handler to use the new API, I planned to upgrade it to something >>> similar like http_encoding_api. >> >> OK, I think I've completed the upgrade (it now requires a binary >> string), but I left the ob_gzhandler() function for you ;) >> >> Nuno