FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=15233&edit=1

ID: 15233
Updated by: helgith@gmail.com
Reported By: bs at visual4 dot de
Summary: discoverFormat finds wrong separator
-Status: Feedback
+Status: Closed
Type: Bug
Package: File_CSV
Operating System: linux (irrelevant)
Package Version: 1.0.0alpha1
PHP Version: Irrelevant
Assigned To: dufuz
Roadmap Versions:
New Comment:

-Status: Feedback
+Status: Closed
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

The fix I came up with depends on the separator to have more occurrences
than the
comma. Logically one would have quotes around text containing spaces or
potential
separators to prevent such detection from happening, that's one way to
bypass this
problem.


Previous Comments:
------------------------------------------------------------------------

[2010-04-29 08:40:46] brafreider

Hi Helgi,
I´m sorry but I did not get the answers until today... It´s kind of
long time ago, I remember that there was a bug, but I don´t know under
which circumstances...
Sorry
Björn

------------------------------------------------------------------------

[2010-04-29 02:57:20] dufuz

-Assigned To:
+Assigned To: dufuz


------------------------------------------------------------------------

[2010-04-29 02:57:16] dufuz

Would it be possible to get an example CSV, please?

------------------------------------------------------------------------

[2009-03-12 23:06:40] dufuz

-Status: Open
+Status: Feedback

We are unable to reproduce the bug as reported.
Please provide a simple script (10 lines or less)
or a link to an external script that can be used
to reproduce the bug.

If you can provide the script, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PEAR.

------------------------------------------------------------------------

[2008-12-06 06:26:21] doconnor

I don't suppose you could whip up a small executable test case, Bjorn?

------------------------------------------------------------------------

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
http://pear.php.net/bugs/bug.php?id=15233

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMar 15, '11 at 1:57a
activeMar 15, '11 at 1:57a
posts1
users1
websitepear.php.net

1 user in discussion

Helgith: 1 post

People

Translate

site design / logo © 2022 Grokbase