settings for ruby encoding