diff options
Diffstat (limited to 'test/csv/test_encodings.rb')
-rw-r--r-- | test/csv/test_encodings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csv/test_encodings.rb b/test/csv/test_encodings.rb index cd63af6a83..ea686cb27b 100644 --- a/test/csv/test_encodings.rb +++ b/test/csv/test_encodings.rb @@ -83,7 +83,7 @@ class TestCSVEncodings < Test::Unit::TestCase no_warnings do Encoding.default_external = encoding end - result = CSV.read(@temp_csv_path)[0][0] + result = CSV.read(@temp_csv_path, "rb")[0][0] ensure no_warnings do Encoding.default_external = default_external |