php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73658 Transliterator::create broken since icu-58 upstream changes
Submitted: 2016-12-05 18:26 UTC Modified: 2018-05-12 19:20 UTC
From: sjon at hortensius dot net Assigned:
Status: Not a bug Package: intl (PECL)
PHP Version: 7.1.0 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
6 + 35 = ?
Subscribe to this entry?

 
 [2016-12-05 18:26 UTC] sjon at hortensius dot net
Description:
------------
Like #73655; this is caused by icu-58. This works fine with icu-57,

Test script:
---------------
print Transliterator::create('de_DE')->transliterate("Donnerlüttchen");


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-05-12 19:20 UTC] ab@php.net
-Status: Open +Status: Not a bug
 [2018-05-12 19:20 UTC] ab@php.net
Thanks for the report. The changes in the transliteration ID handling, same as any other ICU data, are not a PHP responsibility. Use Transliterator::listIds() to find out the suitable values. For a simple variant, I guess what you wanted is 

$t = Transliterator::create("latin-ascii"); var_dump($t->transliterate("Donnerlüttchen"));

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 10:01:29 2024 UTC