@@ -1405,7 +1405,7 class IssuesControllerTest < ActionController::TestCase | |||||
1405 | assert_not_nil assigns(:issue) |
|
1405 | assert_not_nil assigns(:issue) | |
1406 | end |
|
1406 | end | |
1407 |
|
1407 | |||
1408 |
def test_export_to_pdf_with_utf8_u_ff |
|
1408 | def test_export_to_pdf_with_utf8_u_fffd | |
1409 | # U+FFFD |
|
1409 | # U+FFFD | |
1410 | s = "\xef\xbf\xbd" |
|
1410 | s = "\xef\xbf\xbd" | |
1411 | s.force_encoding('UTF-8') if s.respond_to?(:force_encoding) |
|
1411 | s.force_encoding('UTF-8') if s.respond_to?(:force_encoding) |
General Comments 0
You need to be logged in to leave comments.
Login now