method

decompose

rails latest stable - Class: ActiveSupport::Multibyte::Chars
decompose()
public

Performs canonical decomposition on all the characters.

'é'.length                         # => 1
'é'.mb_chars.decompose.to_s.length # => 2