Make the invalid UTF8 test a no-op if Ruby 1.8 is used
(strings not encoding-aware)

whoops