I am using the latest version of Ruby on Windows. When I do the
following in irb:
File.open(‘sometextfile.txt’).readlines
I get an array of unicode characters. The example in the book I am
following along with, Everyday Scripting with Ruby, shows each array
element as a line from the file. No Unicode. How do I get readlines
to work without spitting out unicode?
Thanks,
SA