Index: app/helpers/ifpdf_helper.rb =================================================================== --- app/helpers/ifpdf_helper.rb (revision 1421) +++ app/helpers/ifpdf_helper.rb (working copy) @@ -55,6 +55,30 @@ SetFont(@font_for_content, style, size) end + def SetTitle(txt) + case current_language.to_s + when 'ja', 'zh', 'zh-tw' + txt = begin + utf16txt = Iconv.conv('UTF-16BE', 'UTF-8', txt) + hextxt = "" + rescue + txt + end || '' + end + super(txt) + end + + def textstring(s) + # Format a text string + if s =~ /^