Re: Re: search CVS file (perharps a bug)
| From: | Helgi Þormar | Date: | Fri, 06 May 2005 12:18:22 +0000 |
| Subject: | Re: Re: search CVS file (perharps a bug) | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-37510@lists.php.net to get a copy of this message | ||
On Fri, 2005-05-06 at 17:17 +0700, Firman Wandayandi wrote:
> >
> > Like Mike said earlier, you have to do "\r\n" not '\r\n' for the CSV
> > stuff to work :)
> >
> > - Helgi
> >
>
> Seems, config 'crlf' option need to renamed to linebreak and a value
> is a constant that is one of FILE_CSV_CRLF_MAC, FILE_CSV_CRLF_WINDOWS
> and FILE_CSV_CRLF_UNIX. If it's not one of these just throw the error,
> and this solution could be eliminated a mistake like what laurent do.
Actually I think that's not good, making users know some constants isn't
very friendly ;-)
I'd rather want to support both "" and '' way of things, it would amount
to the same I think, unless I'm missing something you said ? :S
- Helgi