How can I encode a string (e.g. iso for utf-8) in Ruby on Rails using Ruby 1.8.7?
Use toutf8 .
"my string".toutf8