How to specify output file encoding in Ruby? How to specify output file encoding in Ruby? ruby ruby