titleize()
public
Capitalizes the first letter of every word, when possible.
"ÃL QUE SE ENTERÃ".mb_chars.titleize.to_s
"æ¥æ¬èª".mb_chars.titleize.to_s
# File activesupport/lib/active_support/multibyte/chars.rb, line 132
def titleize
chars(downcase.to_s.gsub(/\b('?\S)/) { $1.upcase })
end