class ActiveSupport::Multibyte::Chars
def decompose
'é'.length # => 1
Performs canonical decomposition on all the characters.
def decompose chars(Unicode.decompose(:canonical, @wrapped_string.codepoints.to_a).pack("U*")) end
def decompose chars(Unicode.decompose(:canonical, @wrapped_string.codepoints.to_a).pack("U*")) end