Disable encoding assistance where not available on Ruby 1.8.
Merge pull request #2 from domcleal/encoding

Disable encoding assistance where not available on Ruby 1.8.