Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12553 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95971 invoked by uid 1010); 3 Sep 2004 02:31:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55957 invoked from network); 3 Sep 2004 02:18:31 -0000 Received: from unknown (HELO took.shire) (68.122.184.4) by pb1.pair.com with SMTP; 3 Sep 2004 02:18:31 -0000 Received: (qmail 64175 invoked by uid 1001); 3 Sep 2004 02:39:11 -0000 Date: Fri, 3 Sep 2004 02:39:11 +0000 To: internals@lists.php.net Message-ID: <20040903023911.GE25291@bagend.shire> Mail-Followup-To: internals@lists.php.net References: <411A24C7.9090507@sklar.com> <5176941.20040811204007@marcus-boerger.de> <1853829533.20040901231956@marcus-boerger.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1853829533.20040901231956@marcus-boerger.de> User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] fputcsv() From: curt@php.net (Curt Zirzow) * Thus wrote Marcus Boerger: > Hello David, > > as promised i looked at the patch. Besides a small misstake it looks > good. But it seems to work different then fgetcsv(). In other words if > you write using fputcsv() you are not sure to get the same back with > fgetcsv(). Though my current opinion is that fputcsv() is doing it right. > The attached patch includes a testfile that demonstrates the problem. > > anyone having thoughts? i remember seeing something a while back when I first looked at writing this function that low ascii (<32) and higher (>97) ascii chars constitute a quoted entry. Unfortuantely I cant refind any of the resources that suggested this behaviour. I'm just throwing this out in case anyone can confirm this. Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!