How do I use String methods on UTF-8 characters?
For example, I have a string with Cyrillic characters, so when I use string.upcase
it doesn\'t work.
Unfortunately there is no support for downcase/upcase in Ruby 1.9, since the problems described in other posts. Still you can write you own gem, that will add support for cyrillic. You can look at my gem for Polish - turning on proper case folding is as easy as:
gem 'string_case_pl'
It also provides proper string sorting for Polish.