diff --git a/app/helpers/ifpdf_helper.rb b/app/helpers/ifpdf_helper.rb index 5e7fb2898..585dbeeca 100644 --- a/app/helpers/ifpdf_helper.rb +++ b/app/helpers/ifpdf_helper.rb @@ -52,6 +52,8 @@ module IfpdfHelper def Cell(w,h=0,txt='',border=0,ln=0,align='',fill=0,link='') @ic ||= Iconv.new(l(:general_pdf_encoding), 'UTF-8') + # these quotation marks are not correctly rendered in the pdf + txt = txt.gsub(/[“”]/, '"') if txt txt = begin # 0x5c char handling txtar = txt.split('\\')