Only detect encoding if the Ruby supports it
Merge pull request #89 from sodabrew/respond_to_ascii_only

Only detect encoding if the Ruby supports it

Patch by Aaron Stone. Thanks!!!