Diganta's Blog
Wednesday, September 15, 2010
CSV IllegalFormatError
To handle
CSV IllegalFormatError in Ruby
, you can try to following code
CSV.open(path_to_file, "r") do |row|
# do something
end
OR
CSV.open(path_to_file, "r", ?,, ?\r) do |row|
# do something
end
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)