|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #65829 Update to ICU 52.1 / Lao Word Boundary Support
Submitted: 2013-10-04 10:33 UTC Modified: 2013-10-30 13:39 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: robert dot rcampbell at gmail dot com Assigned: ab (profile)
Status: Closed Package: *Languages/Translation
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
 [2013-10-04 10:33 UTC] robert dot rcampbell at gmail dot com
Request update to ICU 52.1 after October 9th, 2013, so that the Lao language can use the boundary analysis available to PHP - need it for word-wrapping in Lao.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-04 13:45 UTC]
-Assigned To: +Assigned To: ab
 [2013-10-04 13:45 UTC]
I suppose you mean on windows right? As for any other OSes, you can install whatever the distribution provides, or manually compile the version you wish.

@a can you look to update to 5.1 for 5.5+? For what I see we have 5.0.
 [2013-10-05 18:10 UTC] robert dot rcampbell at gmail dot com
Good to know on other OSes. Will test it and check that it vorks...
 [2013-10-11 06:27 UTC]
-Status: Assigned +Status: Feedback
 [2013-10-11 06:27 UTC]
Please try using this snapshot:
For Windows:

 [2013-10-19 04:05 UTC] 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-30 05:18 UTC] 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:
if (!extension_loaded('intl'))
   die('skip intl extension not enabled');
ini_set("intl.error_level", E_WARNING);
ini_set("intl.default_locale", "lo_LA");
$bi = IntlBreakIterator::createWordInstance('lo');
$myText =

PHP Output:
int 0
int 597
int -1
int -1
int -1
int -1
int -1
 [2013-10-30 12:49 UTC]
-Status: No Feedback +Status: Closed
 [2013-10-30 12:49 UTC]
The windows ICU version was upgraded to 51.2, you can get it from the snap (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.

 [2013-10-30 13:39 UTC] robert dot rcampbell at gmail dot com
Done. New bug submitted #66002 for PECL intl. Will test the Windows Snapshot on my Windows XP tomorrow. Thanks so much for your help!
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Aug 14 15:01:25 2020 UTC