Character encoding wrangling doesn't work in Ruby 1.8. Bypass if not supported.
Merge pull request #51 from mikesten/encoding

Character encoding wrangling doesn't work in Ruby 1.8. Bypass if not supported.