@@ -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