|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #76111 Provide a way to retrieve a code point's Decomposition_Mapping property
Submitted: 2018-03-18 21:17 UTC Modified: 2018-03-22 23:56 UTC
From: paul dot crovella at gmail dot com Assigned: cmb (profile)
Status: Closed Package: intl (PECL)
PHP Version: Irrelevant 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:
Solve the problem:
27 - 23 = ?
Subscribe to this entry?

 [2018-03-18 21:17 UTC] paul dot crovella at gmail dot com
The difference between the Decomposition_Mapping property and decomposition via methods like NFKC normalization is that the latter decomposes characters recursively. It's useful in some situations to access the property directly (e.g. when implementing some PRECIS profiles[1].)

ICU exposes the Decomposition_Mapping property via unorm2_getRawDecomposition() when given a NFKC Normalizer2 instance.[2][3]

For example, given U+FFDA[4] it should return U+3161[5] rather than the full (recursive) decomposition to U+1173[6]



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-03-21 00:50 UTC] paul dot crovella at gmail dot com
PR for this is at

(I tried adding it to the bug but the UI failed me.)
 [2018-03-22 23:56 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2018-03-22 23:56 UTC]
> (I tried adding it to the bug but the UI failed me.)

See <>.

Since PR 3189 has been merged, this ticket can be closed.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC