PDF: add test of replacing converting error characters in FPDF ANSI on Ruby 1.8 (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5352 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2f2cdfd96a
commit
5eea9ec61a
@ -80,6 +80,13 @@ class PdfTest < ActiveSupport::TestCase
|
||||
pdf.fix_text_encoding(utf8_txt_2)
|
||||
assert_equal "??\x91\xd4?",
|
||||
pdf.fix_text_encoding(utf8_txt_3)
|
||||
else
|
||||
assert_equal "???\x91\xd4",
|
||||
pdf.fix_text_encoding(utf8_txt_1)
|
||||
assert_equal "???\x91\xd4???",
|
||||
pdf.fix_text_encoding(utf8_txt_2)
|
||||
assert_equal "??????\x91\xd4???",
|
||||
pdf.fix_text_encoding(utf8_txt_3)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user