Req #65829 [Csd]: Update to ICU 52.1 / Lao Word Boundary Support

From: Date: Wed, 30 Oct 2013 13:39:49 +0000
Subject: Req #65829 [Csd]: Update to ICU 52.1 / Lao Word Boundary Support
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182496@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65829&edit=1 ID: 65829 User updated by: robert dot rcampbell at gmail dot com Reported by: robert dot rcampbell at gmail dot com Summary: Update to ICU 52.1 / Lao Word Boundary Support Status: Closed Type: Feature/Change Request Package: *Languages/Translation Operating System: All PHP Version: Irrelevant Assigned To: ab Block user comment: N Private report: N New Comment: Done. New bug submitted #66002 for PECL intl. Will test the Windows Snapshot on my Windows XP tomorrow. Thanks so much for your help! Previous Comments: ------------------------------------------------------------------------ [2013-10-30 12:49:02] ab@php.net The windows ICU version was upgraded to 51.2, you can get it from the snap http://windows.php.net/downloads/snaps/php-5.5/ (take one of the latest). As you use the PECL version, could you please decouple your report into a separate ticket and assign it to the PECL intl ext. As this ticket was about upgrading the ICU for the windows builds and it's done. Please give then which exact PHP version, platform, etc you've used to reproduce the wrong behavior, and what's the correct result you expect. With the intl ext in the core results might differ. Thanks ------------------------------------------------------------------------ [2013-10-30 05:18:01] robert dot rcampbell at gmail dot com Looks like there may a bug in the PHP Intl code, after I downloaded and tested the latest PHP / PHP Intl (PECL). Got a Java version of it to work fine (based on icu4j). Someone else (cataphract) was able to get a C++ version working. Here's my script: <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ini_set("intl.error_level", E_WARNING); ini_set("intl.default_locale", "lo_LA"); echo INTL_ICU_VERSION; $bi = IntlBreakIterator::createWordInstance('lo'); $myText = "ພຣະທັມເຮັບເລີຄາດຄະເນລ່ວງໜ້າວ່າຄົນຈະຮູ້ແລະເຂົ້າໃຈເຖິງວຽກງານຂອງປະໂລຫິດໃນສະໄໝຂອງຊົນຊາດອິດສະລາເອນເພື່ອວ່າຜູ້ທີ່ຮັບຈົດໝາຍທີ່ຖືກບັນທຶກໄວ້ໃນພຣະທັມນີ້ຈະສາມາດເຂົ້າໃຈວ່າພຣະເຢຊູຊົງເຮັດສິ່ງໃດສຳລັບພວກເຂົາໃນສະຫວັນ"; $bi->setText($myText); var_dump($bi->first()); var_dump($bi->next()); var_dump($bi->next()); var_dump($bi->next()); var_dump($bi->next()); var_dump($bi->next()); var_dump($bi->next()); ?> PHP Output: 52.1 int 0 int 597 int -1 int -1 int -1 int -1 int -1 ------------------------------------------------------------------------ [2013-10-19 04:05:01] php-bugs at lists dot php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. ------------------------------------------------------------------------ [2013-10-11 06:27:53] ab@php.net Please try using this snapshot: http://snaps.php.net/php5.5-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2013-10-05 18:10:17] robert dot rcampbell at gmail dot com Good to know on other OSes. Will test it and check that it vorks... ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=65829 -- Edit this bug report at https://bugs.php.net/bug.php?id=65829&edit=1

« previous php.bugs (#182496) next »