force_encoding introduces awesome methods fe and dfe to handle encodings on Ruby 1.9
>= 0
Jakub Kuźma