back to notes

Ruby csv parse note

Ruby CSV parse (1.8 versus 1.9)?

Got this error when porting to 1.9: 'block (2 levels) in shift': Unquated fields do not allow \r or \n (line 1). (CSV:MalformedCSVError)

a field in the CSV file contained a \n. Had to remove the \n



last updated june 2011