diff --git a/spec/mail/encodings_spec.rb b/spec/mail/encodings_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mail/encodings_spec.rb
+++ b/spec/mail/encodings_spec.rb
@@ -246,8 +246,9 @@ describe Mail::Encodings do
       mail[:subject].charset = 'koi8-r'
       wrapped = mail[:subject].wrapped_value
       unwrapped = Mail::Encodings.value_decode(wrapped)
+      orginial = original.force_encoding('koi8-r') if RUBY_VERSION >= "1.9"
     
-      unwrapped.gsub("Subject: ", "").should == original.force_encoding('koi8-r')
+      unwrapped.gsub("Subject: ", "").should == original
     end
   end
Yeah yeah, I fixed for ruby <I>, but neglected to test with older rubies. I'm a dud! (<URL>)