Default Encoding Dec 29th, 2014 4:06 pm To change ruby encoding, run ruby with -E [coding]. Example: 1 2 #!/bin/ruby -E UTF-8 ruby code here