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