#21689 [NEW]: fgetcsv suppresses some characters before a separator

From: Date: Thu, 16 Jan 2003 16:41:56 +0000
Subject: #21689 [NEW]: fgetcsv suppresses some characters before a separator
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30264@lists.php.net to get a copy of this message
From: alpes@softhome.net Operating system: OS/2 PHP version: 4.2.3 PHP Bug Type: Filesystem function related Bug description: fgetcsv suppresses some characters before a separator 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 -- Edit bug report at http://bugs.php.net/?id=21689&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21689&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21689&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21689&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21689&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21689&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21689&r=support Expected behavior: http://bugs.php.net/fix.php?id=21689&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21689&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21689&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21689&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21689&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21689&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21689&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21689&r=gnused

« previous php.bugs (#30264) next »