##// END OF EJS Templates
PDF: add test of replacing converting error characters in FPDF ANSI on Ruby 1.8 (#61)....
Toshi MARUYAMA -
r5232:5eea9ec61a68
parent child
Show More
@@ -80,6 +80,13 class PdfTest < ActiveSupport::TestCase
80 pdf.fix_text_encoding(utf8_txt_2)
80 pdf.fix_text_encoding(utf8_txt_2)
81 assert_equal "??\x91\xd4?",
81 assert_equal "??\x91\xd4?",
82 pdf.fix_text_encoding(utf8_txt_3)
82 pdf.fix_text_encoding(utf8_txt_3)
83 else
84 assert_equal "???\x91\xd4",
85 pdf.fix_text_encoding(utf8_txt_1)
86 assert_equal "???\x91\xd4???",
87 pdf.fix_text_encoding(utf8_txt_2)
88 assert_equal "??????\x91\xd4???",
89 pdf.fix_text_encoding(utf8_txt_3)
83 end
90 end
84 end
91 end
85 end
92 end
General Comments 0
You need to be logged in to leave comments. Login now