Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30360 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11260 invoked by uid 1010); 29 Jun 2007 08:03:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 11245 invoked from network); 29 Jun 2007 08:03:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jun 2007 08:03:59 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.146.178 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.146.178 wa-out-1112.google.com Received: from [209.85.146.178] ([209.85.146.178:26877] helo=wa-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 22/00-10817-DECB4864 for ; Fri, 29 Jun 2007 04:03:59 -0400 Received: by wa-out-1112.google.com with SMTP id l24so1086284waf for ; Fri, 29 Jun 2007 01:03:54 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Am0zT19bP303QQr63oFq77k4m8q1qEVVCdGT5Jo7P96HI/+KJCjo7/3OZLCMoLtP8MKWYj+u7XwJgwohSYsb5Comv+91NyC6CYDk5Q0D12lv1cn85XNyZDpr6cTkAGLBliP/DoGlRqtKS4w5sR7B5Clm4KSogftlCeIYs6d1JKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DWCHd2QcjdJALxRKBAKwLAofF01LeLWj7wP2W1QdCYt/bsBOigrCcSYVd25JBaJpnEvum8oxIAsk4+w/3G+n0AqFyaaQsPG8o84CIj/OVewRPQDkp9yJETJQR+05FwlOZvlbjkiE/9Pz9hGSiYpvVARzU57bPlp2dC45WqimTQs= Received: by 10.115.22.1 with SMTP id z1mr2388266wai.1183104234048; Fri, 29 Jun 2007 01:03:54 -0700 (PDT) Received: by 10.114.47.2 with HTTP; Fri, 29 Jun 2007 01:03:53 -0700 (PDT) Message-ID: Date: Fri, 29 Jun 2007 10:03:53 +0200 To: "Stanislav Malyshev" Cc: "Tomas Kuliavas" , internals@lists.php.net In-Reply-To: <4684BB91.4070507@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1181829227.3478.3.camel@localhost.localdomain> <6sof73dj69ldpspfc5ukrc58qr9ckbin2b@4ax.com> <4677E7B1.2080305@lerdorf.com> <4677F5FB.1070206@lerdorf.com> <4678252F.2050803@sci.fi> <46783212.4020900@lerdorf.com> <34654.216.230.84.67.1183064088.squirrel@www.l-i-e.com> <54557.78.61.224.253.1183098089.squirrel@avilys.eik.lt> <4684BB91.4070507@zend.com> Subject: Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6? From: pierre.php@gmail.com (Pierre) Hi, On 6/29/07, Stanislav Malyshev wrote: > > PHP6 is very noisy ("Notice: fwrite(): 13 character unicode buffer > > downcoded for binary stream runtime_encoding", "Warning: base64_encode() > > expects parameter 1 to be strictly a binary string, Unicode string given") > > Well, exporting and importing to and from non-unicode contexts are > tricky, and fwrite and base64_encode do exactly that. Maybe some > functions need to be less noisy, I don't know - but when people work > with unicode they must be aware that interoperating with non-unicode > contexts brings some complexity, I don't see how that can be avoided. It can't (and should not be). And it is not possible to make old releases compatible with the newly introduced binary cast (noop in 5.2). I thought we made it clear already and I'm unsure why Tomas brought it back to the list of griefs. --Pierre