yaz: fix encoding issue in test
This commit is contained in:
parent
8a57c99c9f
commit
1cdaec9af8
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ class Yaz < Formula
|
|||
end
|
||||
|
||||
result = `"#{bin}/yaz-iconv" -f marc8 -t utf8 marc8.txt`.chomp
|
||||
result.force_encoding(Encoding::UTF_8) if result.respond_to?(:force_encoding)
|
||||
assert_equal "世界こんにちは!", result
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue