PDF: fix 0x5c(backslash) escape processing in FPDF (#61).

Japanese CP932(Shift_JIS) and Traditional Chinese Big5 have 0x5c(backslash) problem.

Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5565 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2011-04-29 05:35:26 +00:00
parent ed3efeb960
commit f62605c636
3 changed files with 3 additions and 51 deletions
-2
View File
@@ -163,8 +163,6 @@ module Redmine
end
txt = txtar
end
# 0x5c char handling
txt.gsub(/\\/, "\\\\\\\\")
end
def RDMCell(w,h=0,txt='',border=0,ln=0,align='',fill=0,link='')