@@ -80,6 +80,13 class PdfTest < ActiveSupport::TestCase | |||
|
80 | 80 | pdf.fix_text_encoding(utf8_txt_2) |
|
81 | 81 | assert_equal "??\x91\xd4?", |
|
82 | 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 | 90 | end |
|
84 | 91 | end |
|
85 | 92 | end |
General Comments 0
You need to be logged in to leave comments.
Login now