Use ASCII encoding for Ruby 2.0.