Set global default encoding for ruby 1.9

I want to tell ruby that everything is utf8, except when stated otherwise, so I dont have to place these # encoding: utf-8 comments everywhere.

12
задан John Bachir 9 March 2012 в 07:42
поделиться