diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-04-04 01:10:31 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-04-04 01:10:31 +0000 |
commit | d435195764dbe07f85bff1b87c386b2ad2582e97 (patch) | |
tree | f9261efa0dcbe047cf207011e62e39f377c5e2cc /lib | |
parent | 846ac262ecbd74bd4bdcf4eda18c39ce89f2fbcc (diff) | |
download | redmine-d435195764dbe07f85bff1b87c386b2ad2582e97.tar.gz redmine-d435195764dbe07f85bff1b87c386b2ad2582e97.zip |
PDF: remove replacing non ASCII quotation marks (#61).
Languages except CJK and Thailand use TCPDF UTF-8.
TCPDF UTF-8 supports these quotation marks.
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5306 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/export/pdf.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index baf553ca1..2316f91f2 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -144,8 +144,6 @@ module Redmine def fix_text_encoding(txt) @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('\\') |