The following function composes a Unicode character from two Unicode characters.
ucs4_t uc_composition (ucs4_t uc1, ucs4_t uc2) ¶Attempts to combine the Unicode characters uc1, uc2. uc1 is known to have canonical combining class 0.
Returns the combination of uc1 and uc2, if it exists. Returns 0 otherwise.
Not all decompositions can be recombined using this function. See the Unicode file CompositionExclusions.txt for details.