decompose()
public
Performs canonical decomposition on all the characters.
Example:
'é'.length
'é'.mb_chars.decompose.to_s.length
Show source
def decompose
chars(Unicode.decompose_codepoints(:canonical, Unicode.u_unpack(@wrapped_string)).pack('U*'))
end