ID:               29518
 Updated by:       [EMAIL PROTECTED]
 Reported By:      takeone at myrealbox dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: Windows
 PHP Version:      4.3.8
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




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

[2004-08-04 08:30:07] takeone at myrealbox dot com

Description:
------------
parse_ini_file does not recognize value "]" (ascii code: 5d).
so, multibyte charcters including code "5d" is not recognized.

for example, Japanese Shift-JIS code "935d", "965d"..etc.

Reproduce code:
---------------
test.php
<?php
$ini = parse_ini_file('test.ini');
print_r($ini);
?>

test.ini
[test]
;value is code "935d" (Shift-JIS)
value="�]"

Expected result:
----------------
Array ( [value] => �] )

#of cource, the value of [value] is code "935d".

Actual result:
--------------
Array ( ) 


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


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

Reply via email to