String#chars Blessed by Rails Papacy as Fingertips Work to Dip Ruby's Toes in the UTF-8 Waters
Cool, good news, the Fingertips’ ActiveSupport::Multibyte is checked into Rails. This equips every string with a
chars method which offers a host of friendly Unicode-aware methods for the string. You know:
slice and the like.
name = 'Claus Müller' name.reverse #=> "rell??M sualC" name.length #=> 13 name.chars.reverse.to_s #=> "rellüM sualC" name.chars.length #=> 12
This is valuable, essential work. Thanks to Thijs, Manfred, Julik and related contributors. Along with Nikolai’s work, we’re on our way.