From 821d9f5ca4188ae4aab021b6eadb6ac6ea6ab2f5 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 30 May 2011 14:20:20 -0700 Subject: [PATCH] [#437] Move the encoding to the top of pdf.rb for Ruby 1.9 --- lib/redmine/export/pdf.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index 99969725..4e6a3b21 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -1,3 +1,4 @@ +# encoding: utf-8 #-- copyright # ChiliProject is a project management system. # @@ -11,8 +12,6 @@ # See doc/COPYRIGHT.rdoc for more details. #++ -# encoding: utf-8 - require 'iconv' require 'rfpdf/fpdf' require 'fpdf/chinese'