fgetcsv suppresses some characters before a separator
| Bug #21689 | fgetcsv suppresses some characters before a separator | ||||
|---|---|---|---|---|---|
| Submitted: | 2003-01-16 10:41 UTC | Modified: | 2003-02-28 07:29 UTC | ||
| From: | alpes at softhome dot net | Assigned: | |||
| Status: | Closed | Package: | Filesystem function related | ||
| PHP Version: | 4.2.3 | OS: | OS/2 | ||
| Private report: | No | CVE-ID: | None | ||
[2003-01-16 10:41 UTC] alpes at softhome dot net
fgetcsv suppresses some characters before a separator
[OS/2 kheldar 1 2.45 i386, PHP Version 4.2.3, Apache/1.3.22]
For example if the csv file has following content:
???|???|????|??|?|??
the comand $date = fgetcsv($f, 1000, "|");
gets the array('??','??','????','?','','').
instead of
array('???','???','????','??','?','??').
Is installed, that Example works correctly with:
1.FreeBSD 4.1, PHP Version 4.1.2, Apache/1.3.19
2.Windows 98 4.10, PHP Version 4.1.1, Apache/1.3.6
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2003-01-16 12:19 UTC] moriyoshi@php.net
[2003-01-21 04:04 UTC] alpes at softhome dot net
[2003-02-04 16:49 UTC] sniper@php.net
[2003-02-18 09:24 UTC] moriyoshi@php.net
[2003-02-28 07:29 UTC] moriyoshi@php.net