decompose()
Performs canonical decomposition on all the characters.
Example:
'é'.length #=> 2 'é'.mb_chars.decompose.to_s.length #=> 3
# File activesupport/lib/active_support/multibyte/chars.rb, line 400 def decompose chars(self.class.decompose_codepoints(:canonical, self.class.u_unpack(@wrapped_string)).pack('U*')) end