From d832f4c4b1324c0bffa145b442b48f92f810c846 Mon Sep 17 00:00:00 2001 From: thomaschen <99703040@nccu.edu.tw> Date: Mon, 21 Oct 2013 14:44:31 +0800 Subject: [PATCH] can read the spreadsheet each row.(need to think of a method to parse each row to figure) Conflicts: Gemfile vendor/built_in_modules/survey/app/controllers/panel/survey/back_end/surveys_controller.rb --- .../app/controllers/panel/survey/back_end/surveys_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vendor/built_in_modules/survey/app/controllers/panel/survey/back_end/surveys_controller.rb b/vendor/built_in_modules/survey/app/controllers/panel/survey/back_end/surveys_controller.rb index 1ad95dfa6..c221df87f 100644 --- a/vendor/built_in_modules/survey/app/controllers/panel/survey/back_end/surveys_controller.rb +++ b/vendor/built_in_modules/survey/app/controllers/panel/survey/back_end/surveys_controller.rb @@ -1,4 +1,6 @@ require 'csv' +require 'iconv' +require 'roo' # encoding: UTF-8