Re: fputcsv()
| From: | Curt Zirzow | Date: | Fri, 03 Sep 2004 02:39:11 +0000 |
| Subject: | Re: fputcsv() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12553@lists.php.net to get a copy of this message | ||
* 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!