#38323 [Opn]: Sections is not processed when parse_ini_file() which encoded in UTF-8 w/ BOM
| From: | zybersup at yahoo dot com | Date: | Fri, 04 Aug 2006 02:20:24 +0000 |
| Subject: | #38323 [Opn]: Sections is not processed when parse_ini_file() which encoded in UTF-8 w/ BOM | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100313@lists.php.net to get a copy of this message | ||
ID: 38323
User updated by: zybersup at yahoo dot com
Reported By: zybersup at yahoo dot com
Status: Open
Bug Type: Scripting Engine problem
Operating System: Windows XP Professional
PHP Version: 4.4.3
New Comment:
Forgot to add more detail that...
I have tested files encoded in ASCII, UTF-8 w/ BOM and UTF-8 w/o BOM on
both PHP4 and PHP5 (5.0.5)
Found no problem with ASCII and UTF-8 w/o BOM. Only UTF-8 w/ BOM has
problem.
Also I found no problem with PHP 5.0.5. So that this problem should not
caused by my INI file, I guess ;).
Previous Comments:
------------------------------------------------------------------------
[2006-08-04 02:15:57] zybersup at yahoo dot com
Description:
------------
Call the function parse_ini_file() with INI file that written in UTF-8
with BOM.
Set process_sections to TRUE.
The result is an array of all value correctly parsed,
but no section processed.
(That means the result is not multi-dimentional array.)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38323&edit=1