note 103892 deleted from function.str-getcsv by danbrown
| From: | danbrown@php.net | Date: | Mon, 09 May 2011 14:48:34 +0000 |
| Subject: | note 103892 deleted from function.str-getcsv by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-179565@lists.php.net to get a copy of this message | ||
Note Submitter: Paul M.
----
@durik
Delimiting with "\n" may cause you problems if you have embedded newlines in your data
e.g.
"name", "address", "status"
"Mr David Cameron", "10 Downing Street
Westminster
London
SW1A 2AA", "fail"
Newlines within fields are allowed according to RFC 4180 section 2.6: http://www.ietf.org/rfc/rfc4180.txt