PDF: set lang 'ja' in unit test test_fix_text_encoding_cannot_convert_ja_cp932().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5695 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
99693d644c
commit
673fe7f372
|
@ -28,6 +28,7 @@ class PdfTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_fix_text_encoding_cannot_convert_ja_cp932
|
def test_fix_text_encoding_cannot_convert_ja_cp932
|
||||||
|
set_language_if_valid 'ja'
|
||||||
pdf = Redmine::Export::PDF::IFPDF.new('ja')
|
pdf = Redmine::Export::PDF::IFPDF.new('ja')
|
||||||
assert pdf
|
assert pdf
|
||||||
utf8_txt_1 = "\xe7\x8b\x80\xe6\x85\x8b"
|
utf8_txt_1 = "\xe7\x8b\x80\xe6\x85\x8b"
|
||||||
|
|
Loading…
Reference in New Issue