fix utf-8 for ruby 1.9