Bug #18248 [Asn->Csd]: lithuanian chars are not in UTF-8

From: Date: Thu, 22 Mar 2012 02:00:15 +0000
Subject: Bug #18248 [Asn->Csd]: lithuanian chars are not in UTF-8
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8419@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=18248&edit=1 ID: 18248 Updated by: ifeghali@php.net Reported By: aur1mas at devnet dot lt Summary: lithuanian chars are not in UTF-8 -Status: Assigned +Status: Closed Type: Bug Package: Numbers_Words Operating System: MacOSX, Ubuntu (server) Package Version: 0.16.2 PHP Version: 5.2.12 -Assigned To: kouber +Assigned To: ifeghali Roadmap Versions: New Comment: -Status: Assigned +Status: Closed -Assigned To: kouber +Assigned To: ifeghali This bug has been fixed in SVN. 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. Please test and report Previous Comments: ------------------------------------------------------------------------ [2011-02-08 11:03:31] kouber -Status: Open +Status: Assigned -Assigned To: +Assigned To: kouber ------------------------------------------------------------------------ [2011-02-07 16:30:40] aur1mas Description: ------------ in Numbers/Words/lang.lt.php lithuanian chars are not in utf-8 encoding. iconv('cp1257', 'utf-8', $string) solves the problem, but I thing the default charset should be utf-8. Test script: --------------- $nWords = new Numbers_Words(); $nWords->toWords(726); Expected result: ---------------- septyni šimtai dvidešimt šeši Actual result: -------------- septyni ?imtai dvide?imt ?e?i ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=18248&edit=1

« previous php.pear.bugs (#8419) next »