Add method String#force_encoding to 1.8.7