baierjan/rails-latex — pull request #38 by danniyu (2014-09-08 19:24:46+00:00)
Title: add encoding to latex_to_pdf to solve invalid ASCII errors for ruby 1.9

PDF generation failed while calling LatexToPdf.escape_latex whenever there are accented characters. Added coding: utf-8 to top of this file to solve this issue for ruby 1.9