import' 2: from /Users/wangyp/Documents/cultivate/lib/cultivate/model.rb:40:in
load_rows'
1: from /Users/wangyp/Documents/cultivate/lib/cultivate/model.rb:50:in load_csv' /Users/wangyp/Documents/cultivate/lib/cultivate/model.rb:50:in
gsub': invalid byte sequence in UTF-8 (ArgumentError)
With latest version of big5-to-utf8 will cause invalid byte sequence in UTF-8 (ArgumentError) It's fine with older version
wangyps-MacBook-Pro-2:cultivate wangyp$ ./bin/import /Users/wangyp/Documents/cultivate/data20180907 Traceback (most recent call last): 9: from ./bin/import:7:in'
3: from /Users/wangyp/Documents/cultivate/lib/cultivate/model.rb:20:in
<main>' 8: from /Users/wangyp/Documents/cultivate/lib/cultivate.rb:11:in
traverse' 7: from /Users/wangyp/Documents/cultivate/lib/cultivate.rb:11:ineach' 6: from /Users/wangyp/Documents/cultivate/lib/cultivate.rb:15:in
block in traverse' 5: from /Users/wangyp/Documents/cultivate/lib/cultivate.rb:15:ineach' 4: from ./bin/import:8:in
block inimport' 2: from /Users/wangyp/Documents/cultivate/lib/cultivate/model.rb:40:in
load_rows' 1: from /Users/wangyp/Documents/cultivate/lib/cultivate/model.rb:50:inload_csv' /Users/wangyp/Documents/cultivate/lib/cultivate/model.rb:50:in
gsub': invalid byte sequence in UTF-8 (ArgumentError)