ID:               48507
 User updated by:  krynble at yahoo dot com dot br
 Reported By:      krynble at yahoo dot com dot br
-Status:           Feedback
+Status:           Open
 Bug Type:         Filesystem function related
 Operating System: Unix
 PHP Version:      5.2.9
 New Comment:

Unfortunately I'm unable to test it because the server is running in a

Datacenter.

If someone can give a feedback about it, I would apreciate.

Still, thanks for the help!


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

[2009-06-10 12:47:52] j...@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



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

[2009-06-09 14:18:39] krynble at yahoo dot com dot br

Description:
------------
Problem using fgetcsv ignoring special characters at the begining of a

string.

The example I had was using the word "ÓTICA" with the "#" character as

separator.

Reproduce code:
---------------
Consider a file with the following contents: WEIRD#ÓTICA#BEHAVIOR

When using fgetcsv to parse this file, I get an output like this:

Array(
   [0] => WEIRD,
   [1] => TICA,
   [2] => BEHAVIOR
)

Expected result:
----------------
Array(
   [0] => WEIRD,
   [1] => ÓTICA,
   [2] => BEHAVIOR
)

Actual result:
--------------
Array(
   [0] => WEIRD,
   [1] => TICA,
   [2] => BEHAVIOR
)


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


-- 
Edit this bug report at http://bugs.php.net/?id=48507&edit=1

Reply via email to