Problem in reading the columns from an xls file

I am having a problem in reading the columns from an xls file.

Following is the code:
workbook = Spreadsheet::ParseExcel.parse(params[:dump][:file])
worksheet = workbook.worksheet(0)

    worksheet.each(skip) { |row|



I am storing “Customer” in the first row first column. When I print, it
is received as C[]u[]s[]t[]o[]m[]e[]r[] (I mean a box in between each
Am i missing out anything in the code?

Please help.

Thanks in advance.‘latin1’) has fixed the issue.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs