0

Iam using Rails to build my website. My website only allow user upload excel files in encoding UTF8.

Iam using gem Roo to read file .xlsx. However I can't get encoding of a file .xlsx.

I used gem CharlockHolmes, however it don't return encoding of file. This is result when use CharlockHolmes

{:type=>:binary, :confidence=>100}

How to get encoding of excel file in Rails ?

4

0 回答 0