Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29998 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99102 invoked by uid 1010); 31 May 2007 12:38:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 99086 invoked from network); 31 May 2007 12:38:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 May 2007 12:38:55 -0000 Authentication-Results: pb1.pair.com header.from=chataboutphp@yahoo.com; sender-id=unknown; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=chataboutphp@yahoo.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain yahoo.com from 206.190.56.23 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chataboutphp@yahoo.com X-Host-Fingerprint: 206.190.56.23 n4.bullet.mail.re4.yahoo.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [206.190.56.23] ([206.190.56.23:37213] helo=n4.bullet.mail.re4.yahoo.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E2/0B-13361-DD1CE564 for ; Thu, 31 May 2007 08:38:54 -0400 Received: from [68.142.237.88] by n4.bullet.re4.yahoo.com with NNFMP; 31 May 2007 12:38:51 -0000 Received: from [66.196.101.132] by t4.bullet.re3.yahoo.com with NNFMP; 31 May 2007 12:38:51 -0000 Received: from [127.0.0.1] by rrr3.mail.re1.yahoo.com with NNFMP; 31 May 2007 12:38:51 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 214079.12068.bm@rrr3.mail.re1.yahoo.com Received: (qmail 20145 invoked by uid 60001); 31 May 2007 12:38:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=L6tEJSIKI2iF03A3BffDfLJmOFy35UxMBsBm62AaJfG+xx2tXlVq2iMDmJ4cJ8y+w+n6JmH87kPsBiSq1UOaU7EjWBgFxgPMZiAoK9M/QBxVwfBPr6WEWA3kaKAHnExUCURY67UpAf8SdYs+UyGhJNCqi5X4EDXlGLYZPEnKRNU=; X-YMail-OSG: SJrt0RMVM1k.k96Zf1t482.OAl6qZz.8aT167YlF19TDtjvJbq6z4zDvNfOVzTcpvHscWnnm7N9Ao7B5wf5JE5hfqg-- Received: from [61.95.167.91] by web57408.mail.re1.yahoo.com via HTTP; Thu, 31 May 2007 05:38:51 PDT X-Mailer: YahooMailRC/651.29 YahooMailWebService/0.7.41.16 Date: Thu, 31 May 2007 05:38:50 -0700 (PDT) To: internals@lists.php.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1697133923-1180615130=:19427" Message-ID: <21164.19427.qm@web57408.mail.re1.yahoo.com> Subject: fwrite( ) gives Notice with Unicode ON From: chataboutphp@yahoo.com (Nikhil Gupta) --0-1697133923-1180615130=:19427 Content-Type: text/plain; charset=ascii Hi, I'm writing some PHPT test cases for PHP 6 and wanted to check that I was seeing the correct behaviour with unicode. I tried the following simple testcase and gets Notice message with php6 unicode ON. --TEST-- test.phpt --FILE-- --UEXPECT-- command: php run-tests.php -u test.phpt cat test.u.out Following Notice is displayed: Notice: fwrite(): 11 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d There in no notice message with PHP6 unicode OFF, please would you confirm that the additional notices with Unicode on are intended? I think it will result in a large number of additional Notices if we use fwrite in a for loop. Thanks & Regards Nikhil ____________________________________________________________________________________ Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 --0-1697133923-1180615130=:19427--