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

Request #13923 locale da_DK.utf8 not working
Submitted: 2008-05-17 00:40 UTC
From: ekt Assigned: kguest
Status: Closed Package: Date_Holidays_Denmark (version 0.1.0)
PHP Version: 5.2.6 OS: Linux
Roadmaps: 0.1.2    
Subscription  


 [2008-05-17 00:40 UTC] ekt (Erik Koyama Tilt)
Description: ------------ Would it be possible to get the title of the holiday as UTF-8 and not as ISO-8859-1? As it is now it seems that I can only get the title as ISO-8859-1 and then afterwards have to convert to UTF-8 using the iconv() function. Test script: --------------- $denmark = Date_Holidays::factory('Denmark', 2008, 'da_DK.utf8'); $holiday = $denmark->getHolidayForDate('2008-03-23'); echo $holiday->getTitle(); Expected result: ---------------- PĂ„skedag Actual result: -------------- P�skedag

Comments

 [2008-10-28 23:32 UTC] kguest (Ken Guest)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. changed file encoding of source to utf-8