In Cool§
See primary documentation in context for routine uninames
sub uninames(Str)method uninames()
Returns of a Seq
of Unicode names for the all the codepoints in the Str
provided.
say ‘»ö«’.uninames.raku;# OUTPUT: «("RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK", "LATIN SMALL LETTER O WITH DIAERESIS", "LEFT-POINTING DOUBLE ANGLE QUOTATION MARK").Seq»
Note this example, which gets a Seq
where each element is a Seq
of all the codepoints in that character.
say "Ḍ̇'oh".comb>>.uninames.raku;# OUTPUT: «(("LATIN CAPITAL LETTER D WITH DOT BELOW", "COMBINING DOT ABOVE").Seq, ("APOSTROPHE",).Seq, ("LATIN SMALL LETTER O",).Seq, ("LATIN SMALL LETTER H",).Seq)»
See uniname for the name of the first codepoint of the first character in the provided Str
and uniparse for the opposite direction.