to set ruby encoding to utf-8