ID:               45991
 Comment by:       ckl at ecw dot de
 Reported By:      ckl at ecw dot de
 Status:           Feedback
 Bug Type:         *Configuration Issues
 Operating System: Windows XP SP 3
 PHP Version:      5.3.0alpha2
 New Comment:

config.ini was saved as UTF-8 with BOM.


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

[2008-09-04 14:30:18] [EMAIL PROTECTED]

changing to configuration issue

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

[2008-09-04 14:29:19] [EMAIL PROTECTED]

Would that be UTF-8 with the BOM? or without?

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

[2008-09-04 10:13:38] ckl at ecw dot de

Description:
------------
parse_ini_file returns an empty array while trying to parse any
ini-file which is saved as UTF-8.
ISO-8859-1 saved ini-files works as expected.

Reproduce code:
---------------
; Saved as UTF-8
[production]
application.base_url  =
application.data_url  = "data"
database.type         = pdo_mysql
database.host         = 192.168.0.78
database.username     = root
database.password     = 
database.name         = blog

Expected result:
----------------
Get an array..

Actual result:
--------------
array()


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


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

Reply via email to