Remove encoding conditionals that are no longer required

These are no longer needed since we don't support Ruby 1.8.x anymore.