Tag: Ruby CSV
open(filename, "rb:Shift_JIS:UTF-8", undef: :replace) do |f| CSV.new(f).each do |row| # ... end end