Unfortunately, force_encoding broke Ruby 1.8 compatibility. It also is not applied when calling each directly.
I've moved force_encoding into the each method and check if it is available. On Ruby 1.8 it will not be called, but adjusted specs pass nevertheless (mri-1.8.7, ree-1.8.7, mri-1.9.3).
Unfortunately, force_encoding broke Ruby 1.8 compatibility. It also is not applied when calling each directly.
I've moved force_encoding into the each method and check if it is available. On Ruby 1.8 it will not be called, but adjusted specs pass nevertheless (mri-1.8.7, ree-1.8.7, mri-1.9.3).