utf-8 fix for ruby 1.9