diff options
Diffstat (limited to 'test/psych')
-rw-r--r-- | test/psych/test_tainted.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_tainted.rb b/test/psych/test_tainted.rb index 00d220e825..fdcced4cf3 100644 --- a/test/psych/test_tainted.rb +++ b/test/psych/test_tainted.rb @@ -121,7 +121,7 @@ module Psych t.binmode t.write string t.close - File.open(t.path) { |f| + File.open(t.path, 'r:bom|utf-8') { |f| @parser.parse f } t.close(true) |