Bug #61245 [Opn]: ResourceBundle can't load .dat resources
| From: | cataphract@php.net | Date: | Sat, 03 Mar 2012 15:09:30 +0000 |
| Subject: | Bug #61245 [Opn]: ResourceBundle can't load .dat resources | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-168072@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61245&edit=1
ID: 61245
Updated by: cataphract@php.net
Reported by: jinmoku at hotmail dot com
Summary: ResourceBundle can't load .dat resources
Status: Open
Type: Bug
Package: I18N and L10N related
Operating System: Windows 7
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
This is likely due to an old version of ICU being shipped with PHP 5.4.0 binaries. Pierre tells me
these will be updated with PHP 5.4.1.
Previous Comments:
------------------------------------------------------------------------
[2012-03-02 14:09:48] jinmoku at hotmail dot com
Description:
------------
ResourceBundle can't load .dat resource (work with 5.3)
Test script:
---------------
$bundle = new \ResourceBundle('fr', __DIR__.'/icudt48l');
var_dump(intl_get_error_message());
Expected result:
----------------
U_ZERO_ERROR
Actual result:
--------------
resourcebundle_ctor: Cannot load libICU resource bundle: U_MISSING_RESOURCE_ERROR
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61245&edit=1