How to enumerate all Unicode canonically equivalent sequences in Perl?

Viewed 227

Does there exist a standard Perl module or function that, given a Unicode Combining Character Sequence (or, more generally, an arbitrary Unicode text string), will generate a list of all canonically equivalent strings?

For example, if given the character U+1EAD, I'd like to get back a list of all these canonically equivalent sequences:

0061 0302 0323
0061 0323 0302
00E2 0323
1EA1 0302
1EAD

(I don't particularly care whether the interface is in terms of arrays of USVs or utf strings.)

1 Answers
Related