PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Internationalization » I18Nv2 » Bug #2152

_iconv in CommonList.php line 196 throws notice

Details

Submitted2004-08-17 23:46 UTC
Fromesm at baseclass dot modulweb dot dk
Assignedmike
StatusClosed
PackageI18Nv2
PHP Version4.3.8
OSWinn32 / 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());