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

 ID:                 54025
 Updated by:         johan...@php.net
 Reported by:        bschussek at gmail dot com
 Summary:            ResourceBundle fails to read files with uppercase
                     characters
-Status:             Open
+Status:             Duplicate
 Type:               Bug
 Package:            I18N and L10N related
 Operating System:   Ubuntu 10.10
 PHP Version:        5.3SVN-2011-02-15 (snap)
 Block user comment: N
 Private report:     N

 New Comment:

As David said :-)


Previous Comments:
------------------------------------------------------------------------
[2011-04-18 14:53:16] david dot zuelke at bitextender dot com

Duplicate of http://bugs.php.net/54540

------------------------------------------------------------------------
[2011-02-15 14:28:28] bschussek at gmail dot com

Description:
------------
A bundle named "supplementalData" can't be read by ResourceBundle. If
the bundle 

is named "supplementaldata" instead, loading works.



To reproduce, create a supplementalData.txt with this content:



--- BEGIN ---

supplementalData{

}

--- END ---



Then run genrb on the CLI:



$ genrb supplementalData.txt



which will generate a supplementalData.res needed by the test. genrb
will output 

a warning, but you can ignore that for the purpose of this test.

Test script:
---------------
<?php

$bundle = new \ResourceBundle('supplementalData', __DIR__);

var_dump($bundle instanceof \ResourceBundle);

Expected result:
----------------
bool(true)

Actual result:
--------------
bool(false)


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



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

Reply via email to