#29518 [Fbk->NoF]: parse_ini_file and multibyte chars bug (char code 5d)
| From: | php-bugs at lists dot php dot net | Date: | Fri, 11 Feb 2005 00:00:29 +0000 |
| Subject: | #29518 [Fbk->NoF]: parse_ini_file and multibyte chars bug (char code 5d) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73812@lists.php.net to get a copy of this message | ||
ID: 29518
Updated by: php-bugs@lists.php.net
Reported By: takeone at myrealbox dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Scripting Engine problem
Operating System: Windows
PHP Version: 4.3.8
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2005-02-03 04:54:47] sniper@php.net
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
------------------------------------------------------------------------
[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