I’m trying to learn ruby and i’m using it for different tasks and I have
one to ask for help. So bear with me
I receive CSV files that are separated by semicolon and no quotes.
I would like to make a script for reading all these files and converting
them to CSV files separated by commas and I would like all fields to be
quoted. If possible change encoding to UTF8 without BOM.
My first problem is how to parse and create a new csv.
I read that I could parse a whole csv to an array of arrays like this:
array_of_arrays = FasterCSV.read(“myfile.csv”)
But how should use this array when creating a new file?
I would like to loop through the array.