Error in php54-php-icu or php54-php-intl
Issue
- Observed below error on
php54-php-icu/php54-php-intl, The following code produces an error message when executed:
<?php
echo transliterator_transliterate("NFKD;Latin;Latin/US-ASCII;[:Nonspacing Mark:] Remove;Lower","TESTSTRING äöüÄÖÜß");
?>
-bash-4.1$ php -f transliterate.php
PHP Warning: transliterator_transliterate(): Could not create transliterator with ID "NFKD;Latin;Latin/US-ASCII;[:Nonspacing Mark:] Remove;Lower" (transliterator_create: unable to open ICU transliterator with id "NFKD;Latin;Latin/US-ASCII;[:Nonspacing Mark:] Remove;Lower": U_INVALID_ID) in /www/mwadmin/transliterate.php on line 3
Environment
- Red Hat Enterprise Linux 6
- libicu-4.2.1-9.1.el6_2.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.