1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Cédric Boutillier <boutil@debian.org>
Date: Fri, 8 Jul 2016 16:34:36 +0200
Subject: Set default external encoding to UTF-8
Forwarded: https://github.com/infused/dbf/pull/77
Last-Update: 2016-07-08
---
spec/spec_helper.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index d30f00d..b2bcdbf 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -4,6 +4,8 @@ begin
rescue LoadError
end
+Encoding.default_external = "UTF-8"
+
require 'dbf'
require 'yaml'
require 'rspec'
|