Re: [PATCH] Bug #46367 - fputcsv does not add the correct newline character on Windows
| From: | Jani Taskinen | Date: | Tue, 07 Jul 2009 18:27:29 +0000 |
| Subject: | Re: [PATCH] Bug #46367 - fputcsv does not add the correct newline character on Windows | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44785@lists.php.net to get a copy of this message | ||
John Mertic kirjoitti:
Hi All, Bringing this one back once more; let me know what everyone thinks about it. If it's safe to commit than if someone could ( or give me the karma to do so ) that would be great. If not, let me know what should be done about it instead.Is \r\n okay on Mac? Is \r okay on Windows? etc. Short: Shouldn't this be always \r\n? Or better yet, default to \r\n and add extra option for fputcsv with which you can set it to anything you like.. :) --Jani