add a stubbed force_encoding for ruby 1.8