The OpenD Programming Language

combiningClass

Returns the combining class of ch.

version(!std_uni_bootstrap)
@safe pure nothrow @nogc
ubyte
combiningClass
(
dchar ch
)

Examples

// shorten the code
alias CC = combiningClass;

// combining tilda
assert(CC('\u0303') == 230);
// combining ring below
assert(CC('\u0325') == 220);
// the simple consequence is that  "tilda" should be
// placed after a "ring below" in a sequence

Meta