Ruby 2 defaults to utf-8.  The above encoding declaration is redundant in Ruby 2.  It would only have an effect in Ruby 1.9.