Force reencoding to deal with Ruby 1.9/2.0 behavior