Set global default encoding for ruby 1.9

You can either:

  1. set your RUBYOPT environment variable to “-E utf-8”
  2. or use https://github.com/m-ryan/magic_encoding

Leave a Comment