OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
846ac26
)
PDF: remove replacing non ASCII quotation marks (#61).
author
Toshi MARUYAMA
<marutosijp2@yahoo.co.jp>
Mon, 4 Apr 2011 01:10:31 +0000
(
01:10
+0000)
committer
Toshi MARUYAMA
<marutosijp2@yahoo.co.jp>
Mon, 4 Apr 2011 01:10:31 +0000
(
01:10
+0000)
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
lib/redmine/export/pdf.rb
patch
|
blob
|
history
diff --git
a/lib/redmine/export/pdf.rb
b/lib/redmine/export/pdf.rb
index
baf553c
..
2316f91
100644
(file)
--- 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('\\')