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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sjon at hortensius dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri Mar 14 09:01:29 2025 UTC