Req #51496 [Opn]: fgetcsv should take empty string as an escape

From: Date: Thu, 13 Sep 2018 12:36:45 +0000
Subject: Req #51496 [Opn]: fgetcsv should take empty string as an escape
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217029@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=51496&edit=1 ID: 51496 Updated by: cmb@php.net Reported by: kulakov74 at yandex dot ru Summary: fgetcsv should take empty string as an escape Status: Open Type: Feature/Change Request Package: Filesystem function related Operating System: All PHP Version: 5.3.2 Block user comment: N Private report: N New Comment: <https://github.com/php/php-src/pull/3515> would implement this feature request. Previous Comments: ------------------------------------------------------------------------ [2018-09-13 12:35:47] cmb@php.net Related To: Bug #43225 ------------------------------------------------------------------------ [2018-09-12 22:53:36] cmb@php.net Related To: Bug #74713 ------------------------------------------------------------------------ [2018-06-17 23:35:25] php at sameprecision dot org The escape character was probably intended to be an alternative to doubling up the enclosure character: place the escape character in front of the enclosure character and itself (fputcsv doesn't put the escape character in front of itself so it is useless as an escape character). Friends and I commented on this issue a LONG time ago and have been using a user-land function because fputcsv is a data-lossy function. ------------------------------------------------------------------------ [2018-02-15 17:16:01] cmb@php.net Related To: Bug #66727 ------------------------------------------------------------------------ [2017-09-11 23:53:08] cmb@php.net Related To: Bug #43225 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=51496 -- Edit this bug report at https://bugs.php.net/bug.php?id=51496&edit=1

« previous php.bugs (#217029) next »