Ruby 1.8 doesn't have force_encoding.