|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76286 transliterator_transliterate() -> converts "ℌ" into "x"
Submitted: 2018-04-29 07:45 UTC Modified: 2018-04-30 13:32 UTC
From: lars at moelleken dot org Assigned:
Status: Not a bug Package: intl (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: lars at moelleken dot org
New email:
PHP Version: OS:


 [2018-04-29 07:45 UTC] lars at moelleken dot org
When I try to convert unicode-text into ascii via  "transliterator_transliterate()" it converts "ℌ" into "x" instead of "H".

- demo:

- sample-unicode (for more tests?):

Test script:
$str = 'ℌ';

$str = transliterator_transliterate('NFD; [:Nonspacing Mark:] Remove; NFC; Any-Latin; Latin-ASCII;', $str);


Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-04-30 13:32 UTC]
-Status: Open +Status: Not a bug
 [2018-04-30 13:32 UTC]
Thanks for the report. The transform used seems incorrect. NFD+NFC should be replaced by NFKC. See

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Feb 21 01:01:26 2020 UTC