in reply to Unicode vulgar fraction composition

I think you'll have to DIY. The module is implementing algorithm, see references in docs. In the context of Unicode, character composition is the process of replacing the code points of a base letter followed by one or more combining characters into a single precomposed character; and character decomposition is the opposite process.
  • Comment on Re: Unicode vulgar fraction composition

Replies are listed 'Best First'.
Re^2: Unicode vulgar fraction composition
by raygun (Scribe) on Sep 23, 2020 at 15:37 UTC
    Right, which is why, on the surface, it's curious that both NFKD and NFKC return decomposed forms. Some illumination is provided in the documentation: NFKD performs "compatibility decomposition," while NFKC performs "compatibility decomposition followed by canonical composition." So apparently what I want is "compatibility composition," which it seems nothing in that module performs. Thus my question amounts to: does anything else in Perl do compatibility composition?
Re^2: Unicode vulgar fraction composition
by LanX (Cardinal) on Sep 23, 2020 at 14:20 UTC
    > I think ...

    And I think you are just restating the obvious from the OP.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery