E
E
eldar_web2015-08-24 15:44:41
Ruby on Rails
eldar_web, 2015-08-24 15:44:41

How to parse an excel file in Russian form?

I generate an excel file like this:

@subscribers = Subscriber.where(user_id: session[:user_id])
    respond_to do |format|
      format.html
      format.xls
 end

And in view the usual table with a cycle.
And so, the excel-file loads, but there kryakozabry. How to solve the problem or how to set the correct encoding?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
TyzhSysAdmin, 2015-08-24
@POS_troi

Encoding xls file when requesting rails

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question