From:             [EMAIL PROTECTED]
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

Reply via email to