Home » Internationalization » I18Nv2 » Bug #2152
_iconv in CommonList.php line 196 throws notice
Details
| Submitted | 2004-08-17 23:46 UTC |
|---|---|
| From | esm at baseclass dot modulweb dot dk |
| Assigned | mike |
| Status | Closed |
| Package | I18Nv2 |
| PHP Version | 4.3.8 |
| OS | Winn32 / IIS |
| Roadmaps | (Not assigned) |
Comments
[2004-08-17 23:46 UTC] esm at baseclass dot modulweb dot dk
Description:
------------
Iconv throws a notice that there is an illegal char, and the AX entry is returned empty
This is the offending entry
$this->codes = array(
'AX' => 'Ă…land Isle',
Reproduce code:
---------------
require_once 'I18Nv2.php';
require_once 'I18Nv2/Country.php';
// This will reproduce the bug
$c = & new I18Nv2_Country('da', 'iso-8859-1');
$s = & $c -> toDecoratedList('HtmlSelect');
// print a HTML select box
print_r( $c -> getAllCodes());