Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.11.4

Bug #2152 _iconv in CommonList.php line 196 throws notice
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)    
Subscription  


 [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());

Comments

 [2004-08-18 08:36 UTC] mike
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. Seems that "Åland Isle" was encoded in Iso-8859-1 in 9 out of 10 files. Thanks a lot!