The OpenD Programming Language

decomposeHangul

Decomposes a Hangul syllable. If ch is not a composed syllable then this function returns Grapheme containing only ch as is.

version(!std_uni_bootstrap)
nothrow pure @safe
decomposeHangul
(
dchar ch
)

Examples

import std.algorithm.comparison : equal;
assert(decomposeHangul('\uD4DB')[].equal("\u1111\u1171\u11B6"));

Meta