Read CSV

require 'csv'

CSV.foreach("foo.csv",encoding:"cp932") do |row|
  puts row
end